10 #ifndef ActarSimGasGeantHit_h 11 #define ActarSimGasGeantHit_h 1 14 #include "G4THitsCollection.hh" 15 #include "G4Allocator.hh" 16 #include "G4ThreeVector.hh" 44 inline void*
operator new(size_t);
45 inline void operator delete(
void*);
88 inline void* ActarSimGasGeantHit::operator
new(size_t) {
94 inline void ActarSimGasGeantHit::operator
delete(
void *aHit) {
G4double GetParticleCharge()
void SetParentID(G4int track)
const ActarSimGasGeantHit & operator=(const ActarSimGasGeantHit &)
Operator =.
G4ThreeVector postPos
Position after step.
G4ThreeVector GetPostPos()
G4double particleMass
Mass of the particle.
void Print()
Prints full information about the calGeantHit.
void SetStepLength(G4double len)
void SetPostToF(G4double Time)
void Draw()
Draws the Hit. A clear red point on the Hit position.
void SetEdep(G4double de)
G4THitsCollection< ActarSimGasGeantHit > ActarSimGasGeantHitsCollection
G4int operator==(const ActarSimGasGeantHit &) const
Operator ==.
void SetTrackID(G4int track)
G4double particleCharge
Charge of the particle.
G4double postToF
Time after step.
G4int parentID
ID for the parent track.
~ActarSimGasGeantHit()
Destructor.
ActarSimGasGeantHit()
Constructor.
G4ThreeVector GetPrePos()
G4int trackID
ID for each track.
G4Allocator< ActarSimGasGeantHit > ActarSimGasGeantHitAllocator
G4ThreeVector prePos
Position before step.
G4double stepLength
Length of the step.
void SetParticleCharge(G4double pc)
void SetDetName(G4String Name)
void SetPrePos(G4ThreeVector xyz)
void SetStepEnergy(G4double sten)
void SetPostPos(G4ThreeVector xyz)
G4int particleID
Particle ID according to the GDP-coding.
void SetParticleMass(G4double pm)
G4double stepEnergy
Particle energy before step.
void SetParticleID(G4int pi)
void SetPreToF(G4double Time)
G4double GetParticleMass()
G4String detName
Detector name where energy is deposited.
G4double edep
Energy deposited.
G4double preToF
Time before step.