AliPhysics  7f2a7c4 (7f2a7c4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliReducedMatchedTrack.h
Go to the documentation of this file.
1 
9 #ifndef ALIREDUCEDMATCHEDTRACK_H
10 #define ALIREDUCEDMATCHEDTRACK_H
11 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
12  * See cxx source for full Copyright notice */
13 
14 #include <TObject.h>
15 
16 class TVector3;
17 
32 namespace HighPtTracks {
33 
44 public:
52  };
54  AliReducedMatchedTrack(double px, double py, double pz);
56 
57  double Pt() const;
58  double Eta() const;
59  double Phi() const;
60  void FillVector(TVector3 &vec);
61 
69  void SetPxPyPz(double px, double py, double pz){
70  fPx = px;
71  fPy = py;
72  fPz = pz;
73  }
74 
80  void SetNumberOfClustersTPC(unsigned char ncls) { fNclustersTPC = ncls; }
81 
87  void SetGoodTrackLabel(bool goodtrack) { fGoodTrackLabel = goodtrack; }
88 
94  void SetSurvivedTrackCuts(ETrackCutsType_t cuts) { SETBIT(fTrackCuts, cuts); }
95 
101  unsigned char GetNumberOfClustersTPC() const { return fNclustersTPC; }
102 
110 
118  bool HasSurvivedTrackCuts(ETrackCutsType_t cuts) { return TESTBIT(fTrackCuts, cuts); }
119 
120 private:
121  double fPx;
122  double fPy;
123  double fPz;
125  unsigned char fNclustersTPC;
126  unsigned int fTrackCuts;
127 
129  ClassDef(AliReducedMatchedTrack, 1);
131 };
132 
133 } /* namespace EMCalTriggerPtAnalysis */
134 
135 #endif /* ALIREDUCEDMATCHEDTRACK_H */
ETrackCutsType_t
Type of track cuts applied in the track selection.
bool fGoodTrackLabel
Flag for tracks with positive track label.
bool HasSurvivedTrackCuts(ETrackCutsType_t cuts)
void SetSurvivedTrackCuts(ETrackCutsType_t cuts)
unsigned char fNclustersTPC
Number of clusters in the TPC.
double fPx
x-component of the 3-momentum
unsigned int fTrackCuts
bitmap for track selection bits
void SetPxPyPz(double px, double py, double pz)
double fPy
y-component of the 3-momentum
void SetNumberOfClustersTPC(unsigned char ncls)
double fPz
z-component of the 3-momentum
Class with reduced track information at reconstruction level.