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