HighLAND
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
AnaTrack Class Reference

Representation of a global track. More...

#include <DataClasses.hxx>

Inheritance diagram for AnaTrack:
AnaTrackB AnaParticleE AnaParticleMomB AnaParticleB AnaParticleMomE AnaRecObjectC AnaTrackIO

Public Member Functions

virtual AnaTrackClone ()
 Clone this object.
 
virtual void Print () const
 Dump the object to screen.
 
- Public Member Functions inherited from AnaTrackB
const AnaTrackBGetOriginalTrack () const
 Return a casted version of the original AnaParticleB associated.
 
- Public Member Functions inherited from AnaParticleB
AnaTrueParticleBGetTrueParticle () const
 Return a casted version of the AnaTrueObject associated.
 
- Public Member Functions inherited from AnaRecObjectC
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.
 
- Public Attributes inherited from AnaTrackB
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.
 
AnaTPCParticleBTPCSegments [NMAXTPCS]
 The TPC segments that contributed to this global track.
 
int nTPCSegments
 How many TPC tracks are associated with this track.
 
AnaFGDParticleBFGDSegments [NMAXFGDS]
 The FGD segments that contributed to this global track.
 
int nFGDSegments
 How many FGD tracks are associated with this track.
 
AnaECALParticleBECALSegments [NMAXECALS]
 The ECAL segments that contributed to this global track.
 
int nECALSegments
 How many ECAL tracks are associated with this track.
 
AnaSMRDParticleBSMRDSegments [NMAXSMRDS]
 The SMRD segments that contributed to this global track.
 
int nSMRDSegments
 How many SMRD tracks are associated with this track.
 
AnaP0DParticleBP0DSegments [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
 
- Public Attributes inherited from AnaParticleB
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 AnaParticleBOriginal
 
- Public Attributes inherited from AnaRecObjectC
Int_t UniqueID
 The UniqueID of this reconstructed object.
 
Int_t Status
 The Status of the fit of this reconstructed object.
 
AnaTrueObjectCTrueObject
 The link to the true oject that most likely generated this reconstructed object.
 
unsigned long Detector
 
- Public Attributes inherited from AnaParticleMomE
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.
 
- Public Attributes inherited from AnaParticleE
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]
 
AnaVertexBReconVertex
 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.
 
- Protected Member Functions inherited from AnaTrackB
 AnaTrackB (const AnaTrackB &track)
 Copy constructor is protected, as Clone() should be used to copy this object.
 
- Protected Member Functions inherited from AnaParticleMomB
 AnaParticleMomB (const AnaParticleMomB &part)
 Copy constructor is protected, as Clone() should be used to copy this object.
 
- Protected Member Functions inherited from AnaParticleB
 AnaParticleB (const AnaParticleB &part)
 Copy constructor is protected, as Clone() should be used to copy this object.
 
- Protected Member Functions inherited from AnaRecObjectC
 AnaRecObjectC (const AnaRecObjectC &recObj)
 Copy constructor is protected, as Clone() should be used to copy this object.
 
- Protected Member Functions inherited from AnaParticleMomE
 AnaParticleMomE (const AnaParticleMomE &part)
 Copy constructor is protected, as Clone() should be used to copy this object.
 
- Protected Member Functions inherited from AnaParticleE
 AnaParticleE (const AnaParticleE &track)
 Copy constructor is protected, as Clone() should be used to copy this object.
 

Additional Inherited Members

- Static Public Member Functions inherited from AnaParticleMomB
static bool CompareMomentum (const AnaParticleMomB *t1, const AnaParticleMomB *t2)
 Function used to sort momentum in decreasing order.
 
- Static Public Member Functions inherited from AnaParticleB
static bool CompareNHits (const AnaParticleB *t1, const AnaParticleB *t2)
 Compare the NHits of two particles. Return whether t1 is higher NHts than t2.
 

Detailed Description

Representation of a global track.

Definition at line 571 of file DataClasses.hxx.

Member Data Documentation

§ Detectors

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.


The documentation for this class was generated from the following files: