|
REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
|
Definition at line 31 of file TRestGeant4Track.h.
Public Member Functions | |
| void | AddSecondaryTrackID (Int_t trackID) |
| Bool_t | ContainsProcess (const TString &processName) const |
| Bool_t | ContainsProcess (Int_t processID) const |
| Bool_t | ContainsProcessInVolume (const TString &processName, Int_t volumeID=-1) const |
| Bool_t | ContainsProcessInVolume (Int_t processID, Int_t volumeID=-1) const |
| std::vector< const TRestGeant4Track * > | GetChildrenTracks () const |
| TString | GetCreatorProcess () const |
| Double_t | GetEnergyInVolume (const TString &volumeName, bool children=false) const |
| Double_t | GetEnergyInVolume (Int_t volID) const |
| const TRestGeant4Event * | GetEvent () const |
| TString | GetFinalVolume () const |
| TVector3 | GetFirstPositionInVolume (Int_t volID) const |
| const TRestGeant4Metadata * | GetGeant4Metadata () const |
| Double_t | GetGlobalTime () const |
| const TRestGeant4Hits & | GetHits () const |
| TRestGeant4Hits * | GetHitsPointer () |
| Double_t | GetInitialKineticEnergy () const |
| TVector3 | GetInitialPosition () const |
| TString | GetInitialVolume () const |
| TVector3 | GetLastPositionInVolume (Int_t volID) const |
| TString | GetLastProcessName () const |
| Double_t | GetLength () const |
| TVector3 | GetMeanPositionInVolume (Int_t volID) const |
| size_t | GetNumberOfHits (Int_t volID=-1) const |
| Function that returns the number of hit depositions found inside the TRestGeant4Track. If a specific volume id is given as argument only the hits of that specific volume will be counted. More... | |
| size_t | GetNumberOfPhysicalHits (Int_t volID=-1) const |
| Function that returns the number of hit depositions found inside the TRestGeant4Track with energy > 0. If a specific volume id is given as argument only the hits of that specific volume will be counted. More... | |
| Int_t | GetParentID () const |
| TRestGeant4Track * | GetParentTrack () const |
| EColor | GetParticleColor () const |
| TString | GetParticleName () const |
| Int_t | GetProcessID (const TString &processName) const |
| TString | GetProcessName (Int_t id) const |
| std::vector< Int_t > | GetSecondaryTrackIDs () const |
| std::vector< const TRestGeant4Track * > | GetSecondaryTracks () const |
| Double_t | GetTimeLength () const |
| Double_t | GetTimeOffset () const |
| Double_t | GetTotalEnergy () const |
| Int_t | GetTrackID () const |
| TVector3 | GetTrackOrigin () const |
| Double_t | GetWeight () const |
| void | InsertStep (const G4Step *) |
| void | PrintTrack (size_t maxHits=0) const |
| Prints the track information. N number of hits to print, 0 = all. More... | |
| void | PrintTrackFilterVolumes (const std::set< std::string > &filterVolumes) const |
| void | RemoveHits () |
| void | SetEvent (TRestGeant4Event *event) |
| void | SetHits (const TRestGeant4Hits &hits) |
| void | SetTimeOffset (const double tOffset) |
| TRestGeant4Track (const G4Track *) | |
| void | UpdateTrack (const G4Track *) |
Protected Attributes | |
| TString | fCreatorProcess |
| TRestGeant4Event * | fEvent = nullptr |
| Double_t | fGlobalTimestamp |
| TRestGeant4Hits | fHits |
| Double_t | fInitialKineticEnergy |
| TVector3 | fInitialPosition |
| Double_t | fLength |
| Int_t | fParentID |
| TString | fParticleName |
| std::vector< Int_t > | fSecondaryTrackIDs |
| Double_t | fTimeLength |
| Double_t | fTimeOffset = 0 |
| Int_t | fTrackID |
| Double_t | fWeight = 1 |
Friends | |
| class | TRestGeant4Event |
|
inline |
Definition at line 73 of file TRestGeant4Track.h.
|
inline |
Definition at line 121 of file TRestGeant4Track.h.
|
inline |
Definition at line 118 of file TRestGeant4Track.h.
| Bool_t TRestGeant4Track::ContainsProcessInVolume | ( | const TString & | processName, |
| Int_t | volumeID = -1 |
||
| ) | const |
Definition at line 229 of file TRestGeant4Track.cxx.
| Bool_t TRestGeant4Track::ContainsProcessInVolume | ( | Int_t | processID, |
| Int_t | volumeID = -1 |
||
| ) | const |
Definition at line 221 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 95 of file TRestGeant4Track.h.
|
inline |
Definition at line 71 of file TRestGeant4Track.h.
| Double_t TRestGeant4Track::GetEnergyInVolume | ( | const TString & | volumeName, |
| bool | children = false |
||
| ) | const |
Definition at line 286 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 103 of file TRestGeant4Track.h.
|
inline |
Definition at line 60 of file TRestGeant4Track.h.
| TString TRestGeant4Track::GetFinalVolume | ( | ) | const |
Definition at line 276 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 107 of file TRestGeant4Track.h.
| const TRestGeant4Metadata * TRestGeant4Track::GetGeant4Metadata | ( | ) | const |
Definition at line 242 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 81 of file TRestGeant4Track.h.
|
inline |
Definition at line 58 of file TRestGeant4Track.h.
|
inline |
Definition at line 59 of file TRestGeant4Track.h.
|
inline |
Definition at line 84 of file TRestGeant4Track.h.
|
inline |
Definition at line 85 of file TRestGeant4Track.h.
| TString TRestGeant4Track::GetInitialVolume | ( | ) | const |
Definition at line 267 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 110 of file TRestGeant4Track.h.
| TString TRestGeant4Track::GetLastProcessName | ( | ) | const |
Definition at line 314 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 88 of file TRestGeant4Track.h.
|
inline |
Definition at line 104 of file TRestGeant4Track.h.
| size_t TRestGeant4Track::GetNumberOfHits | ( | Int_t | volID = -1 | ) | const |
Function that returns the number of hit depositions found inside the TRestGeant4Track. If a specific volume id is given as argument only the hits of that specific volume will be counted.
Definition at line 84 of file TRestGeant4Track.cxx.
| size_t TRestGeant4Track::GetNumberOfPhysicalHits | ( | Int_t | volID = -1 | ) | const |
Function that returns the number of hit depositions found inside the TRestGeant4Track with energy > 0. If a specific volume id is given as argument only the hits of that specific volume will be counted.
Definition at line 100 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 79 of file TRestGeant4Track.h.
| TRestGeant4Track * TRestGeant4Track::GetParentTrack | ( | ) | const |
Definition at line 249 of file TRestGeant4Track.cxx.
| EColor TRestGeant4Track::GetParticleColor | ( | ) | const |
Definition at line 58 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 80 of file TRestGeant4Track.h.
| Int_t TRestGeant4Track::GetProcessID | ( | const TString & | processName | ) | const |
Definition at line 31 of file TRestGeant4Track.cxx.
| TString TRestGeant4Track::GetProcessName | ( | Int_t | id | ) | const |
Definition at line 44 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 93 of file TRestGeant4Track.h.
| vector< const TRestGeant4Track * > TRestGeant4Track::GetSecondaryTracks | ( | ) | const |
Definition at line 256 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 83 of file TRestGeant4Track.h.
|
inline |
Definition at line 82 of file TRestGeant4Track.h.
|
inline |
Definition at line 87 of file TRestGeant4Track.h.
|
inline |
Definition at line 78 of file TRestGeant4Track.h.
|
inline |
Definition at line 99 of file TRestGeant4Track.h.
|
inline |
Definition at line 86 of file TRestGeant4Track.h.
| void TRestGeant4Track::PrintTrack | ( | size_t | maxHits = 0 | ) | const |
Prints the track information. N number of hits to print, 0 = all.
Definition at line 114 of file TRestGeant4Track.cxx.
| void TRestGeant4Track::PrintTrackFilterVolumes | ( | const std::set< std::string > & | filterVolumes | ) | const |
Definition at line 162 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 133 of file TRestGeant4Track.h.
|
inline |
Definition at line 63 of file TRestGeant4Track.h.
|
inline |
Definition at line 64 of file TRestGeant4Track.h.
|
inline |
Definition at line 69 of file TRestGeant4Track.h.
|
friend |
Definition at line 141 of file TRestGeant4Track.h.
|
protected |
Definition at line 40 of file TRestGeant4Track.h.
|
protected |
Definition at line 55 of file TRestGeant4Track.h.
|
protected |
Definition at line 44 of file TRestGeant4Track.h.
|
protected |
Definition at line 38 of file TRestGeant4Track.h.
|
protected |
Definition at line 48 of file TRestGeant4Track.h.
|
protected |
Definition at line 51 of file TRestGeant4Track.h.
|
protected |
Definition at line 49 of file TRestGeant4Track.h.
|
protected |
Definition at line 34 of file TRestGeant4Track.h.
|
protected |
Definition at line 36 of file TRestGeant4Track.h.
|
protected |
Definition at line 42 of file TRestGeant4Track.h.
|
protected |
Definition at line 46 of file TRestGeant4Track.h.
|
protected |
Definition at line 45 of file TRestGeant4Track.h.
|
protected |
Definition at line 33 of file TRestGeant4Track.h.
|
protected |
Definition at line 53 of file TRestGeant4Track.h.