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