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