10 #ifndef ActarSimPlaGeantHit_h 11 #define ActarSimPlaGeantHit_h 1 14 #include "G4THitsCollection.hh" 15 #include "G4Allocator.hh" 16 #include "G4ThreeVector.hh" 51 inline void*
operator new(size_t);
52 inline void operator delete(
void*);
62 void SetPos(G4ThreeVector xyz){ pos = xyz; }
72 void SetToF(G4double Time){ toF = Time; }
109 inline void* ActarSimPlaGeantHit::operator
new(size_t) {
115 inline void ActarSimPlaGeantHit::operator
delete(
void *aHit) {
G4ThreeVector GetPrePos()
G4String GetPostDetName()
G4ThreeVector GetLocalPos()
G4THitsCollection< ActarSimPlaGeantHit > ActarSimPlaGeantHitsCollection
void Print()
Prints full information about the calGeantHit.
void SetPrePos(G4ThreeVector xyz)
void SetLocalPrePos(G4ThreeVector xyz)
void SetToF(G4double Time)
G4ThreeVector localPrePos
Local (for the given detName and detID) coordinates of interaction (postStep)
void SetPostDetName(G4String Name)
G4double eBeforePla
Energy before entering plastic.
void SetLocalPos(G4ThreeVector xyz)
G4ThreeVector pos
PostStep position of the step.
void SetDetName(G4String Name)
void SetEBeforeSil(G4double eb)
void SetPos(G4ThreeVector xyz)
G4String detName
Name of the volume where the interaction takes place.
G4Allocator< ActarSimPlaGeantHit > ActarSimPlaGeantHitAllocator
G4ThreeVector localPos
Local (for the given detName and detID) coordinates of interaction (postStep)
G4ThreeVector prePos
PreStep position of the step.
void SetEdep(G4double de)
G4double GetParticleMass()
G4int detID
ID (copy) of the detector where the interaction takes place.
G4double particleCharge
Particle charge.
void SetParentID(G4int id)
void SetParticleID(G4int ID)
const ActarSimPlaGeantHit & operator=(const ActarSimPlaGeantHit &)
Operator =.
ActarSimPlaGeantHit()
Constructor.
void Draw()
Draws the Hit. A clear red point on the Hit position.
G4double toF
ToF of the interaction (postStep)
~ActarSimPlaGeantHit()
Destructor.
G4double particleMass
Particle mass.
G4int operator==(const ActarSimPlaGeantHit &) const
Operator ==.
void SetEAfterSil(G4double ea)
G4int particleID
Particle ID.
G4String preDetName
Name of the volume at the following step.
void SetParticleMass(G4double mass)
G4String postDetName
Name of the volume at the previous step.
G4double edep
Energy deposited in the step.
void SetPreDetName(G4String Name)
G4ThreeVector GetLocalPrePos()
void SetParticleCharge(G4double charge)
void SetTrackID(G4int track)
G4double GetParticleCharge()
G4double eAfterPla
Energy when exiting plastic.