HighLAND
|
Representation of a global track. More...
#include <DataClasses.hxx>
Public Member Functions | |
virtual AnaTrack * | Clone () |
Clone this object. | |
virtual void | Print () const |
Dump the object to screen. | |
![]() | |
const AnaTrackB * | GetOriginalTrack () const |
Return a casted version of the original AnaParticleB associated. | |
![]() | |
AnaTrueParticleB * | GetTrueParticle () const |
Return a casted version of the AnaTrueObject associated. | |
![]() | |
void | Print () const |
Dump the object to screen. | |
Public Attributes | |
Int_t | Detectors |
Float_t | Length |
The length of this global track. | |
std::vector< AnaTrackerTrackB * > | TRACKERSegments |
The TRACKER segments that contributed to this global track. | |
![]() | |
Int_t | Index |
The index of this particle track in the vector of particles. TODO: Not sure it is needed (only use in PID utils) | |
Float_t | RangeMomentumMuon |
Momentum by range calculated with muon hypothesis. | |
Float_t | MomentumFlip |
Momentum for the main PID hypothesis and reverse sense. More... | |
Int_t | TPCQualityCut |
Whether track passes TPC quality cut. | |
AnaToF | ToF |
Times of flight between pairs of detectors. | |
AnaTPCParticleB * | TPCSegments [NMAXTPCS] |
The TPC segments that contributed to this global track. | |
int | nTPCSegments |
How many TPC tracks are associated with this track. | |
AnaFGDParticleB * | FGDSegments [NMAXFGDS] |
The FGD segments that contributed to this global track. | |
int | nFGDSegments |
How many FGD tracks are associated with this track. | |
AnaECALParticleB * | ECALSegments [NMAXECALS] |
The ECAL segments that contributed to this global track. | |
int | nECALSegments |
How many ECAL tracks are associated with this track. | |
AnaSMRDParticleB * | SMRDSegments [NMAXSMRDS] |
The SMRD segments that contributed to this global track. | |
int | nSMRDSegments |
How many SMRD tracks are associated with this track. | |
AnaP0DParticleB * | P0DSegments [NMAXP0DS] |
The P0D segments that contributed to this global track. | |
int | nP0DSegments |
How many P0D tracks are associated with this track. | |
std::vector< AnaTPCParticleB * > | TPCSegmentsVect |
A copy of the segment arrays but using an std::vector, which can be saved into a tree. | |
std::vector< AnaFGDParticleB * > | FGDSegmentsVect |
std::vector< AnaECALParticleB * > | ECALSegmentsVect |
std::vector< AnaSMRDParticleB * > | SMRDSegmentsVect |
std::vector< AnaP0DParticleB * > | P0DSegmentsVect |
![]() | |
Int_t | NHits |
The number of hits in the particle. | |
Int_t | NNodes |
The number of nodes in the reconstructed object. | |
Float_t | DirectionStart [3] |
The reconstructed start direction of the particle. | |
Float_t | DirectionEnd [3] |
The reconstructed end direction of the particle. | |
Float_t | PositionStart [4] |
The reconstructed start position of the particle. | |
Float_t | PositionEnd [4] |
The reconstructed end position of the particle. | |
const AnaParticleB * | Original |
![]() | |
Int_t | UniqueID |
The UniqueID of this reconstructed object. | |
Int_t | Status |
The Status of the fit of this reconstructed object. | |
AnaTrueObjectC * | TrueObject |
The link to the true oject that most likely generated this reconstructed object. | |
unsigned long | Detector |
![]() | |
Float_t | Charge |
The reconstructed charge of the particle. | |
Float_t | Momentum |
The reconstructed momentum of the particle, at the start position. | |
Float_t | MomentumEnd |
The reconstructed momentum of the particle, at the end position. | |
![]() | |
Float_t | MomentumError |
The error on the reconstructed momentum. | |
Int_t | NDOF |
The number of degrees of freedom when the track was fitted with a Kalman filter. | |
Float_t | Chi2 |
The chi2 value when the track was fitted using a Kalman filter. | |
Float_t | MomentumEle |
Momentum from refitting the track assuming the electron hypothesis. | |
Float_t | MomentumErrorEle |
Error on momentum from refitting the track assuming the electron hypothesis. | |
Float_t | MomentumMuon |
Momentum from refitting the track assuming the muon hypothesis. | |
Float_t | MomentumErrorMuon |
Error on momentum from refitting the track assuming the muon hypothesis. | |
Float_t | MomentumProton |
Momentum from refitting the track assuming the proton hypothesis. | |
Float_t | MomentumErrorProton |
Error on momentum from refitting the track assuming the proton hypothesis. | |
Float_t | DirectionStartFlip [3] |
Direction at the start for the main PID hypothesis and reverse sense. | |
Int_t | ReconPDG |
PDG of the most probable particle hypothesis used at reconstruction level. | |
Int_t | Bunch |
The bunch of the track, based on the PositionStart.T() | |
TVector3 | UpstreamHits_Position [2] |
TVector3 | DownstreamHits_Position [2] |
Float_t | UpstreamHits_Charge [2] |
Float_t | DownstreamHits_Charge [2] |
AnaVertexB * | ReconVertex |
The pointer to the most primary AnaVertexB (global vertex) associated with this track. | |
std::vector< AnaVertexB * > | ReconVertices |
Vector of pointers to AnaVertexB (global vertices) associated with this track. | |
Float_t | MomentumAtVertex |
The reconstructed momentum of the track, at the most primary global vertex (if exists). | |
Float_t | DirectionAtVertex [3] |
The reconstructed direction of the track at the most primary global vertex (if exists). | |
Protected Member Functions | |
AnaTrack (const AnaTrack &track) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaTrackB (const AnaTrackB &track) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaParticleMomB (const AnaParticleMomB &part) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaParticleB (const AnaParticleB &part) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaRecObjectC (const AnaRecObjectC &recObj) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaParticleMomE (const AnaParticleMomE &part) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaParticleE (const AnaParticleE &track) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
Additional Inherited Members | |
![]() | |
static bool | CompareMomentum (const AnaParticleMomB *t1, const AnaParticleMomB *t2) |
Function used to sort momentum in decreasing order. | |
![]() | |
static bool | CompareNHits (const AnaParticleB *t1, const AnaParticleB *t2) |
Compare the NHits of two particles. Return whether t1 is higher NHts than t2. | |
Representation of a global track.
Definition at line 571 of file DataClasses.hxx.
Int_t AnaTrack::Detectors |
A different representation of the detectors used by this track.
The systems are numbered as: 1: TPC1 2: TPC2 3: TPC3 4: FGD1 5: FGD2 6: P0D 7: DSECal 8: Any SMRD module 9: Any TECal or PECal module
If this field then has a value of "235", it means the track used TPC2, TPC3 and FGD2. You will have to do some mathematical manipulation to extract the information you want, so it is recommended to just use the DetUsed array instead.
Definition at line 609 of file DataClasses.hxx.