]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaPi0EbE.h
Updates (Michael Weber)
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPi0EbE.h
CommitLineData
477d6cee 1#ifndef ALIANAPI0EBE_H
2#define ALIANAPI0EBE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/* $Id: AliAnaPi0EbE.h 27413 2008-07-18 13:28:12Z gconesab $ */
6
7//_________________________________________________________________________
8//
9// Class for the analysis of high pT pi0 event by event
10// Pi0 identified by one of the following:
11// -Invariant mass of 2 cluster in calorimeter
12// -Shower shape analysis in calorimeter
13// -Invariant mass of one cluster in calorimeter and one photon reconstructed in TPC (in near future)
14//
15//-- Author: Gustavo Conesa (INFN-LNF) & Raphaelle Ichou (SUBATECH)
16//_________________________________________________________________________
17
18
19// --- ROOT system ---
57b97dc6 20class TH3F ;
477d6cee 21class TList ;
0c1383b5 22class TObjString;
477d6cee 23
24// --- ANALYSIS system ---
25#include "AliAnaPartCorrBaseClass.h"
477d6cee 26
27class AliAnaPi0EbE : public AliAnaPartCorrBaseClass {
28
29 public:
477d6cee 30 AliAnaPi0EbE() ; // default ctor
78219bac 31 virtual ~AliAnaPi0EbE() ; //virtual dtor
32 private:
477d6cee 33 AliAnaPi0EbE(const AliAnaPi0EbE & g) ; // cpy ctor
34 AliAnaPi0EbE & operator = (const AliAnaPi0EbE & g) ;//cpy assignment
78219bac 35
36 public:
0c1383b5 37
c4a7d28a 38 //General
477d6cee 39
521636d2 40 TObjString * GetAnalysisCuts();
477d6cee 41
521636d2 42 TList * GetCreateOutputObjects();
477d6cee 43
521636d2 44 void Init();
477d6cee 45
521636d2 46 void InitParameters();
47
48 void MakeAnalysisFillAOD() ;
49
50 void MakeAnalysisFillHistograms() ;
477d6cee 51
521636d2 52 void Print(const Option_t * opt) const;
477d6cee 53
521636d2 54 // Main
477d6cee 55
521636d2 56 void MakeInvMassInCalorimeter() ;
57b97dc6 57
521636d2 58 void MakeInvMassInCalorimeterAndCTS() ;
57b97dc6 59
521636d2 60 void MakeShowerShapeIdentification() ;
57b97dc6 61
78a28af3 62 void RecalibrateCellAmplitude(Float_t & amp, const Int_t absId);
63
64 void WeightHistograms(AliVCluster *clus);
65
66 void SwitchOnFillWeightHistograms() { fFillWeightHistograms = kTRUE ; }
67 void SwitchOffFillWeightHistograms() { fFillWeightHistograms = kFALSE ; }
68
521636d2 69 //Setters Getters
70
71 //Analysis types
72 enum anaTypes {kIMCalo, kSSCalo, kIMCaloTracks};
78a28af3 73 anaTypes GetAnalysisType() const { return fAnaType ; }
74 void SetAnalysisType(anaTypes ana) { fAnaType = ana ; }
ddc0a8a5 75
78a28af3 76 TString GetInputAODGammaConvName() const { return fInputAODGammaConvName ; }
77 void SetInputAODGammaConvName(TString name) { fInputAODGammaConvName = name ; }
ddc0a8a5 78
521636d2 79 //Only for pi0 SS identification case
78a28af3 80 void SetCalorimeter(TString & det) { fCalorimeter = det ; }
521636d2 81
82 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
78a28af3 83 fMinDist = m1; fMinDist2 = m2; fMinDist3 = m3 ; }
521636d2 84
85 //For histograms
3bfcb597 86 enum mcTypes { mcPhoton = 0, mcConversion = 1, mcPi0 = 2,
87 mcEta = 3, mcElectron = 4, mcHadron = 5 };
521636d2 88
477d6cee 89 private:
90
521636d2 91 anaTypes fAnaType; //Select analysis type
477d6cee 92
93 //Only for pi0 SS identification case, kSSCalo
521636d2 94 TString fCalorimeter ; // Calorimeter where the gamma is searched;
95 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster
96 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation
97 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study
477d6cee 98
78a28af3 99 Bool_t fFillWeightHistograms ; // Fill weigth histograms
100
477d6cee 101 //Only for combination of calorimeter and conversion photons, kIMCaloTracks
521636d2 102 TClonesArray * fInputAODGammaConv; //! AOD array with conversion photons reconstructed in CTS
103 TString fInputAODGammaConvName; // Name of AOD branch with conversion photons
477d6cee 104
105 //Histograms
521636d2 106
107 TH1F * fhPtPi0 ; //! Number of identified pi0 vs pT
108 TH1F * fhEPi0 ; //! Number of identified pi0 vs E
109 TH3F * fhEEtaPhiPi0 ; //! E vs eta phi of identified pi0
110
111 TH2F * fhEDispersion ; //! E vs disp of pi0 pairs
112 TH2F * fhELambda0 ; //! E vs lambda0 of pi0 pairs
113 TH2F * fhELambda1 ; //! E vs lambda1 of pi0 pairs
3bfcb597 114 TH2F * fhELambda0NoTRD ; //! E vs lambda0 of pi0 pairs, not behind TRD
115 TH2F * fhELambda0FracMaxCellCut ;//! E vs lambda0 of pi0 pairs, fraction of cluster energy in max cell cut
116 TH2F * fhEFracMaxCell ; //! E vs frac max cell of cluster
117 TH2F * fhEFracMaxCellNoTRD ; //! E vs frac max cell of cluster, not behind TRD
118
c4a7d28a 119 TH2F * fhClusterPairDiffTimeE; //! Pair of clusters time difference vs E
120 TH2F * fhClusterPairDiffTimeAsy; //! Pair of clusters time difference vs Asymmetry
121
122 //MC histograms
123
6db946bd 124 TH2F * fhEMCLambda0[6] ; //! E vs lambda0 of pi0 pairs but really from MC particle
125 TH2F * fhEMCLambda1[6] ; //! E vs lambda1 of pi0 pairs but really from MC particle
126 TH2F * fhEMCDispersion[6] ; //! E vs dispersion of pi0 pairs but really from MC particle
3bfcb597 127 TH2F * fhEMCLambda0NoTRD[6] ; //! E vs lambda0 of pi0 pairs but really from MC particle, not behind TRD
128 TH2F * fhEMCLambda0FracMaxCellCut[6] ;//! E vs lambda0 of pi0 pairs but really from MC particle, fraction of cluster energy in max cell cut
129 TH2F * fhEMCFracMaxCell[6] ; //! E vs fraction of max cell
521636d2 130
131 TH1F * fhPtMCNoPi0; //! Number of identified pi0, not coming from pi0
132 TH2F * fhPhiMCNoPi0; //! Phi of identified pi0, not coming from pi0
133 TH2F * fhEtaMCNoPi0; //! eta of identified pi0, not coming from pi0
134 TH1F * fhPtMCPi0; //! Number of identified pi0, coming from pi0
135 TH2F * fhPhiMCPi0; //! Phi of identified pi0, coming from pi0
136 TH2F * fhEtaMCPi0; //! eta of identified pi0, coming from pi0
137
78a28af3 138 // Weight studies
139
140 TH2F * fhECellClusterRatio; //! e cell / e cluster vs e cluster for selected photons
141 TH2F * fhECellClusterLogRatio; //! log (e cell / e cluster) vs e cluster for selected photons
142 TH2F * fhEMaxCellClusterRatio; //! e max cell / e cluster vs e cluster for selected photons
143 TH2F * fhEMaxCellClusterLogRatio;//! log (e max cell / e cluster) vs e cluster for selected photons
144 TH2F * fhLambda0ForW0[7]; //! L0 for 7 defined w0= 3, 3.5 ... 6 for selected photons
145 TH2F * fhLambda1ForW0[7]; //! L1 for 7 defined w0= 3, 3.5 ... 6 for selected photons
146
147 ClassDef(AliAnaPi0EbE,8)
c4a7d28a 148} ;
477d6cee 149
150
151#endif //ALIANAPI0EBE_H
152
153
154