AliPhysics  c0d7b22 (c0d7b22)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskPi0Hadron.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKPI0HADRON_H
2 #define ALIANALYSISTASKPI0HADRON_H
3 
4 // $Id$
5 
6 class TH1;
7 class TH2;
8 class TH3;
9 class THnSparse;
10 class AliVVZERO;
11 
13 
15  public:
17  virtual ~AliAnalysisTaskPi0Hadron();
18 
20 
21  //Set things for the analyis
22  void SetCellEnergyCut(Float_t cut) { fCellEnergyCut = cut ; }
23  void SetMaxCellsInCluster(Int_t b) { fMaxCellsInCluster = b ; }
24  void SetParticleLevel(Bool_t s) { fParticleLevel = s ; }
25  void SetMC(Bool_t m) { fIsMC = m ; }
26  void SetAdditionalCentEst(const char* meth2, const char* meth3="") { fCentMethod2 = meth2; fCentMethod3 = meth3; }
27  void SetAODfilterBits(Int_t b0 = 0, Int_t b1 = 0) { fAODfilterBits[0] = b0 ; fAODfilterBits[1] = b1 ; }
28 
29  protected:
30 
31  void ExecOnce() ;
32  Bool_t RetrieveEventObjects() ;
33  Bool_t FillHistograms() ;
34  Int_t DoCellLoop(Float_t &sum) ;
35  Int_t DoClusterLoop(Float_t &sum, AliVCluster* &leading) ;
36  Int_t DoTrackLoop(Float_t &sum, AliVParticle* &leading) ;
37  Bool_t AccClusterForAna(AliVCluster* cluster) ;
38  Double_t DeltaPhi(TLorentzVector ClusterVec,AliVParticle* TrackVec) ;
39  void Fill_GH_Hisograms(Int_t identifier,TLorentzVector ClusterVec,AliVParticle* TrackVec, Double_t ClusterEcut, Double_t TrackPcut, Double_t Anglecut);
40 
41  //Constants
42  Double_t fRtoD; // conversion of rad to degree
43 
44  // Cuts
45  Float_t fCellEnergyCut; // Energy cell cut
46  Int_t fMaxCellsInCluster; // Maximum number (approx) of cells in a cluster
47 
48  // MC stuff
49  Bool_t fParticleLevel; // Set particle level analysis
50  Bool_t fIsMC; // Trigger, MC analysis
51  TString fCentMethod2; // Centrality method 2
52  TString fCentMethod3; // Centrality method 3
53  UInt_t fAODfilterBits[2]; // AOD track filter bit map
54 
55  //Other stuff
56  TList *fOutputList1;
57  TList *fOutputList2;
58  TList *fOutputList3;
59 
60  // Histograms
66  TH1 *fHistpi0;
67 
73  TH1 *fHistReadout;
74 
77  TH1 **fHist_DP_gh;
78  //
79  //
80 
81  private:
82  AliAnalysisTaskPi0Hadron(const AliAnalysisTaskPi0Hadron&); // not implemented
84 
85  ClassDef(AliAnalysisTaskPi0Hadron, 4) // Class to analyse gamma hadron correlations
86 };
87 #endif
TH1 * fHistNoClus_ptH
No of calorimeter trigger Clusters as a function of p_T.
void SetAdditionalCentEst(const char *meth2, const char *meth3="")
Int_t DoClusterLoop(Float_t &sum, AliVCluster *&leading)
TH1 * fHistNoClus_pt_tr
No of calorimeter Clusters as a function of p_T.
TList * fOutputList3
Output list.
void Fill_GH_Hisograms(Int_t identifier, TLorentzVector ClusterVec, AliVParticle *TrackVec, Double_t ClusterEcut, Double_t TrackPcut, Double_t Anglecut)
Bool_t AccClusterForAna(AliVCluster *cluster)
void SetAODfilterBits(Int_t b0=0, Int_t b1=0)
AliAnalysisTaskPi0Hadron & operator=(const AliAnalysisTaskPi0Hadron &)
TH1 ** fHist_DP_gh
pt distributions of the associated hadron in a certain p_t bin of the gamma that triggered the event ...
Int_t DoTrackLoop(Float_t &sum, AliVParticle *&leading)
Base task in the EMCAL jet framework.
TH1 * fHistNoClus_ptH_tr
No of calorimeter Clusters as a function of p_T with a hadron in the second hemisphere.
TList * fOutputList2
Output list.
TH1 * fHistpi0
No of g-h pairs in the deta eta delta phi plane.
Double_t DeltaPhi(TLorentzVector ClusterVec, AliVParticle *TrackVec)
TH2 * fHist_DetaDphi
No of calorimeter trigger Clusters as a function of p_T with a hadron in the second hemisphere...
TH1 ** fHistpt_assHadron_tr
pt distributions of the associated hadron in a certain p_t bin of the gamma