AliPhysics  59e0e03 (59e0e03)
AliAnalysisTaskPIDflowQA.h
Go to the documentation of this file.
1 //Class to extract data to do ITS+TPC global Spectra
2 //Autor Marek Chojnacki, Marek.Chojnacki@cern.ch
3 //modified Mikolaj Krzewicki, Mikolaj.Krzewicki@cern.ch
4 
5 #ifndef ALIANALYSISFLOWPIDTASK_H
6 #define ALIANALYSISFLOWPIDTASK_H
7 class TH2F;
8 class TH1F;
9 class TProfile;
10 class AliESDEvent;
11 class AliESDtrack;
12 class AliESDpid;
13 class AliFlowEventCuts;
14 class AliFlowTrackCuts;
15 #include "AliAnalysisTaskSE.h"
16 #include "AliESDpid.h"
17 
19 public:
21  AliAnalysisTaskPIDflowQA(const char *name);
23 
24  virtual void UserCreateOutputObjects();
25  virtual void UserExec(Option_t *option);
26  virtual void Terminate(Option_t *);
27 
29  void SetTrackCuts(AliFlowTrackCuts* cuts ){fCuts=cuts;}
31  AliESDpid* GetESDpid() const {return fESDpid;}
33  Bool_t TPCTOFagree(const AliESDtrack *track);
34 
36 
37 private:
41  AliESDpid *fESDpid; //pid object
42  Bool_t fUseDebugFile; //write debug file
43  FILE* fFile; //debug output file
44 
49 
53 
59 
65 
71 
77 
83 
89 
91  TProfile* fMeanPvsP;
95 
100 
105 
110 
115 
120 
125 
134 
136 
137  AliAnalysisTaskPIDflowQA(const AliAnalysisTaskPIDflowQA&); // not implemented
138  AliAnalysisTaskPIDflowQA& operator=(const AliAnalysisTaskPIDflowQA&); // not implemented
139 
140  void PidTPC(AliESDtrack* t, Int_t pdgcode);
141  void PidTOF(AliESDtrack* t, Int_t pdgcode);
142 
143  ClassDef( AliAnalysisTaskPIDflowQA, 4); // example of analysis
144 };
145 
146 #endif
void SetUseDebugFile(Bool_t b=kTRUE)
AliFlowTrackCuts * fCutsTOFbetaSimpleKaons
AliFlowTrackCuts * fCutsTOFbetaPions
TProfile * fMeanPvsP
P vs Pt yield.
Definition: External.C:236
AliFlowTrackCuts * fCutsTPCbayesianPions
AliFlowTrackCuts * fCutsTPCdedxProtons
TH2F * fTPCsignalP
TPC PID signal as function of p for K+.
AliFlowTrackCuts * fCutsTPCbayesianProtons
AliFlowTrackCuts * fCutsTOFbetaProtons
void SetEventCuts(AliFlowEventCuts *c)
TCanvas * c
Definition: TestFitELoss.C:172
AliFlowTrackCuts * fCutsTPCbayesianKaons
void PidTOF(AliESDtrack *t, Int_t pdgcode)
AliFlowTrackCuts * fCutsTOFbetaKaons
AliFlowTrackCuts * fCutsMCprimarykaons
AliFlowTrackCuts * fStandardGlobalCuts
correlation tpc only tracks vs global tracks
AliFlowTrackCuts * fCutsTOFbetaSimpleElectrons
void SetTrackCuts(AliFlowTrackCuts *cuts)
AliFlowTrackCuts * fCutsTOFbetaElectrons
cuts
AliFlowTrackCuts * fCutsTOFbayesianKaons
int Int_t
Definition: External.C:63
AliFlowTrackCuts * fCutsMCprimaryprotons
float Float_t
Definition: External.C:68
AliFlowTrackCuts * GetAliESDtrackCuts() const
TH2F * fTPCsignalPmc
TPC PID signal as function of p for K+.
virtual void UserExec(Option_t *option)
AliFlowTrackCuts * fCutsTPCpidElectrons
Bool_t TPCTOFagree(const AliESDtrack *track)
void PidTPC(AliESDtrack *t, Int_t pdgcode)
AliAnalysisTaskPIDflowQA & operator=(const AliAnalysisTaskPIDflowQA &)
AliFlowTrackCuts * fCutsMCprimarypions
AliFlowTrackCuts * fCuts
ESD object.
AliFlowTrackCuts * fCutsTOFbayesianPions
AliFlowTrackCuts * fStandardTPCCuts
cuts
Float_t Beta(Float_t m, Float_t p)
TH2F * fTPCvsGlobalMult
mean p per bin
AliFlowTrackCuts * fCutsTPCdedxElectrons
virtual void Terminate(Option_t *)
AliFlowTrackCuts * fCutsMCprimaryelectrons
AliFlowTrackCuts * fCutsTOFbayesianProtons
TH2F * fTPCsignalPimc
TPC PID signal as function of p for p.
const char Option_t
Definition: External.C:48
TH2F * fTPCsignalPi
TPC signal as function of p.
TH2F * fTOFtime
TPC PID signal as function of p for p.
bool Bool_t
Definition: External.C:53
AliFlowTrackCuts * fCutsTOFbayesianElectrons
AliFlowTrackCuts * fCutsTPCbayesianElectrons
TH2F * fTPCsignalK
TPC PID signal as function of p for pi+.
AliFlowTrackCuts * fCutsTOFbetaSimpleProtons
AliFlowTrackCuts * fCutsTOFbetaSimplePions
TH2F * fTPCsignalKmc
TPC PID signal as function of p for pi+.