AliPhysics  v5-06-40-01 (42bb456)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliReducedReconstructedTrack.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 <TArrayI.h>
16 #include <TList.h>
17 #include <TVector3.h>
18 
20 
24 
25 namespace HighPtTracks {
26 
30 AliReducedReconstructedTrack::AliReducedReconstructedTrack() :
31  TObject(),
32  fCharge(0),
33  fTrackCutsMap(0),
34  fClusterIndex(-1),
35  fParticleIndex(-1),
36  fGoodMCTrack(kFALSE),
37  fClustersTPC(0),
38  fCrossedRowsTPC(0),
39  fSharedClustersTPC(0),
40  fFindableClustersTPC(0)
41 {
42  memset(fPVec, 0, sizeof(Double_t)*3);
43 }
44 
49 }
50 
56  pvec.SetXYZ(fPVec[0], fPVec[1], fPVec[2]);
57 }
63  TVector3 pvec;
64  FillMomentumVector(pvec);
65  return pvec.Pt();
66 }
67 
73  TVector3 pvec;
74  FillMomentumVector(pvec);
75  return pvec.Eta();
76 }
77 
83  TVector3 pvec;
84  FillMomentumVector(pvec);
85  return pvec.Phi();
86 }
87 
88 } /* namespace HighPtTracks */
89 
90 
ClassImp(AliAnalysisTaskTriggerRates) AliAnalysisTaskTriggerRates
Double_t fPVec[3]
Momentum vector of the particle.
Structure for reconstructed track information.