AliPhysics  58f3d52 (58f3d52)
 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 ; }
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() ;
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
59 
60  // Histograms
67 
74 
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
double Double_t
Definition: External.C:58
TH1 * fHistNoClus_ptH
No of calorimeter trigger Clusters as a function of p_T.
Definition: External.C:244
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 &)
Bool_t FillHistograms()
Function filling histograms.
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
float Float_t
Definition: External.C:68
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)
Definition: External.C:220
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.
bool Bool_t
Definition: External.C:53
Double_t DeltaPhi(TLorentzVector ClusterVec, AliVParticle *TrackVec)
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
TH2 * fHist_DetaDphi
No of calorimeter trigger Clusters as a function of p_T with a hadron in the second hemisphere...
void ExecOnce()
Perform steps needed to initialize the analysis.
TH1 ** fHistpt_assHadron_tr
pt distributions of the associated hadron in a certain p_t bin of the gamma
Definition: External.C:196