Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -40,37 +40,23 @@
|
||||
enum TrackStatus
|
||||
{
|
||||
undefined = 0,
|
||||
left = 1,
|
||||
right = 2,
|
||||
defined = 3,
|
||||
EscapedFromSide = 4,
|
||||
EscapedFromReadOut = 8,
|
||||
ReflectedAtMirror = 16,
|
||||
ReflectedAtReadOut = 32,
|
||||
murderee = 64,
|
||||
InsideOfFiber = 128,
|
||||
OutsideOfFiber = 256
|
||||
left = 1, // track is going -z
|
||||
right = 2, // track is going +z
|
||||
defined = 3, // left or right flag is on (Can't be Set)
|
||||
EscapedFromSide = 4, // photon escaped through the side of the fiber
|
||||
EscapedFromReadOut = 8, // photon escaped through read-out end of the fiber
|
||||
ReflectedAtMirror = 16, // photon has been reflected by mirror at far end
|
||||
ReflectedAtReadOut = 32, // photon has been reflected at the read-out end
|
||||
murderee = 64, // photon is artificially killed
|
||||
InsideOfFiber = 128, // Flag is on if the photon is inside of fiber
|
||||
OutsideOfFiber = 256 // Flag is on if the photon is outside of fiber
|
||||
};
|
||||
|
||||
/*TrackStatus:
|
||||
undefined:
|
||||
left: track is going -z
|
||||
right: track is going +z
|
||||
defined: left or right flag is on (Can't be Set)
|
||||
EscapedFromSide: photon escaped through the side of the fiber
|
||||
EscapedFromReadOut: photon escaped through the read-out end of the fiber
|
||||
ReflectedAtMirror: photon has been reflected by the mirror at far end
|
||||
ReflectedAtReadOut: photon has been reflected at the read-out end
|
||||
murderee photon is artificially killed
|
||||
InsideOfFiber Flag is on if the photon is inside of fiber
|
||||
OutsideOfFiber Flag is on if the photon is outside of fiber
|
||||
*/
|
||||
|
||||
class WLSUserTrackInformation : public G4VUserTrackInformation
|
||||
{
|
||||
public:
|
||||
WLSUserTrackInformation();
|
||||
~WLSUserTrackInformation();
|
||||
WLSUserTrackInformation() = default;
|
||||
~WLSUserTrackInformation() override = default;
|
||||
|
||||
const G4ThreeVector& GetExitPosition() const { return fExitPosition; }
|
||||
void SetExitPosition(const G4ThreeVector& pos) { fExitPosition = pos; }
|
||||
@@ -87,7 +73,7 @@ class WLSUserTrackInformation : public G4VUserTrackInformation
|
||||
}
|
||||
|
||||
private:
|
||||
G4int fStatus;
|
||||
G4int fStatus = undefined;
|
||||
G4ThreeVector fExitPosition;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user