]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaPi0.h
Added more pt histos
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPi0.h
CommitLineData
1c5acb87 1#ifndef ALIANAPI0_H
2#define ALIANAPI0_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/* $Id: $ */
6
7//_________________________________________________________________________
8// Class to fill two-photon invariant mass hisograms
9// to be used to extract pi0 raw yield.
10//
11//-- Author: Dmitri Peressounko (RRC "KI")
12//-- Adapted to PartCorr frame by Lamia Benhabib (SUBATECH)
13//-- and Gustavo Conesa (INFN-Frascati)
14
15//Root
16class TList;
17class TH3D ;
18
19//Analysis
20class AliAODEvent ;
21class AliESDEvent ;
22#include "AliAnaPartCorrBaseClass.h"
23
e5dbdaf0 24class AliPHOSGeoUtils;
25class AliEMCALGeoUtils;
591cc579 26
1c5acb87 27class AliAnaPi0 : public AliAnaPartCorrBaseClass {
6639984f 28
29 public:
30
31 AliAnaPi0() ; // default ctor
32 AliAnaPi0(const char *name) ; // default ctor
33 AliAnaPi0(const AliAnaPi0 & g) ; // cpy ctor
34 AliAnaPi0 & operator = (const AliAnaPi0 & api0) ;//cpy assignment
35 virtual ~AliAnaPi0() ;//virtual dtor
36
37 TList * GetCreateOutputObjects();
38
39 void Print(const Option_t * opt) const;
40
41 void Init();
42 void InitParameters();
43
44 //void MakeAnalysisFillAOD() {;} //Not needed
45 void MakeAnalysisFillHistograms();
46
47 // void SetBadRunsList(){;} ; //Set list of runs which can be used for this analysis
48 //To be defined in future.
49 void SetEtalonHisto(TH3D * h);//Provide etalon of binning for histograms
50
51 //Setters for parameters of event buffers
52 void SetNCentrBin(Int_t n=5){fNCentrBin=n ;} //number of bins in centrality
53 void SetNZvertBin(Int_t n=5){fNZvertBin=n ;} //number of bins for vertex position
54 void SetNRPBin(Int_t n=6) {fNrpBin=n ;} //number of bins in reaction plain
55 void SetNMaxEvMix(Int_t n=20){fNmaxMixEv=n ;}//Maximal number of events for mixing
56
57 //Setters for event selection
58 void SetZvertexCut(Float_t zcut=40.){fZvtxCut=zcut ;} //cut on vertex position
59
60 TString GetCalorimeter() const {return fCalorimeter ; }
61 void SetCalorimeter(TString det) {fCalorimeter = det ; }
62
c0649ccf 63 void SetEMCALGeometryName(TString name) { fEMCALGeoName = name ; }
64 TString EMCALGeometryName() const { return fEMCALGeoName ; }
65
a5cc4f03 66 void Terminate(TList* outputList);
67 void ReadHistograms(TList * outputList); //Fill histograms with histograms in ouput list, needed in Terminate.
68
6639984f 69 private:
70 Bool_t IsBadRun(Int_t /*iRun*/) const {return kFALSE;} //Tests if this run bad according to private list
71
72 private:
c0649ccf 73 Int_t fNCentrBin ; // Number of bins in event container for centrality
74 Int_t fNZvertBin ; // Number of bins in event container for vertex position
75 Int_t fNrpBin ; // Number of bins in event container for reaction plain
76 Int_t fNPID ; // Number of possible PID combinations
77 Int_t fNmaxMixEv ; // Maximal number of events stored in buffer for mixing
78 Float_t fZvtxCut ; // Cut on vertex position
79 TString fCalorimeter ; // Select Calorimeter for IM
80 TString fEMCALGeoName; // Name of geometry to use.
81
82 TList ** fEventsList ; //! containers for photons in stored events
6639984f 83
84 //Histograms
85
86 TH3D * fhEtalon ; //Etalon histo, all distributions will have same binning as this one
87
88 TH3D ** fhRe1 ; //!REAL two-photon invariant mass distribution for different centralities and PID
89 TH3D ** fhMi1 ; //!MIXED two-photon invariant mass distribution for different centralities and PID
90 TH3D ** fhRe2 ; //!REAL two-photon invariant mass distribution for different centralities and PID
91 TH3D ** fhMi2 ; //!MIXED two-photon invariant mass distribution for different centralities and PID
92 TH3D ** fhRe3 ; //!REAL two-photon invariant mass distribution for different centralities and PID
93 TH3D ** fhMi3 ; //!MIXED two-photon invariant mass distribution for different centralities and PID
94 TH3D * fhEvents; //!Number of events per centrality, RP, zbin
95
96 //Acceptance
97 TH1D * fhPrimPt ; //! Spectrum of Primary
98 TH1D * fhPrimAccPt ; //! Spectrum of primary with accepted daughters
99 TH1D * fhPrimY ; //! Rapidity distribution of primary particles
100 TH1D * fhPrimAccY ; //! Rapidity distribution of primary with accepted daughters
101 TH1D * fhPrimPhi ; //! Azimutal distribution of primary particles
102 TH1D * fhPrimAccPhi; //! Azimutal distribution of primary with accepted daughters
103
e5dbdaf0 104 AliPHOSGeoUtils * fPHOSGeo ; //! PHOS geometry pointer
591cc579 105 AliEMCALGeoUtils * fEMCALGeo ; //! EMCAL geometry pointer
591cc579 106
107 ClassDef(AliAnaPi0,4)
1c5acb87 108} ;
109
110
111#endif //ALIANAPI0_H
112
113
114