]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaPi0EbE.h
Update for Cascades from A.Maire
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPi0EbE.h
CommitLineData
1c5acb87 1#ifndef ALIANAPI0EBE_H\r
2#define ALIANAPI0EBE_H\r
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
4 * See cxx source for full Copyright notice */\r
5/* $Id: AliAnaPi0EbE.h 27413 2008-07-18 13:28:12Z gconesab $ */\r
6\r
7//_________________________________________________________________________\r
8//\r
9// Class for the analysis of high pT pi0 event by event\r
10// Pi0 identified by one of the following:\r
11// -Invariant mass of 2 cluster in calorimeter\r
12// -Shower shape analysis in calorimeter\r
13// -Invariant mass of one cluster in calorimeter and one photon reconstructed in TPC (in near future)\r
14//\r
15//-- Author: Gustavo Conesa (INFN-LNF) & Raphaelle Ichou (SUBATECH)\r
16//_________________________________________________________________________\r
17\r
18\r
19// --- ROOT system ---\r
20#include <TH2F.h>\r
21#include <TString.h>\r
22\r
23// --- ANALYSIS system ---\r
24#include "AliAnaPartCorrBaseClass.h"\r
25class AliAODPWG4ParticleCorrelation ;\r
26\r
27class TList ;\r
28\r
29class AliAnaPi0EbE : public AliAnaPartCorrBaseClass {\r
30\r
31public: \r
32\r
33 AliAnaPi0EbE() ; // default ctor\r
34 AliAnaPi0EbE(const AliAnaPi0EbE & g) ; // cpy ctor\r
35 AliAnaPi0EbE & operator = (const AliAnaPi0EbE & g) ;//cpy assignment\r
36 virtual ~AliAnaPi0EbE() ; //virtual dtor\r
37 \r
38 enum anaTypes {kIMCalo, kSSCalo, kIMCaloTracks};\r
39 \r
40 TList * GetCreateOutputObjects();\r
41 \r
42 void InitParameters();\r
43 \r
44 void MakeAnalysisFillAOD() ;\r
45 void MakeAnalysisFillHistograms() ; \r
46 \r
47 void MakeInvMassInCalorimeter() ;\r
48 void MakeInvMassInCalorimeterAndCTS() ;\r
49 void MakeShowerShapeIdentification() ;\r
50 \r
51 void Print(const Option_t * opt)const;\r
52 \r
53 anaTypes GetAnalysisType() const {return fAnaType ; }\r
54 void SetAnalysisType(anaTypes ana) {fAnaType = ana ; }\r
55 \r
56 TString GetInputAODGammaConvName() const {return fInputAODGammaConvName ; }\r
57 void SetInputAODGammaConvName(TString name) {fInputAODGammaConvName = name ; } \r
58 \r
59 //Only for pi0 SS identification case\r
60 void SetCalorimeter(TString det) {fCalorimeter = det ; }\r
61\r
62 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {\r
63 fMinDist = m1;\r
64 fMinDist2 = m2;\r
65 fMinDist3 = m3;\r
66 }\r
67 \r
68private:\r
69 \r
70 anaTypes fAnaType; //Select analysis type\r
71 \r
72 //Only for pi0 SS identification case, kSSCalo\r
73 TString fCalorimeter ; // Calorimeter where the gamma is searched;\r
74 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster\r
75 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation\r
76 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study\r
77 \r
78 //Only for combination of calorimeter and conversion photons, kIMCaloTracks\r
79 TClonesArray * fInputAODGammaConv; //AOD array with conversion photons reconstructed in CTS\r
80 TString fInputAODGammaConvName; //Name of AOD branch with conversion photons\r
81 \r
82 //Histograms\r
83 TH1F * fhPtPi0 ; //! Number of identified pi0\r
84 TH2F * fhPhiPi0 ; //! Phi of identified pi0\r
85 TH2F * fhEtaPi0 ; //! eta of identified pi0 \r
86 \r
87 //MC\r
88 TH1F * fhPtMCNoPi0; //! Number of identified pi0, not coming from pi0\r
89 TH2F * fhPhiMCNoPi0; //! Phi of identified pi0, not coming from pi0\r
90 TH2F * fhEtaMCNoPi0; //! eta of identified pi0, not coming from pi0\r
91 TH1F * fhPtMCPi0; //! Number of identified pi0, coming from pi0\r
92 TH2F * fhPhiMCPi0; //! Phi of identified pi0, coming from pi0\r
93 TH2F * fhEtaMCPi0; //! eta of identified pi0, coming from pi0\r
94 \r
95 ClassDef(AliAnaPi0EbE,1)\r
96} ;\r
97 \r
98\r
99#endif //ALIANAPI0EBE_H\r
100\r
101\r
102\r