14 #include "TClonesArray.h"
24 template<
class T>
void IGNORE(
const T&) {
57 void Clear(Option_t *);
110 void Clear(Option_t *);
143 TClonesArray *_posHits;
151 #include "montecarlo/dataobjs/GGSTHitVolInfo.h"
182 void Clear(Option_t *);
201 static const TString nullString(
"");
223 static const TString nullString(
"");
247 return _hitVolInfo->
id;
270 TClonesArray *_partHits;
Float_t volumePos[3]
Position of the touchable in world volume coordinates [cm].
GGSTPartHit()
Constructor.
Float_t startMomentum[3]
Start momentum.
Float_t eDep
Total deposited energy.
Int_t id
ID of the volume.
Class for reading output of GGSHitsAction.
Float_t time
Time of the hit.
virtual void UserConversion(const GGSPosHit &posHit)
Hook for user-defined conversion.
const TArrayF & GetTimeBins()
Retrieves the time bins for the hit.
Class to store detector informations.
const Float_t * GetVolumePosition()
Retrieves the position of the volume associated to the hit.
void DumpHit()
Prints members values on standard output.
void Clear(Option_t *)
Resets data members.
GGSTPosHit * GetPosHit(unsigned int iHit)
Get the specified position hit.
Float_t pathLength
Path length of the hit.
Int_t GetVolumeID()
Retrieves the ID of the volume associated to the hit.
Float_t eDep
Deposited energy (transient).
Float_t startEnergy
Start kinetic energy.
Float_t entranceEnergy
Entrance kinetic energy.
Float_t entrancePoint[3]
Entrance point.
Float_t time
Time of the hit.
Float_t pathLength
Path length of the hit.
Class to store G4 particle hits.
Int_t trackID
GEANT4 track ID.
void Clear(Option_t *)
Resets data members.
virtual void UserConversion(const GGSIntHit &intHit)
Hook for user-defined conversion.
Definition of GGS Particle Hit.
Definition of GGS Position Hit.
~GGSTPartHit()
Destructor.
Float_t time
Time of the hit (in ns).
Float_t eDep
Deposited energy.
void Clear(Option_t *)
Resets data members.
const GGSTPosHit & operator=(const GGSTPosHit &)
Assignment operator.
Int_t GetNPartHits()
Gets the number of particle hits.
Class to store G4 position hits.
TArrayF eDepTimeBin
Energy deposit in each time bin.
virtual void UserConversion(const GGSPartHit &partHit)
Hook for user-defined conversion.
Class to store G4 position hits.
const TString & GetDetectorName()
Retrieves the name of the detector associated to the hit.
An action which saves hits in sensitive volumes on ROOT file.
Int_t particlePdg
Particle PDG ID.
TString volumeName
Name of the physical volume.
Definition of GGS Integrated Hit.
const TString & GetVolumeName()
Retrieves the name of the volume associated to the hit.
Float_t startPoint[3]
Start point.
Float_t exitPoint[3]
Exit point.
GGSTHitVolInfo.h GGSTHitVolInfo class declaration.
TString detectorName
Name of detector associated to integrated hits.
Int_t GetNPosHits()
Gets the number of position hits.
Int_t parentID
GEANT4 parent ID.
Float_t entranceMomentum[3]
Entrance momentum.
GGSTPartHit * GetPartHit(unsigned int iHit)
Get the specified particle hit.
Float_t endPoint[3]
End point.