1 #ifndef ALIANASHOWERPARAMETER_H
2 #define ALIANASHOWERPARAMETER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 /* $Id: AliAnaShowerParameter.h 27413 2008-07-18 13:28:12Z gconesab $ */
7 //_________________________________________________________________________
9 // Class cloned from AliAnaPhoton, main aim is shower shape studies
13 //-- Author: Jocelyn Mlynarz (WSU) and Gustavo Conesa (LPSC)
15 // --- ROOT system ---
21 // --- ANALYSIS system ---
22 #include "AliAnaPartCorrBaseClass.h"
23 //#include "AliStack.h"
24 //#include "TParticle.h"
29 class AliAnaShowerParameter : public AliAnaPartCorrBaseClass {
33 AliAnaShowerParameter() ; // default ctor
34 virtual ~AliAnaShowerParameter() ; //virtual dtor
36 TList * GetCreateOutputObjects();
40 TObjString* GetAnalysisCuts();
42 void MakeAnalysisFillHistograms() ;
44 void Print(const Option_t * opt)const;
46 TString GetCalorimeter() const {return fCalorimeter ; }
47 void SetCalorimeter(TString det) {fCalorimeter = det ; }
49 void InitParameters();
51 void SetTimeCut(Double_t min, Double_t max) {fTimeCutMin = min; fTimeCutMax = max;}
52 Double_t GetTimeCutMin() const {return fTimeCutMin;}
53 Double_t GetTimeCutMax() const {return fTimeCutMax;}
55 void SetNCellsCut(Double_t min, Double_t max) {fNCellsCutMin = min; fNCellsCutMax = max;}
56 Double_t GetNCellsCutMin() const {return fNCellsCutMin;}
57 Double_t GetNCellsCutMax() const {return fNCellsCutMax;}
61 TString fCalorimeter ; // Calorimeter where the gamma is searched;
62 Float_t fNCellsCutMin ; // N cells cut min
63 Float_t fNCellsCutMax ; // N cells cut max
64 Float_t fLambdaCut ; // l0 cut
65 Double_t fTimeCutMin ; // Remove clusters/cells with time smaller than this value, in ns
66 Double_t fTimeCutMax ; // Remove clusters/cells with time larger than this value, in ns
69 TH1F * fhNClusters ; //! cluster
70 TH2F * fhNCellCluster; //! cells per cluster
71 TH3F * fhEtaPhiPtCluster; //! eta vs phi vs pt
72 TH2F * fhLambdaPtCluster; //! l0 vs pt
75 TH2F * fhLambdaPtPhoton ; //! l0 vs pt mc photon
76 TH2F * fhLambdaPtPi0 ; //! l0 vs pt mc pi0
77 TH2F * fhLambdaPtPion ; //! l0 vs pt mc pi charged
78 TH1D * fhPtTruthPi0 ; //! pi0 pt mc
80 AliAnaShowerParameter(const AliAnaShowerParameter & g) ; // cpy ctor
81 AliAnaShowerParameter & operator = (const AliAnaShowerParameter & g) ; // cpy assignment
83 ClassDef(AliAnaShowerParameter,1)
88 #endif//AliAnaShowerParameter_H