]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrDep/AliAnaShowerParameter.h
Fix Coverity
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaShowerParameter.h
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 $ */
6
7 //_________________________________________________________________________
8 //
9 // Class cloned from AliAnaPhoton, main aim is shower shape studies
10 // 
11 // 
12 //
13 //-- Author: Jocelyn Mlynarz (WSU) and Gustavo Conesa (LPSC)
14
15 // --- ROOT system ---
16 class TH3F;
17 class TH2F ;
18 class TH1F;
19 class TString ;
20
21 // --- ANALYSIS system ---
22 #include "AliAnaPartCorrBaseClass.h"
23 //#include "AliStack.h"
24 //#include "TParticle.h"
25 class AliStack;
26 class TParticle;
27
28 class TList ;
29 class AliAnaShowerParameter : public AliAnaPartCorrBaseClass {
30
31 public: 
32
33   AliAnaShowerParameter() ; // default ctor
34   virtual ~AliAnaShowerParameter() ; //virtual dtor
35   
36   TList *  GetCreateOutputObjects();
37
38   void Init();
39
40   TObjString* GetAnalysisCuts();
41     
42   void MakeAnalysisFillHistograms() ; 
43   
44   void Print(const Option_t * opt)const;
45   
46   TString GetCalorimeter()   const {return fCalorimeter ; }
47   void SetCalorimeter(TString det)    {fCalorimeter = det ; }
48         
49   void InitParameters();
50
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;}  
54   
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;}      
58         
59   private:
60  
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
67
68   //Histograms   
69   TH1F * fhNClusters  ;     //! cluster
70   TH2F * fhNCellCluster;    //! cells per cluster
71   TH3F * fhEtaPhiPtCluster; //! eta vs phi vs pt
72   TH2F * fhLambdaPtCluster; //! l0 vs pt
73
74   //MC
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
79
80   AliAnaShowerParameter(const AliAnaShowerParameter & g) ;               // cpy ctor
81   AliAnaShowerParameter & operator = (const AliAnaShowerParameter & g) ; // cpy assignment
82   
83    ClassDef(AliAnaShowerParameter,1)
84
85 } ;
86  
87
88 #endif//AliAnaShowerParameter_H
89
90
91