GGS(GenericGEANT4Simulation)Software
2.6.0
|
Class to store G4 position hits. More...
#include <GGSTHits.h>
Public Member Functions | |
GGSTPosHit () | |
Constructor. | |
const GGSTPosHit & | operator= (const GGSTPosHit &) |
Assignment operator. | |
void | Clear (Option_t *) |
Resets data members. More... | |
virtual void | UserConversion (const GGSPosHit &posHit) |
Hook for user-defined conversion. More... | |
Data Fields | |
Float_t | eDep |
Total deposited energy. | |
Float_t | time |
Time of the hit. | |
Float_t | pathLength |
Path length of the hit. | |
Float_t | startPoint [3] |
Start point. | |
Float_t | endPoint [3] |
End point. | |
Float_t | startMomentum [3] |
Start momentum. | |
Float_t | startEnergy |
Start kinetic energy. | |
Class to store G4 position hits.
This class is used to write on ROOT files the informations stored in GGSPosHit. It inherits form TObject and has data members corresponding to those of GGSPosHit.
Definition at line 34 of file GGSTHits.h.
void GGSTPosHit::Clear | ( | Option_t * | ) |
Resets data members.
This function has an unused Option_t argument so that a TClonesArray of GGSTPrimaryParticle can call this method when clearing the objects it contains (eg., when TClonesArray::Clear("C") is called).
Definition at line 31 of file GGSTHits.cpp.
|
inlinevirtual |
Hook for user-defined conversion.
Derived classes can override this method to perform custom conversion of the simulation data stored in posHit.
intHit | Reference to the position hit object. It might refer to a class derived from GGSPosHit if that's what's actually in use. |
Definition at line 67 of file GGSTHits.h.