]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaShowerParameter.h
Rename base classes from PartCorr to CaloTrackCorr, agreed new naming and directory...
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaShowerParameter.h
CommitLineData
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 */
2ef5608f 5
6//_________________________________________________________________________
7//
8// Class cloned from AliAnaPhoton, main aim is shower shape studies
9//
10//
11//
12//-- Author: Jocelyn Mlynarz (WSU) and Gustavo Conesa (LPSC)
13
14// --- ROOT system ---
15class TH3F;
16class TH2F ;
17class TH1F;
18class TString ;
19
20// --- ANALYSIS system ---
745913ae 21#include "AliAnaCaloTrackCorrBaseClass.h"
2ef5608f 22class AliStack;
23class TParticle;
24
25class TList ;
745913ae 26class AliAnaShowerParameter : public AliAnaCaloTrackCorrBaseClass {
2ef5608f 27
28public:
29
30 AliAnaShowerParameter() ; // default ctor
2ef5608f 31 virtual ~AliAnaShowerParameter() ; //virtual dtor
32
33 TList * GetCreateOutputObjects();
34
35 void Init();
36
37 TObjString* GetAnalysisCuts();
2ef5608f 38
39 void MakeAnalysisFillHistograms() ;
40
41 void Print(const Option_t * opt)const;
42
43 TString GetCalorimeter() const {return fCalorimeter ; }
44 void SetCalorimeter(TString det) {fCalorimeter = det ; }
45
46 void InitParameters();
47
48 void SetTimeCut(Double_t min, Double_t max) {fTimeCutMin = min; fTimeCutMax = max;}
49 Double_t GetTimeCutMin() const {return fTimeCutMin;}
50 Double_t GetTimeCutMax() const {return fTimeCutMax;}
51
52 void SetNCellsCut(Double_t min, Double_t max) {fNCellsCutMin = min; fNCellsCutMax = max;}
53 Double_t GetNCellsCutMin() const {return fNCellsCutMin;}
54 Double_t GetNCellsCutMax() const {return fNCellsCutMax;}
55
56 private:
57
c5693f62 58 TString fCalorimeter ; // Calorimeter where the gamma is searched;
59 Float_t fNCellsCutMin ; // N cells cut min
60 Float_t fNCellsCutMax ; // N cells cut max
61 Float_t fLambdaCut ; // l0 cut
62 Double_t fTimeCutMin ; // Remove clusters/cells with time smaller than this value, in ns
63 Double_t fTimeCutMax ; // Remove clusters/cells with time larger than this value, in ns
2ef5608f 64
65 //Histograms
c5693f62 66 TH1F * fhNClusters ; //! cluster
67 TH2F * fhNCellCluster; //! cells per cluster
68 TH3F * fhEtaPhiPtCluster; //! eta vs phi vs pt
69 TH2F * fhLambdaPtCluster; //! l0 vs pt
2ef5608f 70
71 //MC
c5693f62 72 TH2F * fhLambdaPtPhoton ; //! l0 vs pt mc photon
73 TH2F * fhLambdaPtPi0 ; //! l0 vs pt mc pi0
74 TH2F * fhLambdaPtPion ; //! l0 vs pt mc pi charged
75 TH1D * fhPtTruthPi0 ; //! pi0 pt mc
2ef5608f 76
c5693f62 77 AliAnaShowerParameter(const AliAnaShowerParameter & g) ; // cpy ctor
78 AliAnaShowerParameter & operator = (const AliAnaShowerParameter & g) ; // cpy assignment
79
2ef5608f 80 ClassDef(AliAnaShowerParameter,1)
81
82} ;
83
84
85#endif//AliAnaShowerParameter_H
86
87
88