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 $ */
7 //_________________________________________________________________________
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)
15 //-- Author: Gustavo Conesa (INFN-LNF) & Raphaelle Ichou (SUBATECH)
16 //_________________________________________________________________________
19 // --- ROOT system ---
24 // --- ANALYSIS system ---
25 #include "AliAnaPartCorrBaseClass.h"
27 class AliAnaPi0EbE : public AliAnaPartCorrBaseClass {
30 AliAnaPi0EbE() ; // default ctor
31 virtual ~AliAnaPi0EbE() ; //virtual dtor
33 AliAnaPi0EbE(const AliAnaPi0EbE & g) ; // cpy ctor
34 AliAnaPi0EbE & operator = (const AliAnaPi0EbE & g) ;//cpy assignment
38 enum anaTypes {kIMCalo, kSSCalo, kIMCaloTracks};
40 TObjString * GetAnalysisCuts();
41 TList * GetCreateOutputObjects();
44 void InitParameters();
46 void MakeAnalysisFillAOD() ;
47 void MakeAnalysisFillHistograms() ;
49 void MakeInvMassInCalorimeter() ;
50 void MakeInvMassInCalorimeterAndCTS() ;
51 void MakeShowerShapeIdentification() ;
53 void Print(const Option_t * opt)const;
55 anaTypes GetAnalysisType() const {return fAnaType ; }
56 void SetAnalysisType(anaTypes ana) {fAnaType = ana ; }
58 TString GetInputAODGammaConvName() const {return fInputAODGammaConvName ; }
59 void SetInputAODGammaConvName(TString name) {fInputAODGammaConvName = name ; }
61 //Only for pi0 SS identification case
62 void SetCalorimeter(TString & det) {fCalorimeter = det ; }
64 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
72 virtual void SetHistoShowerShapeRangeAndNBins(Float_t min, Float_t max, Int_t n) {
78 Int_t GetHistoShowerShapeBins() const { return fHistoSSBins ; }
79 Float_t GetHistoShowerShapeMin() const { return fHistoSSMin ; }
80 Float_t GetHistoShowerShapeMax() const { return fHistoSSMax ; }
85 anaTypes fAnaType; //Select analysis type
87 //Only for pi0 SS identification case, kSSCalo
88 TString fCalorimeter ; // Calorimeter where the gamma is searched;
89 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster
90 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation
91 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study
93 //Only for combination of calorimeter and conversion photons, kIMCaloTracks
94 TClonesArray * fInputAODGammaConv; //AOD array with conversion photons reconstructed in CTS
95 TString fInputAODGammaConvName; //Name of AOD branch with conversion photons
98 Int_t fHistoSSBins; // Shower Shape parameter histogram number of bins
99 Float_t fHistoSSMax; // Shower Shape parameter position maximum value
100 Float_t fHistoSSMin; // Shower Shape parameter position minimum value
102 TH1F * fhPtPi0 ; //! Number of identified pi0
103 TH3F * fhPtEtaPhiPi0 ; //! pt vs eta phi of identified pi0
104 TH3F * fhPtEtaPhiBkg ; //! pt vs eta phi of discarded pairs
105 TH2F * fhPtDispPi0 ; //! pt vs disp of pi0 pairs
106 TH2F * fhPtDispBkg ; //! pt vs disp of discarded pairs
107 TH3F * fhPtLambdaPi0 ; //! pt vs lambda0 vs lambda1 of pi0 pairs
108 TH3F * fhPtLambdaBkg ; //! pt vs lambda0 vs lambda1 of discarded pairs
111 TH1F * fhPtMCNoPi0; //! Number of identified pi0, not coming from pi0
112 TH2F * fhPhiMCNoPi0; //! Phi of identified pi0, not coming from pi0
113 TH2F * fhEtaMCNoPi0; //! eta of identified pi0, not coming from pi0
114 TH1F * fhPtMCPi0; //! Number of identified pi0, coming from pi0
115 TH2F * fhPhiMCPi0; //! Phi of identified pi0, coming from pi0
116 TH2F * fhEtaMCPi0; //! eta of identified pi0, coming from pi0
118 ClassDef(AliAnaPi0EbE,2)
122 #endif //ALIANAPI0EBE_H