AliPhysics  aaf9c62 (aaf9c62)
AliESDtools.h
Go to the documentation of this file.
1 #ifndef ALIESDTOOLS_H
2 #define ALESDTOOLS_H
3 
4 
5 class AliESDtools : public TNamed
6 {
7  public:
8  AliESDtools();
9  void Init(TTree* tree);
13  void TPCVertexFit(TH1F *hisVertex);
14  Int_t GetNearestTrack(const AliExternalTrackParam * trackMatch, Int_t indexSkip, AliESDEvent*event, Int_t trackType, Int_t paramType, AliExternalTrackParam & paramNearest);
15  void ProcessITSTPCmatchOut(AliESDEvent *const esdEvent, AliESDfriend *const esdFriend, TTreeStream *pcstream);
16  // static functions for querying in TTree formula
18  static Double_t GetTrackCounters(Int_t index, Int_t toolIndex){return (*fgInstance->fCacheTrackCounters)[index];}
19  static Double_t GetTrackTPCCountersZ(Int_t index, Int_t toolIndex){return (*fgInstance->fCacheTrackTPCCountersZ)[index];}
20  static Double_t GetTrackdEdxRatio(Int_t index, Int_t toolIndex){return (*fgInstance->fCacheTrackdEdxRatio)[index];}
21  static Double_t GetTrackNcl(Int_t index, Int_t toolIndex){return (*fgInstance->fCacheTrackNcl)[index];}
22  static Double_t GetTrackChi2(Int_t index, Int_t toolIndex){return (*fgInstance->fCacheTrackChi2)[index];}
23  static Double_t GetTrackMatchEff(Int_t index, Int_t toolIndex){return (*fgInstance->fCacheTrackMatchEff)[index];}
26  //
35  TH1F * fHistPhiTPCcounterA; // helper histogram phi counteres
36  TH1F * fHistPhiTPCcounterC; // helper histogram phi counters
37  TH1F * fHistPhiTPCcounterAITS; // helper histogram phi counters
38  TH1F * fHistPhiTPCcounterCITS; // helper histogram phi counters
39  TH1F * fHistPhiITScounterA; // helper histogram phi counters
40  TH1F * fHistPhiITScounterC; // helper histogram phi counters
41  TVectorF * fCacheTrackCounters; // track counter
42  TVectorF * fCacheTrackTPCCountersZ; // track counter with DCA z cut
43  TVectorF * fCacheTrackdEdxRatio; // dedx info counter
44  TVectorF * fCacheTrackNcl; // ncl counter
45  TVectorF * fCacheTrackChi2; // chi2 counter
46  TVectorF * fCacheTrackMatchEff; // matchEff counter
47  TGraph * fLumiGraph; // graph for the interaction rate info for a run
48  //
50  ClassDef(AliESDtools, 1)
51 };
52 
53 #endif
TH1F * fHistPhiTPCcounterA
Definition: AliESDtools.h:35
static Double_t GetTrackTPCCountersZ(Int_t index, Int_t toolIndex)
Definition: AliESDtools.h:19
TH1F * fHistPhiITScounterC
Definition: AliESDtools.h:40
double Double_t
Definition: External.C:58
TVectorF * fCacheTrackMatchEff
Definition: AliESDtools.h:46
static Double_t GetMeanHisTPCVertexA()
Definition: AliESDtools.h:24
TVectorF * fCacheTrackTPCCountersZ
Definition: AliESDtools.h:42
TVectorF * fCacheTrackChi2
Definition: AliESDtools.h:45
static AliESDtools * fgInstance
Definition: AliESDtools.h:49
static Double_t GetTrackMatchEff(Int_t index, Int_t toolIndex)
Definition: AliESDtools.h:23
TH1F * fHistPhiTPCcounterCITS
Definition: AliESDtools.h:38
Int_t GetNearestTrack(const AliExternalTrackParam *trackMatch, Int_t indexSkip, AliESDEvent *event, Int_t trackType, Int_t paramType, AliExternalTrackParam &paramNearest)
TH1F * fHisTPCVertexC
Definition: AliESDtools.h:31
static Int_t SCalculateEventVariables(Int_t entry)
Definition: AliESDtools.h:17
TH1F * fHisTPCVertexCCut
Definition: AliESDtools.h:34
void Init(TTree *tree)
Definition: AliESDtools.cxx:90
void TPCVertexFit(TH1F *hisVertex)
int Int_t
Definition: External.C:63
TH1F * fHistPhiTPCcounterC
Definition: AliESDtools.h:36
TH1F * fHistPhiTPCcounterAITS
Definition: AliESDtools.h:37
static Double_t GetTrackCounters(Int_t index, Int_t toolIndex)
Definition: AliESDtools.h:18
static Double_t GetMeanHisTPCVertexC()
Definition: AliESDtools.h:25
Int_t CalculateEventVariables()
static Double_t GetTrackNcl(Int_t index, Int_t toolIndex)
Definition: AliESDtools.h:21
TH1F * fHisTPCVertexACut
Definition: AliESDtools.h:33
TTree * fESDtree
Definition: AliESDtools.h:28
Int_t fVerbose
Definition: AliESDtools.h:27
TH1F * fHisTPCVertexA
Definition: AliESDtools.h:30
TH1F * fHistPhiITScounterA
Definition: AliESDtools.h:39
static Double_t GetTrackdEdxRatio(Int_t index, Int_t toolIndex)
Definition: AliESDtools.h:20
void ProcessITSTPCmatchOut(AliESDEvent *const esdEvent, AliESDfriend *const esdFriend, TTreeStream *pcstream)
TVectorF * fCacheTrackNcl
Definition: AliESDtools.h:44
TGraph * fLumiGraph
Definition: AliESDtools.h:47
Int_t CacheTPCEventInformation()
caching
static Double_t GetTrackChi2(Int_t index, Int_t toolIndex)
Definition: AliESDtools.h:22
TH1F * fHisTPCVertex
Definition: AliESDtools.h:32
AliESDEvent * fEvent
Definition: AliESDtools.h:29
TVectorF * fCacheTrackdEdxRatio
Definition: AliESDtools.h:43
TVectorF * fCacheTrackCounters
Definition: AliESDtools.h:41