AliPhysics  64f4410 (64f4410)
AliReducedMatchedTrack.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 #include <TVector3.h>
16 #include "AliReducedMatchedTrack.h"
17 
21 
22 namespace HighPtTracks {
23 
28  TObject(),
29  fPx(0),
30  fPy(0),
31  fPz(0),
32  fNclustersTPC(0),
33  fGoodTrackLabel(false),
34  fTrackCuts(0)
35 {
36 }
37 
45 AliReducedMatchedTrack::AliReducedMatchedTrack(double px, double py, double pz):
46  TObject(),
47  fPx(px),
48  fPy(py),
49  fPz(pz),
50  fNclustersTPC(0),
51  fGoodTrackLabel(false),
52  fTrackCuts(0)
53 {
54 }
55 
62  TVector3 pvec(fPx, fPy, fPz);
63  return pvec.Pt();
64 }
65 
72  TVector3 pvec(fPx, fPy, fPz);
73  return pvec.Eta();
74 }
75 
82  TVector3 pvec(fPx, fPy, fPz);
83  return pvec.Phi();
84 }
85 
92  vec.SetXYZ(fPx, fPy, fPz);
93 }
94 
95 } /* namespace EMCalTriggerPtAnalysis */
bool fGoodTrackLabel
Flag for tracks with positive track label.
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
Namespace for classes creating trees of events with jets.
double fPy
y-component of the 3-momentum
Definition of class AliReducedTrack, a structure with reduced track information at reconstruction lev...
double fPz
z-component of the 3-momentum
Class with reduced track information at reconstruction level.