REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
|
RESTSoft : Software for Rare Event Searches with TPCs TRestTrack.h Event class to store signals form simulation and acquisition events oct 2015: First concept Created as part of the conceptualization of existing REST software. Javier Gracia
Definition at line 28 of file TRestTrack.h.
#include <TRestTrack.h>
Public Member Functions | |
void | GetBoundaries (TVector3 &orig, TVector3 &end) |
This function retreive the origin and the end of a single track based on the most energetic hit. The origin is defined as the further hit deposition edge to the most energetic hit, while the track end is defined as the closest edge to the most energetic hit. The hits are expected to be ordered following the minimum path. More... | |
Double_t | GetEnergy () const |
TRestHits * | GetHits () |
Double_t | GetLength (Bool_t update=true) |
Double_t | GetMaximumDistance () const |
Double_t | GetMaximumDistance2 () const |
TVector3 | GetMeanPosition () const |
Int_t | GetNumberOfHits () |
Int_t | GetParentID () const |
Double_t | GetTrackEnergy () const |
Int_t | GetTrackID () const |
Double_t | GetTrackLength (Bool_t update=true) |
Double_t | GetVolume () const |
TRestVolumeHits * | GetVolumeHits () |
void | Initialize () |
Bool_t | isXY () |
Bool_t | isXYZ () |
Bool_t | isXZ () |
Bool_t | isYZ () |
void | PrintTrack (Bool_t fullInfo=true) |
void | RemoveVolumeHits () |
void | SetParentID (Int_t pID) |
void | SetTrackID (Int_t sID) |
void | SetVolumeHits (TRestVolumeHits hits) |
Protected Attributes | |
Int_t | fParentID |
Parent ID. More... | |
Double_t | fTrackEnergy |
Total energy of the track. More... | |
Int_t | fTrackID |
Track ID. More... | |
Double_t | fTrackLength |
Total length of the track. More... | |
TRestVolumeHits | fVolumeHits |
Hit volumes that define a track. More... | |
TRestTrack::TRestTrack | ( | ) |
Definition at line 25 of file TRestTrack.cxx.
TRestTrack::~TRestTrack | ( | ) |
Definition at line 29 of file TRestTrack.cxx.
void TRestTrack::GetBoundaries | ( | TVector3 & | orig, |
TVector3 & | end | ||
) |
This function retreive the origin and the end of a single track based on the most energetic hit. The origin is defined as the further hit deposition edge to the most energetic hit, while the track end is defined as the closest edge to the most energetic hit. The hits are expected to be ordered following the minimum path.
Definition at line 60 of file TRestTrack.cxx.
|
inline |
Definition at line 56 of file TRestTrack.h.
|
inline |
Definition at line 72 of file TRestTrack.h.
|
inline |
Definition at line 59 of file TRestTrack.h.
|
inline |
Definition at line 65 of file TRestTrack.h.
|
inline |
Definition at line 66 of file TRestTrack.h.
|
inline |
Definition at line 69 of file TRestTrack.h.
|
inline |
Definition at line 73 of file TRestTrack.h.
|
inline |
Definition at line 55 of file TRestTrack.h.
|
inline |
Definition at line 57 of file TRestTrack.h.
|
inline |
Definition at line 54 of file TRestTrack.h.
|
inline |
Definition at line 60 of file TRestTrack.h.
|
inline |
Definition at line 67 of file TRestTrack.h.
|
inline |
Definition at line 71 of file TRestTrack.h.
void TRestTrack::Initialize | ( | ) |
Definition at line 33 of file TRestTrack.cxx.
|
inline |
Definition at line 48 of file TRestTrack.h.
|
inline |
Definition at line 51 of file TRestTrack.h.
|
inline |
Definition at line 49 of file TRestTrack.h.
|
inline |
Definition at line 50 of file TRestTrack.h.
void TRestTrack::PrintTrack | ( | Bool_t | fullInfo = true | ) |
Definition at line 90 of file TRestTrack.cxx.
void TRestTrack::RemoveVolumeHits | ( | ) |
Definition at line 47 of file TRestTrack.cxx.
|
inline |
Definition at line 43 of file TRestTrack.h.
|
inline |
Definition at line 42 of file TRestTrack.h.
void TRestTrack::SetVolumeHits | ( | TRestVolumeHits | hits | ) |
Definition at line 41 of file TRestTrack.cxx.
|
protected |
Parent ID.
Definition at line 31 of file TRestTrack.h.
|
protected |
Total energy of the track.
Definition at line 32 of file TRestTrack.h.
|
protected |
Track ID.
Definition at line 30 of file TRestTrack.h.
|
protected |
Total length of the track.
Definition at line 33 of file TRestTrack.h.
|
protected |
Hit volumes that define a track.
Definition at line 36 of file TRestTrack.h.