|
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. | |
| 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. | |
| 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 | 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. | |
| void | RemoveHits () |
| void | SetEvent (TRestGeant4Event *event) |
| void | SetHits (const TRestGeant4Hits &hits) |
| 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 |
| Int_t | fTrackID |
| Double_t | fWeight = 1 |
Friends | |
| class | TRestGeant4Event |
|
inline |
Definition at line 70 of file TRestGeant4Track.h.
|
inline |
Definition at line 117 of file TRestGeant4Track.h.
|
inline |
Definition at line 114 of file TRestGeant4Track.h.
| Bool_t TRestGeant4Track::ContainsProcessInVolume | ( | const TString & | processName, |
| Int_t | volumeID = -1 |
||
| ) | const |
Definition at line 168 of file TRestGeant4Track.cxx.
| Bool_t TRestGeant4Track::ContainsProcessInVolume | ( | Int_t | processID, |
| Int_t | volumeID = -1 |
||
| ) | const |
Definition at line 160 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 91 of file TRestGeant4Track.h.
|
inline |
Definition at line 68 of file TRestGeant4Track.h.
| Double_t TRestGeant4Track::GetEnergyInVolume | ( | const TString & | volumeName, |
| bool | children = false |
||
| ) | const |
Definition at line 225 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 99 of file TRestGeant4Track.h.
|
inline |
Definition at line 59 of file TRestGeant4Track.h.
| TString TRestGeant4Track::GetFinalVolume | ( | ) | const |
Definition at line 215 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 103 of file TRestGeant4Track.h.
| const TRestGeant4Metadata * TRestGeant4Track::GetGeant4Metadata | ( | ) | const |
Definition at line 181 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 78 of file TRestGeant4Track.h.
|
inline |
Definition at line 57 of file TRestGeant4Track.h.
|
inline |
Definition at line 58 of file TRestGeant4Track.h.
|
inline |
Definition at line 80 of file TRestGeant4Track.h.
|
inline |
Definition at line 81 of file TRestGeant4Track.h.
| TString TRestGeant4Track::GetInitialVolume | ( | ) | const |
Definition at line 206 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 106 of file TRestGeant4Track.h.
| TString TRestGeant4Track::GetLastProcessName | ( | ) | const |
Definition at line 253 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 84 of file TRestGeant4Track.h.
|
inline |
Definition at line 100 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 76 of file TRestGeant4Track.h.
| TRestGeant4Track * TRestGeant4Track::GetParentTrack | ( | ) | const |
Definition at line 188 of file TRestGeant4Track.cxx.
| EColor TRestGeant4Track::GetParticleColor | ( | ) | const |
Definition at line 58 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 77 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 89 of file TRestGeant4Track.h.
| vector< const TRestGeant4Track * > TRestGeant4Track::GetSecondaryTracks | ( | ) | const |
Definition at line 195 of file TRestGeant4Track.cxx.
|
inline |
Definition at line 79 of file TRestGeant4Track.h.
|
inline |
Definition at line 83 of file TRestGeant4Track.h.
|
inline |
Definition at line 75 of file TRestGeant4Track.h.
|
inline |
Definition at line 95 of file TRestGeant4Track.h.
|
inline |
Definition at line 82 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.
|
inline |
Definition at line 128 of file TRestGeant4Track.h.
|
inline |
Definition at line 62 of file TRestGeant4Track.h.
|
inline |
Definition at line 63 of file TRestGeant4Track.h.
|
friend |
Definition at line 136 of file TRestGeant4Track.h.
|
protected |
Definition at line 40 of file TRestGeant4Track.h.
|
protected |
Definition at line 54 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 47 of file TRestGeant4Track.h.
|
protected |
Definition at line 50 of file TRestGeant4Track.h.
|
protected |
Definition at line 48 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 45 of file TRestGeant4Track.h.
|
protected |
Definition at line 33 of file TRestGeant4Track.h.
|
protected |
Definition at line 52 of file TRestGeant4Track.h.