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 minimim path. | |
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. | |
Double_t | fTrackEnergy |
Total energy of the track. | |
Int_t | fTrackID |
Track ID. | |
Double_t | fTrackLength |
Total length of the track. | |
TRestVolumeHits | fVolumeHits |
Hit volumes that define a track. | |