]>
Commit | Line | Data |
---|---|---|
2ef5608f | 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 | AliAnaShowerParameter(const AliAnaShowerParameter & g) ; // cpy ctor | |
35 | AliAnaShowerParameter & operator = (const AliAnaShowerParameter & g) ;//cpy assignment | |
36 | virtual ~AliAnaShowerParameter() ; //virtual dtor | |
37 | ||
38 | TList * GetCreateOutputObjects(); | |
39 | ||
40 | void Init(); | |
41 | ||
42 | TObjString* GetAnalysisCuts(); | |
2ef5608f | 43 | |
44 | void MakeAnalysisFillHistograms() ; | |
45 | ||
46 | void Print(const Option_t * opt)const; | |
47 | ||
48 | TString GetCalorimeter() const {return fCalorimeter ; } | |
49 | void SetCalorimeter(TString det) {fCalorimeter = det ; } | |
50 | ||
51 | void InitParameters(); | |
52 | ||
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;} | |
56 | ||
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;} | |
60 | ||
61 | private: | |
62 | ||
63 | TString fCalorimeter ; // Calorimeter where the gamma is searched; | |
64 | Float_t fNCellsCutMin ; | |
65 | Float_t fNCellsCutMax ; | |
66 | Float_t fLambdaCut ; | |
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 | |
69 | ||
70 | //Histograms | |
71 | TH1F * fhNClusters ; | |
72 | TH2F * fhNCellCluster; | |
73 | TH3F * fhEtaPhiPtCluster ; | |
74 | TH2F * fhLambdaPtCluster ; | |
75 | ||
76 | //MC | |
77 | TH2F * fhLambdaPtPhoton ; | |
78 | TH2F * fhLambdaPtPi0 ; | |
79 | TH2F * fhLambdaPtPion ; | |
80 | TH1D * fhPtTruthPi0 ; | |
81 | ||
82 | ClassDef(AliAnaShowerParameter,1) | |
83 | ||
84 | } ; | |
85 | ||
86 | ||
87 | #endif//AliAnaShowerParameter_H | |
88 | ||
89 | ||
90 |