10 #ifndef ActarSimSciRingGeantHit_h 11 #define ActarSimSciRingGeantHit_h 1 14 #include "G4THitsCollection.hh" 15 #include "G4Allocator.hh" 16 #include "G4ThreeVector.hh" 49 inline void*
operator new(size_t);
50 inline void operator delete(
void*);
58 void SetPos(G4ThreeVector xyz){ pos = xyz; }
68 void SetToF(G4double Time){ toF = Time; }
104 inline void* ActarSimSciRingGeantHit::operator
new(size_t) {
110 inline void ActarSimSciRingGeantHit::operator
delete(
void *aHit) {
G4ThreeVector prePos
Position of the end of the step.
void SetLocalPrePos(G4ThreeVector xyz)
void SetPrePos(G4ThreeVector xyz)
ActarSimSciRingGeantHit()
Constructor. Makes nothing.
G4int particleID
Particle ID.
G4ThreeVector GetLocalPrePos()
void Draw()
Draws the Hit. A clear red point on the Hit position.
G4ThreeVector pos
Position of the start of the step.
G4String preDetName
Name of the volume at the following step.
void SetPos(G4ThreeVector xyz)
G4ThreeVector GetPrePos()
G4int detID
ID (copy) of the detector where the interaction takes place.
G4double edep
Energy deposited in the step.
G4int trackID
TrackID of the particle.
void SetParticleCharge(G4double charge)
void SetPostDetName(G4String Name)
G4THitsCollection< ActarSimSciRingGeantHit > ActarSimSciRingGeantHitsCollection
G4String detName
Name of the volume where the interaction takes place.
void SetDetName(G4String Name)
void Print()
Prints full information about the calGeantHit.
void SetEdep(G4double de)
G4int parentID
Particle parent ID.
G4String postDetName
Name of the volume at the previous step.
void SetLocalPos(G4ThreeVector xyz)
G4ThreeVector localPrePos
Local (for the given detName and detID) coordinates of interaction (postStep)
void SetParticleMass(G4double mass)
void SetPreDetName(G4String Name)
void SetParticleID(G4int ID)
G4Allocator< ActarSimSciRingGeantHit > ActarSimSciRingGeantHitAllocator
G4ThreeVector localPos
LLcal (for the given detName and detID) coordinates of interaction (postStep)
void SetToF(G4double Time)
G4double particleMass
Particle mass.
~ActarSimSciRingGeantHit()
Destructor. Makes nothing.
G4double GetParticleMass()
void SetParentID(G4int id)
G4ThreeVector GetLocalPos()
const ActarSimSciRingGeantHit & operator=(const ActarSimSciRingGeantHit &)
Operator =.
void SetTrackID(G4int track)
G4double toF
ToF of the interaction (postStep)
G4double particleCharge
Particle charge.
G4double GetParticleCharge()
G4String GetPostDetName()
G4int operator==(const ActarSimSciRingGeantHit &) const
Operator ==.