]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/CaloTrackCorrelations/AliAnaCalorimeterQA.h
fix compilation warning
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaCalorimeterQA.h
CommitLineData
9725fd2a 1#ifndef ALIANACALORIMETERQA_H
2#define ALIANACALORIMETERQA_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9725fd2a 5
6//_________________________________________________________________________
7// Class to check results from simulations or reconstructed real data.
8// Fill few histograms and do some checking plots
9//
2302a644 10//-- Author: Gustavo Conesa (INFN-LNF)
9725fd2a 11
12// --- Root system ---
a5fafd85 13class TH3F;
9725fd2a 14class TH2F;
15class TH1F;
0c1383b5 16class TObjString;
649b825d 17class TObjArray;
9725fd2a 18
19// --- Analysis system ---
649b825d 20class AliVCaloCells;
c8fe2783 21class AliVCaloCluster;
22class AliVTrack;
a5fafd85 23
745913ae 24#include "AliAnaCaloTrackCorrBaseClass.h"
9725fd2a 25
745913ae 26class AliAnaCalorimeterQA : public AliAnaCaloTrackCorrBaseClass {
9725fd2a 27
2302a644 28public:
78219bac 29 AliAnaCalorimeterQA() ; // default ctor
30 virtual ~AliAnaCalorimeterQA() {;} //virtual dtor
c5693f62 31
521636d2 32 // General methods
33
0c1383b5 34 TObjString * GetAnalysisCuts();
521636d2 35
36 TList * GetCreateOutputObjects();
2302a644 37
521636d2 38 void Init();
9725fd2a 39
521636d2 40 void InitParameters();
41
42 void MakeAnalysisFillHistograms() ;
2302a644 43
521636d2 44 void Print(const Option_t * opt) const;
924e319f 45
521636d2 46 // Main methods
9725fd2a 47
c5693f62 48 void BadClusterHistograms(AliVCluster* clus, const TObjArray *caloClusters, AliVCaloCells * cells,
1a83b960 49 const Int_t absIdMax, const Double_t maxCellFraction, const Float_t eCrossFrac,
50 const Double_t tmax, Double_t timeAverages[2]);
1a72f6c5 51
a82b4462 52 void CalculateAverageTime(AliVCluster *clus, AliVCaloCells *cells, Double_t timeAverages[2]);
649b825d 53
54 void CellHistograms(AliVCaloCells * cells);
55
56 void CellInClusterPositionHistograms(AliVCluster* cluster);
57
1a83b960 58 void ClusterAsymmetryHistograms(AliVCluster* clus, const Int_t absIdMax, const Bool_t goodCluster );
649b825d 59
c5693f62 60 void ClusterHistograms(AliVCluster* cluster, const TObjArray *caloClusters, AliVCaloCells * cells,
1a83b960 61 const Int_t absIdMax, const Double_t maxCellFraction, const Float_t eCrossFrac,
62 const Double_t tmax, Double_t timeAverages[2]);
649b825d 63
f3138ecf 64 void ClusterLoopHistograms(const TObjArray * clusters, AliVCaloCells * cells);
649b825d 65
66 Bool_t ClusterMCHistograms(const TLorentzVector mom,const Bool_t matched,
67 const Int_t * labels, const Int_t nLabels, Int_t & pdg );
68
69 void ClusterMatchedWithTrackHistograms(AliVCluster* clus, TLorentzVector mom,
70 const Bool_t mcOK, const Int_t pdg);
71
521636d2 72 void Correlate();
649b825d 73
f1538a5f 74 void ExoticHistograms(const Int_t absIdMax, const Float_t ampMax,
75 AliVCluster *clus, AliVCaloCells* cells);
76
77 Float_t GetECross(const Int_t absId, AliVCaloCells* cells,const Float_t dtcut = 10000);
1a72f6c5 78
649b825d 79 void InvariantMassHistograms(const Int_t iclus, const TLorentzVector mom, const Int_t nModule,
c5693f62 80 const TObjArray* caloClusters, AliVCaloCells * cells);
521636d2 81
a82b4462 82 Bool_t IsGoodCluster(const Int_t absIdMax, AliVCaloCells *cells);
649b825d 83
84 void MCHistograms();
9e9f04cb 85
521636d2 86 void MCHistograms(const TLorentzVector mom, const Int_t pdg);
dbba06ca 87
649b825d 88 void WeightHistograms(AliVCluster *clus, AliVCaloCells* cells);
89
521636d2 90 // Setters and Getters
91
55c05f8c 92
521636d2 93 Float_t GetEMCALCellAmpMin() const { return fEMCALCellAmpMin ; }
94 void SetEMCALCellAmpMin(Float_t amp) { fEMCALCellAmpMin = amp ; }
a6f26052 95
521636d2 96 Float_t GetPHOSCellAmpMin() const { return fPHOSCellAmpMin ; }
97 void SetPHOSCellAmpMin (Float_t amp) { fPHOSCellAmpMin = amp ; }
98
99 TString GetCalorimeter() const { return fCalorimeter ; }
100 void SetCalorimeter(TString calo) { fCalorimeter = calo ; }
f16a7271 101
521636d2 102 void SetNumberOfModules(Int_t nmod) { fNModules = nmod ; }
55c05f8c 103
521636d2 104 Double_t GetTimeCutMin() const { return fTimeCutMin ; }
105 Double_t GetTimeCutMax() const { return fTimeCutMax ; }
106 void SetTimeCut(Double_t min, Double_t max) {
107 fTimeCutMin = min ; fTimeCutMax = max ; }
649b825d 108
521636d2 109 // Histogram Switchs
2302a644 110
e6fec6f5 111 void SwitchOnFillAllCellTimeHisto() { fFillAllCellTimeHisto = kTRUE ; }
112 void SwitchOffFillAllCellTimeHisto() { fFillAllCellTimeHisto = kFALSE ; }
113
521636d2 114 void SwitchOnFillAllPositionHistogram() { fFillAllPosHisto = kTRUE ; }
115 void SwitchOffFillAllPositionHistogram() { fFillAllPosHisto = kFALSE ; }
2302a644 116
521636d2 117 void SwitchOnFillAllPositionHistogram2() { fFillAllPosHisto2 = kTRUE ; }
118 void SwitchOffFillAllPositionHistogram2() { fFillAllPosHisto2 = kFALSE ; }
2302a644 119
521636d2 120 void SwitchOnFillAllTH12Histogram() { fFillAllTH12 = kTRUE ; }
121 void SwitchOffFillAllTH12Histogram() { fFillAllTH12 = kFALSE ; }
2302a644 122
521636d2 123 void SwitchOnFillAllTH3Histogram() { fFillAllTH3 = kTRUE ; }
124 void SwitchOffFillAllTH3Histogram() { fFillAllTH3 = kFALSE ; }
2302a644 125
521636d2 126 void SwitchOnFillAllTrackMatchingHistogram() { fFillAllTMHisto = kTRUE ; }
127 void SwitchOffFillAllTrackMatchingHistogram() { fFillAllTMHisto = kFALSE ; }
b8187de4 128
521636d2 129 void SwitchOnFillAllPi0Histogram() { fFillAllPi0Histo = kTRUE ; }
130 void SwitchOffFillAllPi0Histogram() { fFillAllPi0Histo = kFALSE ; }
131
132 void SwitchOnCorrelation() { fCorrelate = kTRUE ; }
133 void SwitchOffCorrelation() { fCorrelate = kFALSE ; }
649b825d 134
135 void SwitchOnStudyBadClusters() { fStudyBadClusters = kTRUE ; }
136 void SwitchOffStudyBadClusters() { fStudyBadClusters = kFALSE ; }
137
138 void SwitchOnStudyClustersAsymmetry() { fStudyClustersAsymmetry = kTRUE ; }
139 void SwitchOffStudyClustersAsymmetry() { fStudyClustersAsymmetry = kFALSE ; }
140
141 void SwitchOnStudyWeight() { fStudyWeight = kTRUE ; }
142 void SwitchOffStudyWeight() { fStudyWeight = kFALSE ; }
f1538a5f 143
144 void SwitchOnStudyExotic() { fStudyExotic = kTRUE ; }
145 void SwitchOffStudyExotic() { fStudyExotic = kFALSE ; }
146
147 void SetNECrossCuts(Int_t n) { fExoNECrossCuts = n ; }
148 void SetNDTimeCuts (Int_t n) { fExoNDTimeCuts = n ; }
149
150 void SetExoECrossCuts (Int_t i, Float_t c) { if (i<fExoNECrossCuts) fExoECrossCuts[i] = c ; }
151 void SetExoDTimeCuts (Int_t i, Float_t c) { if (i<fExoNDTimeCuts ) fExoDTimeCuts [i] = c ; }
649b825d 152
9725fd2a 153 private:
154
521636d2 155 TString fCalorimeter ; // Calorimeter selection
649b825d 156
157 //Switches
e6fec6f5 158 Bool_t fFillAllCellTimeHisto; // Fill all cell time histo
521636d2 159 Bool_t fFillAllPosHisto; // Fill all the position related histograms
160 Bool_t fFillAllPosHisto2; // Fill all the position related histograms 2
161 Bool_t fFillAllTH12 ; // Fill simple histograms which information is already in TH3 histograms
162 Bool_t fFillAllTH3 ; // Fill TH3 histograms
163 Bool_t fFillAllTMHisto ; // Fill track matching histograms
1a83b960 164 Bool_t fFillAllPi0Histo ; // Fill invariant mass histograms
521636d2 165 Bool_t fCorrelate ; // Correlate PHOS/EMCAL cells/clusters, also with V0 and track multiplicity
649b825d 166 Bool_t fStudyBadClusters; // Study bad clusters
167 Bool_t fStudyClustersAsymmetry; // Study asymmetry of clusters
f1538a5f 168 Bool_t fStudyExotic; // Study the exotic cluster for different cuts
649b825d 169 Bool_t fStudyWeight; // Study the energy weight used in different cluster calculations
170
171 // Parameters
35c71d5c 172 Int_t fNModules ; // Number of EMCAL/PHOS modules
173 Int_t fNRCU ; // Number of EMCAL/PHOS RCU
174 Int_t fNMaxCols ; // Number of EMCAL/PHOS rows
175 Int_t fNMaxRows ; // Number of EMCAL/PHOS columns
649b825d 176
177 //Cuts
521636d2 178 Double_t fTimeCutMin ; // Remove clusters/cells with time smaller than this value, in ns
179 Double_t fTimeCutMax ; // Remove clusters/cells with time larger than this value, in ns
180 Float_t fEMCALCellAmpMin; // amplitude Threshold on emcal cells
181 Float_t fPHOSCellAmpMin ; // amplitude Threshold on phos cells
2302a644 182
f1538a5f 183 // Exotic studies
184 Float_t fExoNECrossCuts ; // Number of ecross cuts
185 Float_t fExoECrossCuts[10]; // List of ecross cuts
186 Float_t fExoNDTimeCuts ; // Number of time cuts
187 Float_t fExoDTimeCuts[5] ; // List of time cuts
188
521636d2 189 //CaloClusters
190 TH1F * fhE ; //! E distribution, Reco
191 TH1F * fhPt ; //! pT distribution, Reco
192 TH1F * fhPhi; //! phi distribution, Reco
193 TH1F * fhEta; //! eta distribution, Reco
194 TH3F * fhEtaPhiE ; //! eta vs phi vs E, Reco
195 TH1F * fhECharged ; //! E distribution, Reco, matched with track
196 TH1F * fhPtCharged ; //! pT distribution, Reco, matched with track
197 TH1F * fhPhiCharged; //! phi distribution, Reco, matched with track
198 TH1F * fhEtaCharged; //! eta distribution, Reco, matched with track
199 TH3F * fhEtaPhiECharged; //! eta vs phi vs E, Reco, matched with track
521636d2 200
201 TH2F * fhIM; //! cluster pairs invariant mass
521636d2 202 TH2F * fhAsym; //! cluster pairs invariant mass
203
3f5990d6 204 TH2F * fhNCellsPerCluster; //! N cells per cluster vs cluster energy vs eta of cluster
715fd81f 205 TH2F * fhNCellsPerClusterNoCut; //! N cells per cluster vs cluster energy vs eta of cluster
a82b4462 206
521636d2 207 TH1F * fhNClusters; //! Number of clusters
208
209 TH2F * fhClusterTimeEnergy; //! Cluster Time vs Energy
924e319f 210 TH2F * fhCellTimeSpreadRespectToCellMax; //! Difference of the time of cell with maximum dep energy and the rest of cells
521636d2 211 TH1F * fhCellIdCellLargeTimeSpread; //! Cells with large time respect to max (diff > 100 ns)
e1e62b89 212 TH2F * fhClusterPairDiffTimeE; //! Pair of clusters time difference vs E
649b825d 213
e1e62b89 214 TH2F * fhClusterMaxCellCloseCellRatio; //! Ratio between max cell energy and cell energy of the same cluster
649b825d 215 TH2F * fhClusterMaxCellCloseCellDiff; //! Difference between max cell energy and cell energy of the same cluster
715fd81f 216 TH2F * fhClusterMaxCellDiff; //! Difference between cluster energy and energy of cell with more energy, good clusters only
217 TH2F * fhClusterMaxCellDiffNoCut; //! Difference between cluster energy and energy of cell with more energy, no bad cluster rejection
715fd81f 218
649b825d 219 TH2F * fhClusterMaxCellDiffAverageTime; //! Difference between cluster average time and time of cell with more energy
649b825d 220 TH2F * fhClusterMaxCellDiffWeightedTime; //! Difference between cluster weighted time and time of cell with more energy
1a72f6c5 221 TH2F * fhClusterMaxCellECross; //! 1 - Energy in cross around max energy cell / max energy cell vs cluster energy, good clusters
e1e62b89 222
649b825d 223 TH2F * fhLambda0; //! cluster Lambda0 vs Energy
224 TH2F * fhLambda1; //! cluster Lambda1 vs Energy
225 TH2F * fhDispersion; //! cluster Dispersion vs Energy
226
227 // Bad clusters histograms
e1e62b89 228 TH1F * fhBadClusterEnergy; //! energy of bad cluster
229 TH2F * fhBadClusterTimeEnergy; //! Time Max cell of bad cluster
230 TH2F * fhBadClusterPairDiffTimeE; //! Pair of clusters time difference vs E, bad cluster
649b825d 231 TH2F * fhBadCellTimeSpreadRespectToCellMax; //! Difference of the time of cell with maximum dep energy and the rest of cells for bad clusters
232
521636d2 233 TH2F * fhBadClusterMaxCellCloseCellRatio; //! Ratio between max cell energy and cell energy of the same cluster for bad clusters
4c8f7c2e 234 TH2F * fhBadClusterMaxCellCloseCellDiff ; //! Difference between max cell energy and cell energy of the same cluster for bad clusters
e1e62b89 235 TH2F * fhBadClusterMaxCellDiff; //! Difference between cluster energy and energy of cell with more energy
649b825d 236
237 TH2F * fhBadClusterMaxCellDiffAverageTime; //! Difference between cluster average time and time of cell with more energy
649b825d 238 TH2F * fhBadClusterMaxCellDiffWeightedTime; //! Difference between cluster weighted time and time of cell with more energy
1a72f6c5 239 TH2F * fhBadClusterMaxCellECross; //! 1 - Energy in cross around max energy cell / max energy cell vs cluster energy, bad clusters
4c8f7c2e 240
39de6caa 241 // Cluster cell size
649b825d 242 TH2F * fhDeltaIEtaDeltaIPhiE0[2]; //! Difference between max cell index and farthest cell, eta vs phi, E < 2 GeV, with and without matching;
243 TH2F * fhDeltaIEtaDeltaIPhiE2[2]; //! Difference between max cell index and farthest cell, eta vs phi, 2 < E < 6 GeV, with and without matching;
244 TH2F * fhDeltaIEtaDeltaIPhiE6[2]; //! Difference between max cell index and farthest cell, eta vs phi, E > 6 GeV, with and without matching;
245 TH2F * fhDeltaIA[2]; //! Cluster "asymmetry" in cell terms vs E, with and without matching
246 TH2F * fhDeltaIAL0[2]; //! Cluster "asymmetry" in cell units vs Lambda0 for E > 0.5 GeV, n cells in cluster > 3, with and without matching
247 TH2F * fhDeltaIAL1[2]; //! Cluster "asymmetry" in cell units vs Lambda1 for E > 0.5 GeV, n cells in cluster > 3, with and without matching
248 TH2F * fhDeltaIANCells[2] ; //! Cluster "asymmetry" in cell units vs number of cells in cluster for E > 0.5, with and without matching
1a83b960 249 TH2F * fhDeltaIAMC[4]; //! Cluster "asymmetry" in cell terms vs E, from MC photon, electron, conversion or hadron.
250 TH2F * fhBadClusterDeltaIEtaDeltaIPhiE0; //! Difference between max cell index and farthest cell, eta vs phi, E < 2 GeV, with and without matching; bad clusters.
251 TH2F * fhBadClusterDeltaIEtaDeltaIPhiE2; //! Difference between max cell index and farthest cell, eta vs phi, 2 < E < 6 GeV, with and without matching; bad clusters.
252 TH2F * fhBadClusterDeltaIEtaDeltaIPhiE6; //! Difference between max cell index and farthest cell, eta vs phi, E > 6 GeV, with and without matching; bad clusters.
253 TH2F * fhBadClusterDeltaIA; //! Cluster "asymmetry" in cell terms vs E, with and without matching; bad clusters.
254
39de6caa 255 //Cluster/cell Position
521636d2 256 TH2F * fhRNCells ; //! R=sqrt(x^2+y^2) (cm) cluster distribution vs N cells in cluster
257 TH2F * fhXNCells ; //! X (cm) cluster distribution vs N cells in cluster
258 TH2F * fhYNCells ; //! Y (cm) cluster distribution vs N cells in cluster
259 TH2F * fhZNCells ; //! Z (cm) cluster distribution vs N cells in cluster
0866d83a 260
521636d2 261 TH2F * fhRE ; //! R=sqrt(x^2+y^2) (cm) cluster distribution vs cluster energy
262 TH2F * fhXE ; //! X (cm) cluster distribution vs cluster energy
263 TH2F * fhYE ; //! Y (cm) cluster distribution vs cluster energy
264 TH2F * fhZE ; //! Z (cm) cluster distribution vs cluster energy
265 TH3F * fhXYZ; //! cluster X vs Y vs Z (cm)
0866d83a 266
521636d2 267 TH2F * fhRCellE ; //! R=sqrt(x^2+y^2) (cm) cell distribution vs cell energy
268 TH2F * fhXCellE ; //! X (cm) cell distribution vs cell energy
269 TH2F * fhYCellE ; //! Y (cm) cell distribution vs cell energy
270 TH2F * fhZCellE ; //! Z (cm) cell distribution vs cell energy
271 TH3F * fhXYZCell; //! cell X vs Y vs Z (cm)
272
273 TH2F * fhDeltaCellClusterRNCells ; //! R cluster - R cell distribution (cm) vs N cells in cluster
274 TH2F * fhDeltaCellClusterXNCells ; //! X cluster - X cell distribution (cm) vs N cells in cluster
275 TH2F * fhDeltaCellClusterYNCells ; //! Y cluster - Y cell distribution (cm) vs N cells in cluster
276 TH2F * fhDeltaCellClusterZNCells ; //! Z cluster - Z cell distribution (cm) vs N cells in cluster
0866d83a 277
521636d2 278 TH2F * fhDeltaCellClusterRE ; //! R cluster - R cell distribution (cm) vs cluster energy
279 TH2F * fhDeltaCellClusterXE ; //! X cluster - X cell distribution (cm) vs cluster energy
280 TH2F * fhDeltaCellClusterYE ; //! Y cluster - Y cell distribution (cm) vs cluster energy
281 TH2F * fhDeltaCellClusterZE ; //! Z cluster - Z cell distribution (cm) vs cluster energy
0866d83a 282
9725fd2a 283 //Calo Cells
521636d2 284 TH1F * fhNCells; //! Number of towers/crystals with signal
285 TH1F * fhAmplitude; //! Amplitude measured in towers/crystals
286 TH2F * fhAmpId; //! Amplitude measured in towers/crystals vs id of tower.
287 TH3F * fhEtaPhiAmp; //! eta vs phi vs amplitude, cells
a82b4462 288
521636d2 289 TH1F * fhTime; //! Time measured in towers/crystals
1a72f6c5 290 TH2F * fhTimeVz; //! Time measured in towers/crystals vs vertex z component, for E > 0.5
521636d2 291 TH2F * fhTimeId; //! Time vs Absolute cell Id
292 TH2F * fhTimeAmp; //! Time vs Amplitude
2302a644 293
1a72f6c5 294 TH2F * fhCellECross; //! 1 - Energy in cross around cell / cell energy
295
a0bb4dc0 296 //Calorimeters Correlation
521636d2 297 TH2F * fhCaloCorrNClusters; //! EMCAL vs PHOS, number of clusters
298 TH2F * fhCaloCorrEClusters; //! EMCAL vs PHOS, total measured cluster energy
299 TH2F * fhCaloCorrNCells; //! EMCAL vs PHOS, number of cells
300 TH2F * fhCaloCorrECells; //! EMCAL vs PHOS, total measured cell energy
a0bb4dc0 301
798a9b04 302 //V0 Correlation
521636d2 303 TH2F * fhCaloV0SCorrNClusters; //! Calo vs V0 signal , number of clusters
304 TH2F * fhCaloV0SCorrEClusters; //! Calo vs V0 signal, total measured cluster energy
305 TH2F * fhCaloV0SCorrNCells; //! Calo vs V0 signal, number of cells
306 TH2F * fhCaloV0SCorrECells; //! Calo vs V0 signal, total measured cell energy
307 TH2F * fhCaloV0MCorrNClusters; //! Calo vs V0 multiplicity , number of clusters
308 TH2F * fhCaloV0MCorrEClusters; //! Calo vs V0 multiplicity, total measured cluster energy
309 TH2F * fhCaloV0MCorrNCells; //! Calo vs V0 multiplicity, number of cells
310 TH2F * fhCaloV0MCorrECells; //! Calo vs V0 multiplicity, total measured cell energy
798a9b04 311
312 //Track Correlation
521636d2 313 TH2F * fhCaloTrackMCorrNClusters; //! Calo vs Track Multiplicity, number of clusters
314 TH2F * fhCaloTrackMCorrEClusters; //! Calo vs Track Multiplicity, total measured cluster energy
315 TH2F * fhCaloTrackMCorrNCells; //! Calo vs V0 Track Multiplicity, number of cells
316 TH2F * fhCaloTrackMCorrECells; //! Calo vs V0 Track Multipliticy, total measured cell energy
798a9b04 317
a5fafd85 318 //Module histograms
649b825d 319 TH2F * fhEMod ; //! cluster E distribution for different module, Reco
320 TH2F * fhAmpMod ; //! cell amplitude distribution for different module, Reco
321 TH2F * fhTimeMod ; //! cell time distribution for different module, Reco
35c71d5c 322 TH2F * fhNClustersMod ; //! Number of clusters for different module, Reco
649b825d 323 TH2F * fhNCellsMod ; //! Number of towers/crystals with signal different module, Reco
521636d2 324 TH2F ** fhNCellsPerClusterMod ; //! N cells per clusters different module, Reco
715fd81f 325 TH2F ** fhNCellsPerClusterModNoCut ; //! N cells per clusters different module, Reco, No cut
649b825d 326 TH2F * fhGridCells ; //! Cells ordered in column/row for different module, Reco
327 TH2F * fhGridCellsE ; //! Cells ordered in column/row for different module, weighted with energy, Reco
328 TH2F * fhGridCellsTime ; //! Cells ordered in column/row for different module, weighted with time, Reco
521636d2 329 TH2F ** fhTimeAmpPerRCU; //! Time vs Amplitude measured in towers/crystals different RCU
35c71d5c 330 TH2F ** fhIMMod; //! cluster pairs invariant mass, different module,
c1ac3823 331
649b825d 332 // Weight studies
333
f1538a5f 334 TH2F * fhECellClusterRatio; //! e cell / e cluster vs e cluster
335 TH2F * fhECellClusterLogRatio; //! log (e cell / e cluster) vs e cluster
336 TH2F * fhEMaxCellClusterRatio; //! e max cell / e cluster vs e cluster
337 TH2F * fhEMaxCellClusterLogRatio; //! log (e max cell / e cluster) vs e cluster
649b825d 338
f1538a5f 339 TH2F * fhLambda0ForW0[14]; //! L0 for 7 defined w0= 3, 3.5 ... 6
340 //TH2F * fhLambda1ForW0[7]; //! L1 for 7 defined w0= 3, 3.5 ... 6
649b825d 341
f1538a5f 342 TH2F * fhLambda0ForW0MC[14][5]; //! L0 for 7 defined w0= 3, 3.5 ... 6, depending on the particle of origin
343 //TH2F * fhLambda1ForW0MC[7][5]; //! L1 for 7 defined w0= 3, 3.5 ... 6, depending on the particle of origin
344
345 // Exotic studies
346
765206a5 347 TH2F * fhExoNCell [10][5] ; //! Number of cells per cluster for different cuts
348 TH2F * fhExoL0 [10][5] ; //! Long shower shape axis for exotic
349 TH2F * fhExoL1 [10][5] ; //! Short shower shape axis for exotic
350 TH2F * fhExoECross [10][5] ; //! E cross for max cell in cluster, for different cuts
351 TH2F * fhExoTime [10][5] ; //! Time of exotic cluster, for different cuts
352 TH2F * fhExoDTime [10] ; //! Difference in time between cell with max energy and rest of cells for exotic
353 TH2F * fhExoL0NCell[10][5] ; //! Lambda0 vs n cells in cluster for several E cross cuts and cluster with E > 5
354 TH2F * fhExoL0ECross ; //! Lambda0 vs E cross fraction for clusters with E > 5 GeV
355 TH2F * fhExoL1NCell[10][5] ; //! Lambda1 vs n cells in cluster for several E cross cuts and cluster with E > 5
356 TH2F * fhExoL1ECross ; //! Lambda1 vs E cross fraction for clusters with E > 5 GeV
649b825d 357
715fd81f 358 //Pure MC
35c71d5c 359
c5693f62 360 enum mcTypes {kmcPhoton = 0, kmcPi0 = 1, kmcEta = 2, kmcElectron = 3, kmcNeHadron = 4, kmcChHadron = 5 };
35c71d5c 361
362 TH2F * fhRecoMCE[6][2] ; //! E generated particle vs reconstructed E
649b825d 363 TH2F * fhRecoMCPhi[6][2] ; //! phi generated particle vs reconstructed phi
364 TH2F * fhRecoMCEta[6][2] ; //! eta generated particle vs reconstructed Eta
35c71d5c 365 TH2F * fhRecoMCDeltaE[6][2] ; //! Gen-Reco E generated particle vs reconstructed E
649b825d 366 TH2F * fhRecoMCRatioE[6][2] ; //! Reco/Gen E generated particle vs reconstructed E
35c71d5c 367 TH2F * fhRecoMCDeltaPhi[6][2]; //! Gen-Reco phi generated particle vs reconstructed E
368 TH2F * fhRecoMCDeltaEta[6][2]; //! Gen-Reco eta generated particle vs reconstructed E
369
370 TH1F * fhGenMCE[4] ; //! pt of primary particle
371 TH2F * fhGenMCEtaPhi[4] ; //! eta vs phi of primary particle
372 TH1F * fhGenMCAccE[4] ; //! pt of primary particle, in acceptance
373 TH2F * fhGenMCAccEtaPhi[4] ; //! eta vs phi of primary particle, in acceptance
374
521636d2 375 TH2F * fhEMVxyz ; //! Electromagnetic particle production vertex
376 TH2F * fhEMR ; //! Electromagnetic distance to vertex vs rec energy
377 TH2F * fhHaVxyz ; //! Hadron production vertex
378 TH2F * fhHaR ; //! Hadron distance to vertex vs rec energy
9725fd2a 379
521636d2 380 //Histograms for MC track-matching
d55bb5e1 381 TH2F * fh1EOverP; //! p/E for track-cluster matches
a87e069d 382 TH2F * fh2dR; //! distance between projected track and cluster (eta-phi units)
3bfc4732 383 TH2F * fh2EledEdx; //! dE/dx vs. momentum for electron candidates
384 TH2F * fh2MatchdEdx; //! dE/dx vs. momentum for all matches
385
d55bb5e1 386 TH2F * fhMCEle1EOverP; //! p/E for track-cluster matches, MC electrons
3bfc4732 387 TH1F * fhMCEle1dR; //! distance between projected track and cluster, MC electrons
388 TH2F * fhMCEle2MatchdEdx; //! dE/dx vs. momentum for all matches, MC electrons
389
d55bb5e1 390 TH2F * fhMCChHad1EOverP; //! p/E for track-cluster matches, MC charged hadrons
3bfc4732 391 TH1F * fhMCChHad1dR; //! distance between projected track and cluster, MC charged hadrons
392 TH2F * fhMCChHad2MatchdEdx; //! dE/dx vs. momentum for all matches, MC charged
393
d55bb5e1 394 TH2F * fhMCNeutral1EOverP; //! p/E for track-cluster matches, MC neutral
3bfc4732 395 TH1F * fhMCNeutral1dR; //! distance between projected track and cluster, MC neutral
396 TH2F * fhMCNeutral2MatchdEdx; //! dE/dx vs. momentum for all matches, MC neutral
397
a054a582 398 TH2F * fh1EOverPR02; //! p/E for track-cluster matches, dR < 0.2
399 TH2F * fhMCEle1EOverPR02; //! p/E for track-cluster matches, dR < 0.2, MC electrons
400 TH2F * fhMCChHad1EOverPR02; //! p/E for track-cluster matches, dR < 0.2, MC charged hadrons
401 TH2F * fhMCNeutral1EOverPR02; //! p/E for track-cluster matches, dR < 0.2, MC neutral
402
403 TH2F * fh1EleEOverP; //! p/E for track-cluster matches, dR < 0.2, 60 < dEdx < 100
404 TH2F * fhMCEle1EleEOverP; //! p/E for track-cluster matches, dR < 0.2, 60 < dEdx < 100, MC electrons
405 TH2F * fhMCChHad1EleEOverP; //! p/E for track-cluster matches, dR < 0.2, 60 < dEdx < 100, MC charged hadrons
406 TH2F * fhMCNeutral1EleEOverP; //! p/E for track-cluster matches, dR < 0.2, 60 < dEdx < 100, MC neutral
407
06e5656a 408
1a83b960 409 AliAnaCalorimeterQA & operator = (const AliAnaCalorimeterQA & qa) ;//cpy assignment
410 AliAnaCalorimeterQA( const AliAnaCalorimeterQA & qa) ; // cpy ctor
c5693f62 411
765206a5 412 ClassDef(AliAnaCalorimeterQA,26)
9725fd2a 413} ;
414
415
416#endif //ALIANACALORIMETERQA_H
417
418
419