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 AliAnaShowerParameter(const AliAnaShowerParameter & g) ; // cpy ctor
35 AliAnaShowerParameter & operator = (const AliAnaShowerParameter & g) ;//cpy assignment
36 virtual ~AliAnaShowerParameter() ; //virtual dtor
38 TList * GetCreateOutputObjects();
42 TObjString* GetAnalysisCuts();
44 void MakeAnalysisFillHistograms() ;
46 void Print(const Option_t * opt)const;
48 TString GetCalorimeter() const {return fCalorimeter ; }
49 void SetCalorimeter(TString det) {fCalorimeter = det ; }
51 void InitParameters();
53 void SetTimeCut(Double_t min, Double_t max) {fTimeCutMin = min; fTimeCutMax = max;}
54 Double_t GetTimeCutMin() const {return fTimeCutMin;}
55 Double_t GetTimeCutMax() const {return fTimeCutMax;}
57 void SetNCellsCut(Double_t min, Double_t max) {fNCellsCutMin = min; fNCellsCutMax = max;}
58 Double_t GetNCellsCutMin() const {return fNCellsCutMin;}
59 Double_t GetNCellsCutMax() const {return fNCellsCutMax;}
63 TString fCalorimeter ; // Calorimeter where the gamma is searched;
64 Float_t fNCellsCutMin ;
65 Float_t fNCellsCutMax ;
67 Double_t fTimeCutMin ; // Remove clusters/cells with time smaller than this value, in ns
68 Double_t fTimeCutMax ; // Remove clusters/cells with time larger than this value, in ns
72 TH2F * fhNCellCluster;
73 TH3F * fhEtaPhiPtCluster ;
74 TH2F * fhLambdaPtCluster ;
77 TH2F * fhLambdaPtPhoton ;
78 TH2F * fhLambdaPtPi0 ;
79 TH2F * fhLambdaPtPion ;
82 ClassDef(AliAnaShowerParameter,1)
87 #endif//AliAnaShowerParameter_H