]>
Commit | Line | Data |
---|---|---|
d7d7e825 | 1 | /** VERSION NUMBER 1.1 */ |
a19c3402 | 2 | |
bf008563 | 3 | /************************************************************************** |
4 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * * | |
6 | * Author: Ana Marin, Kathrin Koch, Kenneth Aamodt | |
7 | * Contact: kenneth.aamodt@cern.ch | |
8 | * Version 1.1 * | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
67381a40 | 18 | const int c_array_size = 15; |
bf008563 | 19 | |
d7d7e825 | 20 | class AliAnalysisDataContainer; |
21 | class AliGammaConversionHistograms; | |
6c84d371 | 22 | class AliAnalysisTaskGammaConversion; |
332f1f44 | 23 | class AliAnalysisTaskGammaJet; |
a19c3402 | 24 | |
d7d7e825 | 25 | // set this to a number if you want to analyze a set number of files |
26 | // if it is 0 it will analyze the files listed in the data list | |
6c84d371 | 27 | Int_t kGCnumberOfFilesToAnalyze=0; |
a19c3402 | 28 | |
6c84d371 | 29 | Bool_t kGCrunNeutralMeson = kTRUE; |
30 | Bool_t kGCrunJet = kFALSE; | |
31 | Bool_t kGCrunChic = kFALSE; | |
1e7846f4 | 32 | Bool_t kGCrunCF = kFALSE; |
037dc2db | 33 | Bool_t kGCcalculateBackground = kTRUE; |
34 | Bool_t kGCdoNeutralMesonV0MCCheck =kFALSE; | |
48682642 | 35 | Bool_t kGCrunOmegaMeson = kFALSE; |
ca6d4600 | 36 | Bool_t kGCrunRES = kFALSE; |
9c1cb6f7 | 37 | Bool_t kGCRecalculateV0ForGamma = kFALSE; |
332f1f44 | 38 | //Svein |
39 | Bool_t kGCRunGammaJetTask = kFALSE; | |
a19c3402 | 40 | /** ---------------------------------- define cuts here ------------------------------------*/ |
a96760c8 | 41 | TString kGCAnalysisCutSelectionId="900356200010031"; // do not change here, use -set-cut-selection in argument instead |
70ef88b5 | 42 | |
43 | Int_t kGCNEventsForBGCalculation=10; | |
48682642 | 44 | |
6c84d371 | 45 | Int_t kGCpidOfNegativeTrack=11; |
46 | Int_t kGCpidOfPositiveTrack=-11; | |
a19c3402 | 47 | |
10e3319b | 48 | Double_t kGCmaxVertexZ = 10.; |
6c84d371 | 49 | Double_t kGCmaxRCut = 180.; |
48682642 | 50 | Double_t kGCetaCut = 0.9; |
6c84d371 | 51 | Double_t kGCptCut = 0.02; |
48682642 | 52 | Double_t kGCsingleptCut = 0.02; |
a0b94e5c | 53 | Double_t kGCmaxZCut = 240.; |
48682642 | 54 | Double_t kGCminClsTPCCut= 0.; |
55 | Double_t kGCchi2CutConversion = 30.; | |
9640a3d1 | 56 | Double_t kGCchi2CutMeson = 50.; |
9c1cb6f7 | 57 | Double_t kGCalphaCutMeson = 0.7; |
67381a40 | 58 | Double_t kGCalphaMinCutMeson = 0.0; |
a19c3402 | 59 | |
52a15f71 | 60 | Double_t kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut))); |
61 | Double_t kGCLineCutZValue = 7.; | |
62 | ||
63 | ||
6c84d371 | 64 | Double_t kGCxVertexCut = 0.; |
65 | Double_t kGCyVertexCut = 0.; | |
66 | Double_t kGCzVertexCut = 0.; | |
a19c3402 | 67 | |
6c84d371 | 68 | Double_t kGCsigmaCutGammaMass=0.0001; |
a19c3402 | 69 | |
6c84d371 | 70 | Bool_t kGCuseImprovedVertex = kTRUE; |
a19c3402 | 71 | |
77880bd8 | 72 | Bool_t kGCUseOnFlyV0Finder = kTRUE; |
73 | ||
a19c3402 | 74 | // define masses of different particles, this will be used by the KF particle |
75 | // together with the width to set mass constraints. Units in GeV. | |
6c84d371 | 76 | Double_t kGCelectronMass = 0.00051099892; |
77 | Double_t kGCgammaMass = 0.; | |
78 | Double_t kGCpi0Mass = 0.1349766; | |
79 | Double_t kGCetaMass = 0.54751; | |
a19c3402 | 80 | |
81 | // define the width constraint used by KF particle. | |
6c84d371 | 82 | Double_t kGCgammaWidth = 0.01; |
83 | Double_t kGCpi0Width = 0.01; | |
84 | Double_t kGCetaWidth = 0.01; | |
a19c3402 | 85 | |
86 | // define the probability of track being an electron | |
037dc2db | 87 | Double_t kGCprobElectron = 0.000; |
32a6d407 | 88 | |
45795c36 | 89 | Double_t kGCminOpeningAngleGhostCut = 0.005; |
a19c3402 | 90 | |
91 | /** ----------------------------------end define cuts here----------------------------------*/ | |
92 | ||
93 | /** -------------------------------- Phi/R Mapping ---------------------------------------*/ | |
a0b94e5c | 94 | Int_t kGCnPhiIndex = 8; |
f5f99b3d | 95 | Int_t kGCnRIndex = 14; |
a19c3402 | 96 | |
6c84d371 | 97 | Double_t kGCminRadius = 0.; |
98 | Double_t kGCmaxRadius = 200.; | |
99 | Double_t kGCminPhi = -TMath::Pi(); | |
100 | Double_t kGCmaxPhi = TMath::Pi(); | |
a19c3402 | 101 | /** ------------------------------- end Phi/R Mapping ------------------------------------*/ |
102 | ||
a0b94e5c | 103 | Bool_t kGCdoOwnXYZCalculation = kFALSE; |
104 | ||
332f1f44 | 105 | /** -------------AOD stuff ---------------------------------------------------------------*/ |
106 | TString kGCDeltaAODFilename = "AliAODGammaConversion.root"; //If empty, writes to standard common aod file. | |
d765d400 | 107 | Bool_t kGCWriteAOD =kTRUE; // Turn on AOD |
108 | Bool_t kGCForceAOD = kFALSE; // Call AliAnalysisManager::SetFillAOD(kTRUE) every ESD event. | |
109 | ||
a19c3402 | 110 | /** ------------------- define which histograms to plot here --------------------------------*/ |
111 | /** NB: to change the bin numbers, see below the histogram flags */ | |
d7d7e825 | 112 | |
113 | // NEUTRAL MESON PLOTS | |
6c84d371 | 114 | Bool_t kGCplotMCConversionR = kTRUE; |
115 | Bool_t kGCplotMCConversionZR = kTRUE; | |
116 | Bool_t kGCplotMCConversionXY = kTRUE; | |
117 | Bool_t kGCplotMCConversionOpeningAngle = kTRUE; | |
9640a3d1 | 118 | Bool_t kGCplotMCConvGammaEAsymmetryP = kTRUE; |
119 | Bool_t kGCplotMCConvGammaPAsymmetryP = kTRUE; | |
120 | ||
6c84d371 | 121 | |
45795c36 | 122 | Bool_t kGCplotMCEEnergy = kFALSE; |
6c84d371 | 123 | Bool_t kGCplotMCEPt = kTRUE; |
124 | Bool_t kGCplotMCEEta = kTRUE; | |
125 | Bool_t kGCplotMCEPhi = kTRUE; | |
ebcfaa7e | 126 | Bool_t kGCplotMCENTPCClusters = kTRUE; |
127 | Bool_t kGCplotMCENITSClusters = kTRUE; | |
6c84d371 | 128 | |
45795c36 | 129 | Bool_t kGCplotMCPEnergy = kFALSE; |
6c84d371 | 130 | Bool_t kGCplotMCPPt = kTRUE; |
131 | Bool_t kGCplotMCPEta = kTRUE; | |
132 | Bool_t kGCplotMCPPhi = kTRUE; | |
ebcfaa7e | 133 | Bool_t kGCplotMCPNTPCClusters = kTRUE; |
134 | Bool_t kGCplotMCPNITSClusters = kTRUE; | |
6c84d371 | 135 | |
45795c36 | 136 | Bool_t kGCplotMCallGammaEnergy = kFALSE; |
6c84d371 | 137 | Bool_t kGCplotMCallGammaPt = kTRUE; |
138 | Bool_t kGCplotMCallGammaEta = kTRUE; | |
139 | Bool_t kGCplotMCallGammaPhi = kTRUE; | |
140 | Bool_t kGCplotMCallGammaRapid = kTRUE; | |
141 | ||
142 | ||
45795c36 | 143 | Bool_t kGCplotMCConvGammaEnergy = kFALSE; |
6c84d371 | 144 | Bool_t kGCplotMCConvGammaPt = kTRUE; |
145 | Bool_t kGCplotMCConvGammaEta = kTRUE; | |
146 | Bool_t kGCplotMCConvGammaPhi = kTRUE; | |
147 | Bool_t kGCplotMCConvGammaRapid = kTRUE; | |
148 | Bool_t kGCplotMCConvGammaPtvsEta = kTRUE; | |
149 | ||
45795c36 | 150 | Bool_t kGCplotMCallDirectGammaEnergy = kFALSE; |
6c84d371 | 151 | Bool_t kGCplotMCallDirectGammaPt = kTRUE; |
152 | Bool_t kGCplotMCallDirectGammaEta = kTRUE; | |
153 | Bool_t kGCplotMCallDirectGammaPhi = kTRUE; | |
154 | Bool_t kGCplotMCallDirectGammaRapid = kTRUE; | |
155 | ||
45795c36 | 156 | Bool_t kGCplotMCConvDirectGammaEnergy = kFALSE; |
6c84d371 | 157 | Bool_t kGCplotMCConvDirectGammaPt = kTRUE; |
158 | Bool_t kGCplotMCConvDirectGammaEta = kTRUE; | |
159 | Bool_t kGCplotMCConvDirectGammaPhi = kTRUE; | |
160 | Bool_t kGCplotMCConvDirectGammaRapid = kTRUE; | |
161 | ||
162 | Bool_t kGCplotMCMotherEta = kTRUE; | |
163 | Bool_t kGCplotMCMotherRapid = kTRUE; | |
164 | Bool_t kGCplotMCMotherPhi = kTRUE; | |
165 | Bool_t kGCplotMCMotherPt = kTRUE; | |
45795c36 | 166 | Bool_t kGCplotMCMotherEnergy = kFALSE; |
6c84d371 | 167 | Bool_t kGCplotMCMotherMass = kTRUE; |
168 | Bool_t kGCplotMCMotherOpeningAngle = kTRUE; | |
169 | Bool_t kGCplotMCMotherR = kTRUE; | |
d5f99c2b | 170 | Bool_t kGCplotMCMotherZR = kFALSE; |
171 | Bool_t kGCplotMCMotherXY = kFALSE; | |
6c84d371 | 172 | Bool_t kGCplotMCMotherPtvsEtaWithinAcceptance = kTRUE; |
173 | Bool_t kGCplotMCMotherPtvsRapidWithinAcceptance = kTRUE; | |
174 | Bool_t kGCplotMCMotherPtvsEtaConvGammaWithinAcceptance = kTRUE; | |
175 | Bool_t kGCplotMCMotherPtvsRapidConvGammaWithinAcceptance = kTRUE; | |
176 | Bool_t kGCplotMCMotherSpectra = kTRUE; | |
177 | ||
178 | Bool_t kGCplotMCPi0Eta = kTRUE; | |
179 | Bool_t kGCplotMCPi0Rapid = kTRUE; | |
180 | Bool_t kGCplotMCPi0Phi = kTRUE; | |
181 | Bool_t kGCplotMCPi0Pt = kTRUE; | |
48682642 | 182 | Bool_t kGCplotMCPi0PtFiducial = kTRUE; |
183 | Bool_t kGCplotMCPi0PtWithinAcceptanceFiducial = kTRUE; | |
184 | Bool_t kGCplotMCPi0PtConvGammaWithinAcceptanceFiducial = kTRUE; | |
10e3319b | 185 | Bool_t kGCplotMCPi0OpeningPtConvGammaWithinAcceptance = kTRUE; |
186 | Bool_t kGCplotMCPi0PtGammaPtConvGammaWithinAcceptance = kTRUE; | |
45795c36 | 187 | Bool_t kGCplotMCPi0Energy = kFALSE; |
6c84d371 | 188 | Bool_t kGCplotMCPi0Mass = kTRUE; |
48682642 | 189 | Bool_t kGCplotMCPi0Alpha = kTRUE; |
6c84d371 | 190 | Bool_t kGCplotMCPi0OpeningAngle = kTRUE; |
191 | Bool_t kGCplotMCPi0R = kTRUE; | |
45795c36 | 192 | Bool_t kGCplotMCPi0ZR = kFALSE; |
193 | Bool_t kGCplotMCPi0XY = kFALSE; | |
6c84d371 | 194 | Bool_t kGCplotMCPi0PtvsEtaWithinAcceptance = kTRUE; |
195 | Bool_t kGCplotMCPi0PtvsRapidWithinAcceptance = kTRUE; | |
196 | Bool_t kGCplotMCPi0PtvsEtaConvGammaWithinAcceptance = kTRUE; | |
197 | Bool_t kGCplotMCPi0PtvsRapidConvGammaWithinAcceptance = kTRUE; | |
198 | Bool_t kGCplotMCPi0ZRConvGammaWithinAcceptance = kTRUE; | |
199 | ||
200 | Bool_t kGCplotMCPi0SecondaryEta = kTRUE; | |
201 | Bool_t kGCplotMCPi0SecondaryRapid = kTRUE; | |
202 | Bool_t kGCplotMCPi0SecondaryPhi = kTRUE; | |
203 | Bool_t kGCplotMCPi0SecondaryPt = kTRUE; | |
45795c36 | 204 | Bool_t kGCplotMCPi0SecondaryEnergy = kFALSE; |
6c84d371 | 205 | Bool_t kGCplotMCPi0SecondaryMass = kTRUE; |
206 | Bool_t kGCplotMCPi0SecondaryOpeningAngle = kTRUE; | |
207 | Bool_t kGCplotMCPi0SecondaryR = kTRUE; | |
45795c36 | 208 | Bool_t kGCplotMCPi0SecondaryZR = kFALSE; |
209 | Bool_t kGCplotMCPi0SecondaryXY = kFALSE; | |
6c84d371 | 210 | Bool_t kGCplotMCPi0SecondaryPtvsEtaWithinAcceptance = kTRUE; |
211 | Bool_t kGCplotMCPi0SecondaryPtvsRapidWithinAcceptance = kTRUE; | |
212 | Bool_t kGCplotMCPi0SecondaryPtvsEtaConvGammaWithinAcceptance = kTRUE; | |
213 | Bool_t kGCplotMCPi0SecondaryPtvsRapidConvGammaWithinAcceptance = kTRUE; | |
214 | ||
215 | Bool_t kGCplotMCEtaEta = kTRUE; | |
216 | Bool_t kGCplotMCEtaRapid = kTRUE; | |
217 | Bool_t kGCplotMCEtaPhi = kTRUE; | |
218 | Bool_t kGCplotMCEtaPt = kTRUE; | |
45795c36 | 219 | Bool_t kGCplotMCEtaEnergy = kFALSE; |
6c84d371 | 220 | Bool_t kGCplotMCEtaMass = kTRUE; |
221 | Bool_t kGCplotMCEtaOpeningAngleGamma = kTRUE; | |
222 | Bool_t kGCplotMCEtaR = kTRUE; | |
45795c36 | 223 | Bool_t kGCplotMCEtaZR = kFALSE; |
224 | Bool_t kGCplotMCEtaXY = kFALSE; | |
6c84d371 | 225 | Bool_t kGCplotMCEtaPtvsEtaWithinAcceptance = kTRUE; |
226 | Bool_t kGCplotMCEtaPtvsRapidWithinAcceptance = kTRUE; | |
227 | Bool_t kGCplotMCEtaPtvsEtaConvGammaWithinAcceptance = kTRUE; | |
228 | Bool_t kGCplotMCEtaPtvsRapidConvGammaWithinAcceptance = kTRUE; | |
10e3319b | 229 | Bool_t kGCplotMCEtaOpeningPtConvGammaWithinAcceptance = kTRUE; |
230 | Bool_t kGCplotMCEtaPtGammaPtConvGammaWithinAcceptance = kTRUE; | |
6c84d371 | 231 | Bool_t kGCplotMCEtaZRConvGammaWithinAcceptance = kTRUE; |
32a6d407 | 232 | |
a19c3402 | 233 | // Histograms from esd tracks |
9640a3d1 | 234 | Bool_t kGCplotESDConversionR = kTRUE; |
235 | Bool_t kGCplotESDConversionZR = kTRUE; | |
236 | Bool_t kGCplotESDConversionXY = kTRUE; | |
237 | Bool_t kGCplotESDConversionOpeningAngle = kTRUE; | |
238 | Bool_t kGCplotESDConvGammaCosPointingAngle = kTRUE; | |
239 | Bool_t kGCplotESDConvGammaDcaDaugthers = kTRUE; | |
240 | Bool_t kGCplotESDConvGammaNormDcaDistDaugthers = kTRUE; | |
241 | Bool_t kGCplotESDConvGammaLikelihoodAP = kTRUE; | |
242 | Bool_t kGCplotESDConvGammaEAsymmetryP = kTRUE; | |
243 | Bool_t kGCplotESDConvGammaPAsymmetryP = kTRUE; | |
244 | Bool_t kGCplotESDConvGammaEdEdxP = kTRUE; | |
245 | Bool_t kGCplotESDConvGammaPdEdxP = kTRUE; | |
9c1cb6f7 | 246 | Bool_t kGCplotESDConvGammaEeProbP = kTRUE; |
247 | Bool_t kGCplotESDConvGammaPeProbP = kTRUE; | |
248 | Bool_t kGCplotESDConvGammaEmupiProbP = kTRUE; | |
249 | Bool_t kGCplotESDConvGammaPmupiProbP = kTRUE; | |
250 | ||
48682642 | 251 | Bool_t kGCplotESDConvGammaQtAlfa = kTRUE; |
9640a3d1 | 252 | |
6c84d371 | 253 | |
45795c36 | 254 | Bool_t kGCplotESDEEnergy = kFALSE; |
6c84d371 | 255 | Bool_t kGCplotESDEPt = kTRUE; |
256 | Bool_t kGCplotESDEEta = kTRUE; | |
257 | Bool_t kGCplotESDEPhi = kTRUE; | |
ebcfaa7e | 258 | Bool_t kGCplotESDENTPCClusters = kTRUE; |
259 | Bool_t kGCplotESDENITSClusters = kTRUE; | |
6c84d371 | 260 | |
45795c36 | 261 | Bool_t kGCplotESDPEnergy = kFALSE; |
6c84d371 | 262 | Bool_t kGCplotESDPPt = kTRUE; |
263 | Bool_t kGCplotESDPEta = kTRUE; | |
264 | Bool_t kGCplotESDPPhi = kTRUE; | |
ebcfaa7e | 265 | Bool_t kGCplotESDPNTPCClusters = kTRUE; |
266 | Bool_t kGCplotESDPNITSClusters = kTRUE; | |
6c84d371 | 267 | |
45795c36 | 268 | Bool_t kGCplotESDConvGammaEnergy = kFALSE; |
6c84d371 | 269 | Bool_t kGCplotESDConvGammaPt = kTRUE; |
270 | Bool_t kGCplotESDConvGammaEta = kTRUE; | |
271 | Bool_t kGCplotESDConvGammaPhi = kTRUE; | |
272 | Bool_t kGCplotESDConvGammaMass = kTRUE; | |
273 | Bool_t kGCplotESDConvGammaWidth = kTRUE; | |
274 | Bool_t kGCplotESDConvGammaChi2 = kTRUE; | |
275 | Bool_t kGCplotESDConvGammaNDF = kTRUE; | |
276 | Bool_t kGCplotESDConvGammaRapid = kTRUE; | |
277 | Bool_t kGCplotESDConvGammaPtvsEta = kTRUE; | |
278 | Bool_t kGCplotESDConvGammaPtvsChi2 = kTRUE; | |
279 | Bool_t kGCplotESDConvGammaEtavsChi2 = kTRUE; | |
280 | ||
9640a3d1 | 281 | |
037dc2db | 282 | Bool_t kGCplotESDTrueDalitzContaminationR = kTRUE; |
45795c36 | 283 | Bool_t kGCplotESDTrueConvGammaEnergy = kFALSE; |
6c84d371 | 284 | Bool_t kGCplotESDTrueConvGammaPt = kTRUE; |
285 | Bool_t kGCplotESDTrueConvGammaEta = kTRUE; | |
286 | Bool_t kGCplotESDTrueConvGammaPhi = kTRUE; | |
287 | Bool_t kGCplotESDTrueConvGammaMass = kTRUE; | |
288 | Bool_t kGCplotESDTrueConvGammaWidth = kTRUE; | |
289 | Bool_t kGCplotESDTrueConvGammaChi2 = kTRUE; | |
290 | Bool_t kGCplotESDTrueConvGammaNDF = kTRUE; | |
291 | Bool_t kGCplotESDTrueConvGammaRapid = kTRUE; | |
292 | Bool_t kGCplotESDTrueConvGammaPtvsEta = kTRUE; | |
293 | Bool_t kGCplotESDTrueConversionR = kTRUE; | |
45795c36 | 294 | Bool_t kGCplotESDTrueConversionZR = kFALSE; |
295 | Bool_t kGCplotESDTrueConversionXY = kFALSE; | |
6c84d371 | 296 | Bool_t kGCplotESDTrueConversionOpeningAngle = kTRUE; |
9640a3d1 | 297 | Bool_t kGCplotESDTrueConvGammaCosPointingAngle = kTRUE; |
298 | Bool_t kGCplotESDTrueConvGammaDcaDaugthers = kTRUE; | |
299 | Bool_t kGCplotESDTrueConvGammaNormDcaDistDaugthers = kTRUE; | |
300 | Bool_t kGCplotESDTrueConvGammaLikelihoodAP = kTRUE; | |
301 | Bool_t kGCplotESDTrueConvGammaEAsymmetryP = kTRUE; | |
302 | Bool_t kGCplotESDTrueConvGammaPAsymmetryP = kTRUE; | |
303 | Bool_t kGCplotESDTrueConvGammaEdEdxP = kTRUE; | |
304 | Bool_t kGCplotESDTrueConvGammaPdEdxP = kTRUE; | |
70ef88b5 | 305 | Bool_t kGCplotESDTrueConvGammaQtAlfa = kTRUE; |
9640a3d1 | 306 | |
6c84d371 | 307 | Bool_t kGCplotESDTrueConvGammaPtvsChi2 = kTRUE; |
308 | Bool_t kGCplotESDTrueConvGammaEtavsChi2 = kTRUE; | |
309 | Bool_t kGCplotESDTrueConvGammaMCPtEta = kTRUE; | |
45795c36 | 310 | Bool_t kGCplotESDTrueConversionMCZR = kFALSE; |
311 | Bool_t kGCplotESDTrueConversionMCXY = kFALSE; | |
6c84d371 | 312 | |
45795c36 | 313 | Bool_t kGCplotESDNoCutConvGammaEnergy = kFALSE; |
6c84d371 | 314 | Bool_t kGCplotESDNoCutConvGammaPt = kTRUE; |
315 | Bool_t kGCplotESDNoCutConvGammaEta = kTRUE; | |
316 | Bool_t kGCplotESDNoCutConvGammaPhi = kTRUE; | |
317 | Bool_t kGCplotESDNoCutConvGammaMass = kTRUE; | |
318 | Bool_t kGCplotESDNoCutConvGammaWidth = kTRUE; | |
319 | Bool_t kGCplotESDNoCutConvGammaChi2 = kTRUE; | |
320 | Bool_t kGCplotESDNoCutConvGammaNDF = kTRUE; | |
321 | Bool_t kGCplotESDNoCutConvGammaRapid = kTRUE; | |
322 | Bool_t kGCplotESDNoCutConvGammaPtvsEta = kTRUE; | |
323 | Bool_t kGCplotESDNoCutConversionR = kTRUE; | |
45795c36 | 324 | Bool_t kGCplotESDNoCutConversionZR = kFALSE; |
325 | Bool_t kGCplotESDNoCutConversionXY = kFALSE; | |
6c84d371 | 326 | Bool_t kGCplotESDNoCutConversionOpeningAngle = kTRUE; |
9640a3d1 | 327 | Bool_t kGCplotESDNoCutConvGammaCosPointingAngle = kTRUE; |
328 | Bool_t kGCplotESDNoCutConvGammaDcaDaugthers = kTRUE; | |
329 | Bool_t kGCplotESDNoCutConvGammaNormDcaDistDaugthers = kTRUE; | |
330 | Bool_t kGCplotESDNoCutConvGammaLikelihoodAP = kTRUE; | |
331 | ||
332 | Bool_t kGCplotESDNoCutConvGammaEAsymmetryP = kTRUE; | |
333 | Bool_t kGCplotESDNoCutConvGammaPAsymmetryP = kTRUE; | |
334 | Bool_t kGCplotESDNoCutConvGammaEdEdxP = kTRUE; | |
335 | Bool_t kGCplotESDNoCutConvGammaPdEdxP = kTRUE; | |
6c84d371 | 336 | Bool_t kGCplotESDNoCutConvGammaPtvsChi2 = kTRUE; |
337 | Bool_t kGCplotESDNoCutConvGammaEtavsChi2 = kTRUE; | |
338 | Bool_t kGCplotESDNoCutConvGammaMCPtEta = kTRUE; | |
45795c36 | 339 | Bool_t kGCplotESDNoCutConversionMCZR = kFALSE; |
340 | Bool_t kGCplotESDNoCutConversionMCXY = kFALSE; | |
6c84d371 | 341 | |
70ef88b5 | 342 | Bool_t kGCplotESDMotherChi2 = kTRUE; |
6c84d371 | 343 | Bool_t kGCplotESDMotherOpeningAngleGamma = kTRUE; |
45795c36 | 344 | Bool_t kGCplotESDMotherEnergy = kFALSE; |
345 | Bool_t kGCplotESDMotherPt = kFALSE; | |
6c84d371 | 346 | Bool_t kGCplotESDMotherEta = kTRUE; |
45795c36 | 347 | Bool_t kGCplotESDMotherPhi = kFALSE; |
348 | Bool_t kGCplotESDMotherMass = kFALSE; | |
349 | Bool_t kGCplotESDMotherR = kFALSE; | |
d5f99c2b | 350 | Bool_t kGCplotESDMotherZR = kFALSE; |
351 | Bool_t kGCplotESDMotherXY = kFALSE; | |
6c84d371 | 352 | Bool_t kGCplotESDMotherRapid = kTRUE; |
353 | ||
354 | Bool_t kGCplotESDBackgroundOpeningAngleGamma = kTRUE; | |
45795c36 | 355 | Bool_t kGCplotESDBackgroundEnergy = kFALSE; |
356 | Bool_t kGCplotESDBackgroundPt = kFALSE; | |
357 | Bool_t kGCplotESDBackgroundEta = kFALSE; | |
358 | Bool_t kGCplotESDBackgroundPhi = kFALSE; | |
359 | Bool_t kGCplotESDBackgroundMass = kFALSE; | |
360 | Bool_t kGCplotESDBackgroundR = kFALSE; | |
d5f99c2b | 361 | Bool_t kGCplotESDBackgroundZR = kFALSE; |
362 | Bool_t kGCplotESDBackgroundXY = kFALSE; | |
45795c36 | 363 | Bool_t kGCplotESDBackgroundRapid = kFALSE; |
6c84d371 | 364 | |
a0b94e5c | 365 | Bool_t kGCplotMapping = kTRUE; |
6c84d371 | 366 | |
367 | Bool_t kGCplotResolutiondPt = kTRUE; | |
368 | Bool_t kGCplotResolutiondR = kTRUE; | |
369 | Bool_t kGCplotResolutiondZ = kTRUE; | |
370 | ||
037dc2db | 371 | Bool_t kGCplotResolutiondRAbs = kTRUE; |
372 | Bool_t kGCplotResolutiondZAbs = kTRUE; | |
373 | Bool_t kGCplotResolutiondPhiAbs = kTRUE; | |
374 | ||
ca6d4600 | 375 | Bool_t kGCplotResolutiondRdPt = kTRUE; |
6c84d371 | 376 | |
377 | Bool_t kGCplotResolutionMCPt = kTRUE; | |
378 | Bool_t kGCplotResolutionMCR = kTRUE; | |
379 | Bool_t kGCplotResolutionMCZ = kTRUE; | |
380 | ||
381 | Bool_t kGCplotResolutionESDPt = kTRUE; | |
382 | Bool_t kGCplotResolutionESDR = kTRUE; | |
383 | Bool_t kGCplotResolutionESDZ = kTRUE; | |
384 | ||
48682642 | 385 | Bool_t kGCplotResolutionPtdPt = kTRUE; |
386 | ||
6c84d371 | 387 | Bool_t kGCplotESDNumberOfV0s = kTRUE; |
388 | Bool_t kGCplotESDNumberOfSurvivingV0s = kTRUE; | |
b5832f95 | 389 | Bool_t kGCplotESDNumberOfContributorsVtx = kTRUE; |
037dc2db | 390 | Bool_t kGCplotESDNumberOfGoodESDTracks = kTRUE; |
a19c3402 | 391 | |
6c3a327c | 392 | // debug histograms |
6c84d371 | 393 | Bool_t kGCplotESDCutGetOnFly = kTRUE; |
394 | Bool_t kGCplotESDCutNContributors = kTRUE; | |
395 | Bool_t kGCplotESDCutLikeSign = kTRUE; | |
396 | Bool_t kGCplotESDCutRefit = kTRUE; | |
397 | Bool_t kGCplotESDCutKink = kTRUE; | |
398 | Bool_t kGCplotESDCutPIDProb = kTRUE; | |
9640a3d1 | 399 | Bool_t kGCplotESDCutdedxSigmaElectronLine=kTRUE; |
400 | Bool_t kGCplotESDCutdedxSigmaPionLine=kTRUE; | |
9c1cb6f7 | 401 | Bool_t kGCplotESDCutPionRejectionLowP =kTRUE; |
402 | Bool_t kGCplotESDCutProtonRejectionLowP=kTRUE; | |
403 | Bool_t kGCplotESDCutKaonRejectionLowP =kTRUE; | |
70ef88b5 | 404 | Bool_t kGCplotESDCutQtGammaSelection=kTRUE; |
6c84d371 | 405 | Bool_t kGCplotESDCutR = kTRUE; |
406 | Bool_t kGCplotESDCutLine = kTRUE; | |
ebcfaa7e | 407 | Bool_t kGCplotESDCutZ = kTRUE; |
48682642 | 408 | Bool_t kGCplotESDCutMinClsTPC = kTRUE; |
9640a3d1 | 409 | Bool_t kGCplotESDGoodV0s = kTRUE; |
ebcfaa7e | 410 | Bool_t kGCplotESDAllV0s = kTRUE; |
411 | Bool_t kGCplotESDAllV0sCurrentFinder = kTRUE; | |
48682642 | 412 | Bool_t kGCplotESDAllV0sCurrentFinderQtAlfa = kTRUE; |
413 | ||
6c84d371 | 414 | Bool_t kGCplotESDCutNDF = kTRUE; |
415 | Bool_t kGCplotESDCutChi2 = kTRUE; | |
416 | Bool_t kGCplotESDCutEta = kTRUE; | |
417 | Bool_t kGCplotESDCutPt = kTRUE; | |
9c1cb6f7 | 418 | Bool_t kGCplotESDCutSinglePt = kTRUE; |
d5f99c2b | 419 | Bool_t kGCplotESDTrueConvGammaTrackLength =kFALSE; |
420 | Bool_t kGCplotESDTrueConvGammaTrackLengthVSInvMass =kFALSE; | |
6c84d371 | 421 | |
422 | Bool_t kGCplotPi0Spectra = kTRUE; | |
423 | Bool_t kGCplotEtaSpectra = kTRUE; | |
48682642 | 424 | Bool_t kGCplotOmegaSpectra = kTRUE; |
a19c3402 | 425 | |
00a6a31a | 426 | /////////////Chi_c Analysis////////////////////////// |
6c84d371 | 427 | Bool_t kGCplotStatsElectrons = kTRUE; |
428 | Bool_t kGCplotRecENegJPsiPtDiff = kTRUE; | |
429 | Bool_t kGCplotRecEPosJPsiPtDiff = kTRUE; | |
430 | Bool_t kGCplotRecEPosENegR = kTRUE; | |
431 | Bool_t kGCplotRecEPosENegEta = kTRUE; | |
432 | Bool_t kGCplotESDInvMassePluseMinus = kTRUE; | |
433 | Bool_t kGCplotESDInvMassGammaePluseMinusChiC = kTRUE; | |
434 | Bool_t kGCplotESDInvMassGammaePluseMinusPi0 = kTRUE; | |
435 | Bool_t kGCplotESDElectronPosNegPt = kTRUE; | |
436 | Bool_t kGCplotESDElectronPosNegEta = kTRUE; | |
437 | Bool_t kGCplotESDElectronPosNegAngle = kTRUE; | |
438 | Bool_t kGCplotMCElectronPosNegPt = kTRUE; | |
439 | Bool_t kGCplotMCElectronPosNegEta = kTRUE; | |
440 | Bool_t kGCplotMCElectronPosNegJPsiAngle = kTRUE; | |
441 | Bool_t kGCplotESDElectronPosNegPi0Angle = kTRUE; | |
442 | Bool_t kGCplotMCElectronPosNegPi0Angle = kTRUE; | |
443 | Bool_t kGCplotTableElectrons = kTRUE; | |
444 | Bool_t kGCplotESDEPosBackground = kTRUE; | |
445 | Bool_t kGCplotESDENegBackground = kTRUE; | |
446 | Bool_t kGCplotESDEPosENegBackground = kTRUE; | |
447 | Bool_t kGCplotESDEPosENegBackgroundCut = kTRUE; | |
448 | Bool_t kGCplotESDePoseNegAngle = kTRUE; | |
449 | Bool_t kGCplotESDEPosENegGammaBackgroundMX = kTRUE; | |
450 | Bool_t kGCplotMCLabels = kTRUE; | |
00a6a31a | 451 | /////////////////////////////////////////////////////////////////// |
a19c3402 | 452 | |
d7d7e825 | 453 | //---------------- Gamma Jet analysis ---------------------------- |
6c84d371 | 454 | Bool_t kGCplotdPhiHdrGam = kTRUE; |
455 | Bool_t kGCplotdPhiHdrGamIsolated = kTRUE; | |
456 | Bool_t kGCplotMinimumIsoDistance = kTRUE; | |
457 | Bool_t kGCplotFFzHdrGam = kTRUE; | |
458 | Bool_t kGCplotImbalanceHdrGam = kTRUE; | |
d7d7e825 | 459 | //---------------------------------------------------------------- |
460 | ||
461 | ||
a19c3402 | 462 | /** ----------------- end define which histograms to plot here -------------------------------*/ |
463 | ||
464 | ||
465 | ||
466 | /** ----------- Define the binning for the different plot types here -------------------------*/ | |
467 | //R-plots | |
45795c36 | 468 | Int_t kGCnXBinsR = 400; |
6c84d371 | 469 | Double_t kGCfirstXBinR = 0.; |
45795c36 | 470 | Double_t kGClastXBinR = 200.; |
a19c3402 | 471 | |
472 | //ZR-plots | |
45795c36 | 473 | Int_t kGCnXBinsZR = 1000; |
474 | Double_t kGCfirstXBinZR = -250.; | |
475 | Double_t kGClastXBinZR = 250.; | |
476 | Int_t kGCnYBinsZR = 400; | |
6c84d371 | 477 | Double_t kGCfirstYBinZR = 0.; |
45795c36 | 478 | Double_t kGClastYBinZR = 200.; |
a19c3402 | 479 | |
480 | //XY-plots | |
45795c36 | 481 | Int_t kGCnXBinsXY = 800; |
482 | Double_t kGCfirstXBinXY = -200.; | |
483 | Double_t kGClastXBinXY = 200.; | |
484 | Int_t kGCnYBinsXY = 800; | |
485 | Double_t kGCfirstYBinXY = -200.; | |
486 | Double_t kGClastYBinXY = 200.; | |
a19c3402 | 487 | |
488 | //OpenAngle-plots | |
6c84d371 | 489 | Int_t kGCnXBinsOpeningAngle = 400; |
490 | Double_t kGCfirstXBinOpeningAngle = 0.; | |
491 | Double_t kGClastXBinOpeningAngle = TMath::Pi(); | |
a19c3402 | 492 | |
9640a3d1 | 493 | //CosPointingAngle-plots |
494 | Int_t kGCnXBinsCosPointingAngle = 400; | |
495 | Double_t kGCfirstXBinCosPointingAngle = 0.99; | |
496 | Double_t kGClastXBinCosPointingAngle = 1.01; | |
497 | ||
498 | //DCA Daugthers-plots | |
499 | Int_t kGCnXBinsDcaDaughters = 400; | |
500 | Double_t kGCfirstXBinDcaDaughters= 0.; | |
501 | Double_t kGClastXBinDcaDaughters = 5.; | |
502 | ||
503 | //Norm DCA dist Daugthers-plots | |
504 | Int_t kGCnXBinsNormDcaDistDaughters = 400; | |
505 | Double_t kGCfirstXBinNormDcaDistDaughters= 0.; | |
506 | Double_t kGClastXBinNormDcaDistDaughters = 10.; | |
507 | ||
508 | //LikelihoodAP Plots | |
509 | Int_t kGCnXBinsLikelihoodAP = 400; | |
510 | Double_t kGCfirstXBinLikelihoodAP= 0.; | |
511 | Double_t kGClastXBinLikelihoodAP = 2.; | |
512 | ||
513 | ||
a19c3402 | 514 | //Energy-plots |
6c84d371 | 515 | Int_t kGCnXBinsEnergy = 200; |
516 | Double_t kGCfirstXBinEnergy = 0.; | |
517 | Double_t kGClastXBinEnergy = 50.; | |
a19c3402 | 518 | |
9640a3d1 | 519 | //P-plots |
520 | Int_t kGCnXBinsP = 200; | |
9c1cb6f7 | 521 | Double_t kGCfirstXBinP = 0.05; |
9640a3d1 | 522 | Double_t kGClastXBinP = 50.; |
523 | ||
524 | //dEdx-plots | |
45795c36 | 525 | Int_t kGCnYBinsdEdx = 200; |
9640a3d1 | 526 | Double_t kGCfirstYBindEdx = 0.; |
45795c36 | 527 | Double_t kGClastYBindEdx = 200.; |
9640a3d1 | 528 | |
9c1cb6f7 | 529 | //EProb-plots |
530 | Int_t kGCnYBinsEProb = 200; | |
531 | Double_t kGCfirstYBinEProb = 0.; | |
532 | Double_t kGClastYBinEProb = 1.; | |
533 | ||
48682642 | 534 | //Qt-plots |
45795c36 | 535 | Int_t kGCnYBinsQt = 250; |
48682642 | 536 | Double_t kGCfirstYBinQt = 0.; |
45795c36 | 537 | Double_t kGClastYBinQt = 0.25; |
48682642 | 538 | |
539 | ||
540 | ||
9640a3d1 | 541 | //Asymmetry-plots |
542 | Int_t kGCnYBinsAsymmetry = 200; | |
543 | Double_t kGCfirstYBinAsymmetry = 0.; | |
544 | Double_t kGClastYBinAsymmetry = 1.; | |
545 | ||
546 | ||
a19c3402 | 547 | //Pt-plots |
26923b22 | 548 | Int_t kGCnXBinsPt = 500; |
6c84d371 | 549 | Double_t kGCfirstXBinPt = 0.; |
550 | Double_t kGClastXBinPt = 50.; | |
a19c3402 | 551 | |
552 | //Eta-plots | |
6c84d371 | 553 | Int_t kGCnXBinsEta = 40; |
554 | Double_t kGCfirstXBinEta = -2.; | |
555 | Double_t kGClastXBinEta = 2.; | |
a19c3402 | 556 | |
32a6d407 | 557 | //Rapidity |
6c84d371 | 558 | Int_t kGCnXBinsRapid = 200; |
559 | Double_t kGCfirstXBinRapid = -10.; | |
560 | Double_t kGClastXBinRapid = 10.; | |
32a6d407 | 561 | |
a19c3402 | 562 | //Phi-plots |
6c84d371 | 563 | Int_t kGCnXBinsPhi = 72; |
564 | Double_t kGCfirstXBinPhi = -TMath::Pi(); | |
565 | Double_t kGClastXBinPhi = TMath::Pi(); | |
a19c3402 | 566 | |
ebcfaa7e | 567 | //nTPCCluster-plots |
f5f99b3d | 568 | Int_t kGCnXBinsNTPCClusters = 201; |
569 | Double_t kGCfirstXBinNTPCClusters = -0.5; | |
570 | Double_t kGClastXBinNTPCClusters = 200.5; | |
ebcfaa7e | 571 | |
572 | //nITSCluster-plots | |
f5f99b3d | 573 | Int_t kGCnXBinsNITSClusters = 7; |
574 | Double_t kGCfirstXBinNITSClusters = -0.5; | |
575 | Double_t kGClastXBinNITSClusters = 6.5; | |
ebcfaa7e | 576 | |
577 | ||
578 | ||
a19c3402 | 579 | //Mapping-plots |
f5f99b3d | 580 | Int_t kGCnXBinsMapping = 800; |
6c84d371 | 581 | Double_t kGCfirstXBinMapping = -100.; |
582 | Double_t kGClastXBinMapping = 100.; | |
583 | Int_t kGCnYBinsMapping = 40; | |
584 | Double_t kGCfirstYBinMapping = -2; | |
585 | Double_t kGClastYBinMapping = 2; | |
a19c3402 | 586 | |
587 | //ResolutionPlots | |
588 | //RESdPt | |
9c1cb6f7 | 589 | Int_t kGCnXBinsResdPt=500; |
6c84d371 | 590 | Int_t kGCfirstXBinResdPt= 0; |
f5f99b3d | 591 | Int_t kGClastXBinResdPt=100; |
9c1cb6f7 | 592 | Int_t kGCnYBinsResdPt=200; |
ca6d4600 | 593 | Int_t kGCfirstYBinResdPt= -10; |
594 | Int_t kGClastYBinResdPt=10; | |
a19c3402 | 595 | |
596 | //RESdR | |
9c1cb6f7 | 597 | Int_t kGCnXBinsResdR=400; |
6c84d371 | 598 | Int_t kGCfirstXBinResdR= 0; |
9c1cb6f7 | 599 | Int_t kGClastXBinResdR=200; |
6c84d371 | 600 | Int_t kGCnYBinsResdR=100; |
601 | Int_t kGCfirstYBinResdR= -25; | |
602 | Int_t kGClastYBinResdR=25; | |
a19c3402 | 603 | |
604 | //RESdZ | |
6c84d371 | 605 | Int_t kGCnXBinsResdZ=80; |
606 | Int_t kGCfirstXBinResdZ= -20; | |
607 | Int_t kGClastXBinResdZ=20; | |
608 | Int_t kGCnYBinsResdZ=80; | |
609 | Int_t kGCfirstYBinResdZ= -20; | |
610 | Int_t kGClastYBinResdZ=20; | |
a19c3402 | 611 | |
612 | //RESdRdPt | |
ca6d4600 | 613 | Int_t kGCnYBinsResdRdPt=400; |
614 | Int_t kGCfirstYBinResdRdPt= -10; | |
615 | Int_t kGClastYBinResdRdPt=10; | |
a19c3402 | 616 | |
a19c3402 | 617 | //RESMCPt |
ca6d4600 | 618 | Int_t kGCnXBinsResPt=500; |
6c84d371 | 619 | Int_t kGCfirstXBinResPt= 0; |
f5f99b3d | 620 | Int_t kGClastXBinResPt=100; |
a19c3402 | 621 | |
622 | //RESMCR | |
6c84d371 | 623 | Int_t kGCnXBinsResR=500; |
624 | Int_t kGCfirstXBinResR= 0; | |
625 | Int_t kGClastXBinResR=250; | |
a19c3402 | 626 | |
627 | //RESMCZ | |
6c84d371 | 628 | Int_t kGCnXBinsResZ=500; |
629 | Int_t kGCfirstXBinResZ= 0; | |
630 | Int_t kGClastXBinResZ=250; | |
a19c3402 | 631 | |
632 | //GammaMass-plots | |
6c84d371 | 633 | Int_t kGCnXBinsGammaMass = 4000; |
634 | Double_t kGCfirstXBinGammaMass = 0.; | |
635 | Double_t kGClastXBinGammaMass = 1.; | |
a19c3402 | 636 | |
637 | //Pi0Mass-plots | |
f5f99b3d | 638 | Int_t kGCnXBinsPi0Mass = 1000; |
6c84d371 | 639 | Double_t kGCfirstXBinPi0Mass = 0.; |
640 | Double_t kGClastXBinPi0Mass = 1.; | |
9c1cb6f7 | 641 | Double_t kGCfirstXBinPi0Alpha = 0.; |
48682642 | 642 | Double_t kGClastXBinPi0Alpha = 1.; |
643 | ||
a19c3402 | 644 | |
645 | //EtaMass-plots | |
f5f99b3d | 646 | Int_t kGCnXBinsEtaMass = 1000; |
6c84d371 | 647 | Double_t kGCfirstXBinEtaMass = 0.; |
648 | Double_t kGClastXBinEtaMass = 1.; | |
a19c3402 | 649 | |
650 | //GammaWidth-plots | |
6c84d371 | 651 | Int_t kGCnXBinsGammaWidth = 100; |
652 | Double_t kGCfirstXBinGammaWidth = 0.; | |
653 | Double_t kGClastXBinGammaWidth = 1.; | |
a19c3402 | 654 | |
655 | //GammaChi2-plots | |
10e3319b | 656 | Int_t kGCnXBinsMesonChi2 = 200; |
6c84d371 | 657 | Int_t kGCnXBinsGammaChi2 = 100; |
658 | Double_t kGCfirstXBinGammaChi2 = 0; | |
ebcfaa7e | 659 | Double_t kGClastXBinGammaChi2 = 200.; |
a19c3402 | 660 | |
661 | //GammaNDF-plots | |
6c84d371 | 662 | Int_t kGCnXBinsGammaNDF = 10; |
663 | Double_t kGCfirstXBinGammaNDF = 0.; | |
664 | Double_t kGClastXBinGammaNDF = 10.; | |
a19c3402 | 665 | |
666 | //Spectra-plots | |
f5f99b3d | 667 | Int_t kGCnXBinsSpectra = 1000; |
6c84d371 | 668 | Double_t kGCfirstXBinSpectra = 0.; |
669 | Double_t kGClastXBinSpectra = 1.; | |
1ebf7aa6 | 670 | Int_t kGCnYBinsSpectra = 250; |
6c84d371 | 671 | Double_t kGCfirstYBinSpectra = 0.; |
1ebf7aa6 | 672 | Double_t kGClastYBinSpectra = 25.; |
32a6d407 | 673 | |
9c1cb6f7 | 674 | Double_t kGCfirstXBinAlphaG = -1.; |
675 | Double_t kGCfirstXBinAlpha = 0.; | |
48682642 | 676 | Double_t kGClastXBinAlpha = 1.; |
677 | ||
32a6d407 | 678 | //track length plots |
6c84d371 | 679 | Int_t kGCnXBinsTrackLength = 1000; |
680 | Double_t kGCfirstXBinTrackLength = 0; | |
681 | Double_t kGClastXBinTrackLength = 500; | |
a19c3402 | 682 | |
00a6a31a | 683 | /////////Chic_Analysis/////////////////////////////////// |
6c84d371 | 684 | Int_t kGCnXBinsEPt = 1000; |
685 | Double_t kGCfirstXBinEPt = 0.; | |
686 | Double_t kGClastXBinJPsiPt = 10; | |
00a6a31a | 687 | |
6c84d371 | 688 | Int_t kGCnXBinsJPsiMass = 1000; |
689 | Double_t kGCfirstXBinJPsiMass = 0.; | |
690 | Double_t kGClastXBinJPsiMass = 10.; | |
00a6a31a | 691 | |
6c84d371 | 692 | Int_t kGCnXBinsChicMass = 1000; |
693 | Double_t kGCfirstXBinChicMass = 0.; | |
694 | Double_t kGClastXBinChicMass = 10.; | |
00a6a31a | 695 | |
6c84d371 | 696 | Int_t kGCnXBinsPi0Mass = 1000; |
697 | Double_t kGCfirstXBinPi0Mass = 0.; | |
698 | Double_t kGClastXBinPi0Mass = 1.; | |
00a6a31a | 699 | |
6c84d371 | 700 | Int_t kGCnXBinsEPosNegPt = 1000; |
701 | Double_t kGCfirstXBinEPosNegPt = 0.; | |
702 | Double_t kGClastXBinEPosNegPt = 10.; | |
00a6a31a | 703 | |
6c84d371 | 704 | Int_t kGCnXBinsEPosNegEta = 200; |
705 | Double_t kGCfirstXBinEPosNegEta = -1.2; | |
706 | Double_t kGClastXBinEPosNegEta = 1.2; | |
00a6a31a | 707 | |
6c84d371 | 708 | Int_t kGCnXBinsEPosNegAngle = 200; |
709 | Double_t kGCfirstXBinEPosNegAngle = 0.; | |
710 | Double_t kGClastXBinEPosNegAngle = TMath::Pi(); | |
00a6a31a | 711 | |
6c84d371 | 712 | Int_t kGCnXBinsEBackground = 1000; |
713 | Double_t kGCfirstXBinEBackground = 0.; | |
714 | Double_t kGClastXBinEBackground = 10.; | |
00a6a31a | 715 | |
6c84d371 | 716 | Int_t kGCnXBinsEBackgroundCut = 100; |
717 | Double_t kGCfirstXBinEBackgroundCut = 0.; | |
718 | Double_t kGClastXBinEBackgroundCut = 0.015.; | |
00a6a31a | 719 | |
6c84d371 | 720 | Int_t kGCnXBinsMCLabels = 10; |
721 | Double_t kGCfirstXBinMCLabels = 0.; | |
722 | Double_t kGClastXBinMCLabels = 10.; | |
00a6a31a | 723 | |
6c84d371 | 724 | Int_t kGCnElementsElectronTable = 19; |
00a6a31a | 725 | |
726 | //18 elements | |
6c84d371 | 727 | const char * kGCelectronTable[] = { |
00a6a31a | 728 | "Num. Events", "MC e+ J/Psi |\\eta|<0.9","MC e- J/Psi |\\eta|<0.9","MC e+ e+ from J/Psi |\\eta|<0.9", |
729 | "ESDtracks", "Kink Cut", | |
730 | "Vertex Cut","TRDOut","TRDrefit","TPCrefit", | |
731 | "ITSrefit","TRDout+TPC+TPC+ITS+nsigma>3 Pass","pid!=0","ESDElec","ESD e+ JPsi", | |
732 | "ESD e- JPsi","ESD e+ e- JPSI","MC: gamma < 1.2","e+,e- < 0.9 g <1.2" | |
00a6a31a | 733 | }; |
734 | ||
d7d7e825 | 735 | |
736 | // for Gamma Jet analysis | |
6c84d371 | 737 | Int_t kGCnXBinsdphiHdrGam = 100; |
738 | Double_t kGCfirstXBindphiHdrGam = -TMath::PiOver2(); | |
739 | Double_t kGClastXBindphiHdrGam = 3*TMath::PiOver2(); | |
d7d7e825 | 740 | |
6c84d371 | 741 | Int_t kGCnXBinsMinimumIsoDistance = 100; |
742 | Double_t kGCfirstXBinMinimumIsoDistance = 0.; | |
743 | Double_t kGClastXBinMinimumIsoDistance = TMath::PiOver2(); | |
d7d7e825 | 744 | |
6c84d371 | 745 | Int_t kGCnXBinsFFzHdrGam = 100; |
746 | Double_t kGCfirstXBinFFzHdrGam = 0.; | |
747 | Double_t kGClastXBinFFzHdrGam = 5; | |
d7d7e825 | 748 | |
6c84d371 | 749 | Int_t kGCnXBinsImbalanceHdrGam = 100; |
750 | Double_t kGCfirstXBinImbalanceHdrGam = -5.; | |
751 | Double_t kGClastXBinImbalanceHdrGam = 5.; | |
00a6a31a | 752 | //////////////////////////////////////////////////////// |
753 | ||
754 | ||
a19c3402 | 755 | /** ---------- end Define the binning for the different plot types here ----------------------*/ |
756 | ||
757 | ||
a19c3402 | 758 | /************************************************************************************************ |
759 | * * | |
760 | * * | |
761 | * EVERYTHING BELOW IS FOR DEVELOPERS ONLY * | |
762 | * * | |
763 | * * | |
764 | ************************************************************************************************/ | |
6c84d371 | 765 | TString kGCoutputFileName = "histogramsGammaConversion"; |
766 | TString kGCoutputFileAppendix = ""; | |
767 | TString kGCdataList = ""; | |
768 | Bool_t kGCwriteNtuple = kFALSE; | |
769 | // WE DOO NOT NEED TO CHANGE THIS (kGCusePWG4PartCorr) ANYMORE SINCE IT IS TAKEN CARE OF AUTOMATICALLY NOW | |
770 | Bool_t kGCusePWG4PartCorr = kTRUE; | |
d7d7e825 | 771 | |
772 | /** Flag to enable running on train */ | |
6c84d371 | 773 | Bool_t kGCrunOnTrain = kFALSE; |
98de7903 | 774 | Bool_t kGCrunOnGsiTrain = kFALSE; |
d7d7e825 | 775 | |
776 | /** ------------------------------ Monte Carlo flag -----------------------------------------*/ | |
6c84d371 | 777 | Bool_t kGCdoMCTruth = kTRUE; |
d7d7e825 | 778 | /** ---------------------------- end Monte Carlo flag ---------------------------------------*/ |
779 | ||
b5832f95 | 780 | /** ------------------------------ Selecting trigger CINT1B -----------------------------------*/ |
781 | Bool_t kGCtriggerCINT1B = kFALSE; | |
782 | /** ---------------------------- end Monte Carlo flag ---------------------------------------*/ | |
783 | ||
d7d7e825 | 784 | /** ------------------------- Choose KFParticle OR ESDTrack --------------------------------*/ |
6c84d371 | 785 | Bool_t kGCuseKFParticle = kTRUE; |
786 | Bool_t kGCuseESDTrack = kFALSE; | |
d7d7e825 | 787 | /** ----------------------- end Choose KFParticle OR ESDTrack -----------------------------*/ |
788 | ||
9640a3d1 | 789 | /**------------------------------Flag to apply dEdx cut base on sigmas to electron line----------*/ |
790 | Bool_t kGCdodEdxSigmaCut= kTRUE; | |
791 | /**------------------------------end Flag to apply NsigmadEdx cut ----------*/ | |
9c1cb6f7 | 792 | |
037dc2db | 793 | Double_t kGCPIDnSigmaAboveElectronLine=5; |
48682642 | 794 | Double_t kGCPIDnSigmaBelowElectronLine=-3; |
9640a3d1 | 795 | Double_t kGCPIDnSigmaAbovePionLine=0; |
10e3319b | 796 | Double_t kGCPIDMinPnSigmaAbovePionLine=1.; |
797 | Double_t kGCPIDMaxPnSigmaAbovePionLine=3.; | |
9640a3d1 | 798 | |
9c1cb6f7 | 799 | /**------- Flag to apply rejection at LowP of Kaons, protons , pions------------*/ |
800 | Bool_t kGCdoPionRejectionLowP=kTRUE; | |
801 | Bool_t kGCdoKaonRejectionLowP=kTRUE; | |
802 | Bool_t kGCdoProtonRejectionLowP=kTRUE; | |
803 | /**---------------------------------------*/ | |
804 | ||
805 | Double_t kGCPIDnSigmaAtLowPAroundKaonLine=0; | |
806 | Double_t kGCPIDnSigmaAtLowPAroundProtonLine=0; | |
807 | Double_t kGCPIDnSigmaAtLowPAroundPionLine=0; | |
808 | ||
809 | Double_t kGCPIDMinPKaonRejectionLowP=1.5; | |
810 | Double_t kGCPIDMinPProtonRejectionLowP=2.; | |
811 | Double_t kGCPIDMinPPionRejectionLowP=0.5; | |
d7d7e825 | 812 | |
6c3a327c | 813 | |
70ef88b5 | 814 | Bool_t kGCdoQtGammaSelection=kTRUE; |
815 | Double_t kGCQtMax=100.; | |
816 | ||
817 | ||
818 | ||
6c3a327c | 819 | Bool_t scanArguments(TString arguments){ |
037dc2db | 820 | |
6c3a327c | 821 | Bool_t iResult = kTRUE; |
32a6d407 | 822 | |
6c3a327c | 823 | TString allArgs=arguments; |
824 | TString argument; | |
825 | int bMissingParam=0; | |
037dc2db | 826 | |
827 | cout<<"Arguments received: "<<allArgs.Data()<<endl; | |
32a6d407 | 828 | |
6c3a327c | 829 | TObjArray* pTokens=allArgs.Tokenize(" "); |
830 | if (pTokens) { | |
32a6d407 | 831 | |
6c3a327c | 832 | for(int i=0; i<pTokens->GetEntries() && iResult==kTRUE; i++) { |
833 | argument=((TObjString*)pTokens->At(i))->GetString(); | |
32a6d407 | 834 | |
6c3a327c | 835 | if(argument.IsNull()) continue; |
836 | // -- deconvolute-time option | |
837 | if(argument.CompareTo("-data-list") == 0){ | |
838 | if((bMissingParam=(++i>=pTokens->GetEntries()))) break; | |
6c84d371 | 839 | kGCdataList = ((TObjString*)pTokens->At(i))->GetString(); |
840 | if(kGCdataList.IsNull()){ | |
6c3a327c | 841 | cout<<"-data-list is NULL"<<endl; |
842 | iResult=kFALSE; | |
843 | } | |
844 | else{ | |
6c84d371 | 845 | cout<<"Data list is set to: "<<kGCdataList<<endl; |
6c3a327c | 846 | } |
847 | } | |
848 | else if(argument.CompareTo("-output-file-name") == 0){ | |
849 | if((bMissingParam=(++i>=pTokens->GetEntries()))) break; | |
6c84d371 | 850 | kGCoutputFileName = ((TObjString*)pTokens->At(i))->GetString(); |
851 | if(kGCoutputFileName.IsNull()){ | |
6c3a327c | 852 | cout<<"-output-file-name is NULL"<<endl; |
853 | iResult=kFALSE; | |
854 | } | |
855 | else{ | |
6c84d371 | 856 | cout<<"Setting output file name to: "<<kGCoutputFileName<<endl; |
6c3a327c | 857 | } |
858 | } | |
5e55d806 | 859 | else if (argument.CompareTo("-bg-off") == 0){ |
860 | kGCcalculateBackground =kFALSE; | |
861 | } | |
037dc2db | 862 | else if (argument.CompareTo("-check-neutralmeson-pi0s") == 0){ |
863 | kGCdoNeutralMesonV0MCCheck=kTRUE; | |
864 | } | |
77880bd8 | 865 | else if (argument.CompareTo("-use-offline-finder") == 0){ |
866 | kGCUseOnFlyV0Finder = kFALSE; | |
867 | } | |
6c3a327c | 868 | else if (argument.CompareTo("-write-ntuple") == 0){ |
869 | cout<<"Writing ntuple to file."<<endl; | |
6c84d371 | 870 | kGCwriteNtuple = kTRUE; |
6c3a327c | 871 | } |
d7d7e825 | 872 | else if (argument.CompareTo("-run-on-train") == 0){ |
873 | cout<<"Running on train"<<endl; | |
332f1f44 | 874 | //kGCWriteStandardAOD=kTRUE; |
fea0b26e | 875 | kGCDeltaAODFilename=""; |
7c19d7d7 | 876 | kGCrunOnTrain = kTRUE; |
877 | } | |
878 | else if (argument.CompareTo("-run-on-gsi-train") == 0){ | |
879 | cout<<"Running on gsi train"<<endl; | |
332f1f44 | 880 | //kGCWriteStandardAOD=kFALSE; |
6c84d371 | 881 | kGCrunOnTrain = kTRUE; |
98de7903 | 882 | kGCrunOnGsiTrain = kTRUE; |
d7d7e825 | 883 | } |
884 | else if (argument.CompareTo("-run-jet") == 0){ | |
885 | cout<<"Running jet analysis"<<endl; | |
6c84d371 | 886 | kGCrunJet = kTRUE; |
d7d7e825 | 887 | } |
332f1f44 | 888 | else if (argument.CompareTo("-run-gamma-jet-task") == 0){ |
889 | cout<<"Running gamma jet task"<<endl; | |
890 | kGCRunGammaJetTask= kTRUE; | |
891 | } | |
d7d7e825 | 892 | else if (argument.CompareTo("-run-neutralmeson") == 0){ |
893 | cout<<"Running neutral meson analysis"<<endl; | |
6c84d371 | 894 | kGCrunNeutralMeson = kTRUE; |
d7d7e825 | 895 | } |
896 | else if (argument.CompareTo("-run-neutral-meson") == 0){ | |
897 | cout<<"Running neutral meson analysis"<<endl; | |
6c84d371 | 898 | kGCrunNeutralMeson = kTRUE; |
d7d7e825 | 899 | } |
45795c36 | 900 | else if (argument.CompareTo("-run-omega-meson") == 0){ |
901 | cout<<"Running omega meson analysis"<<endl; | |
902 | kGCrunOmegaMeson = kTRUE; | |
903 | } | |
d7d7e825 | 904 | else if (argument.CompareTo("-run-chic") == 0){ |
905 | cout<<"Running Chi_c analysis"<<endl; | |
6c84d371 | 906 | kGCrunChic = kTRUE; |
d7d7e825 | 907 | } |
1e7846f4 | 908 | else if (argument.CompareTo("-run-cf") == 0){ |
909 | cout<<"Running CF"<<endl; | |
910 | kGCrunCF = kTRUE; | |
911 | } | |
ca6d4600 | 912 | else if (argument.CompareTo("-run-resolution") == 0){ |
913 | cout<<"Running Resolution"<<endl; | |
914 | kGCrunRES = kTRUE; | |
915 | } | |
9c1cb6f7 | 916 | else if (argument.CompareTo("-run-recalculateV0") == 0){ |
917 | cout<<"Running RecalculateV0ForGamma"<<endl; | |
918 | kGCRecalculateV0ForGamma=kTRUE; | |
919 | } | |
d7d7e825 | 920 | else if (argument.CompareTo("-jet-off") == 0){ |
921 | cout<<"Skipping jet analysis"<<endl; | |
6c84d371 | 922 | kGCrunJet = kFALSE; |
d7d7e825 | 923 | } |
924 | else if (argument.CompareTo("-neutralmeson-off") == 0){ | |
925 | cout<<"Skipping neutral meson analysis"<<endl; | |
6c84d371 | 926 | kGCrunNeutralMeson = kFALSE; |
d7d7e825 | 927 | } |
928 | else if (argument.CompareTo("-neutral-meson-off") == 0){ | |
929 | cout<<"Skipping neutral meson analysis"<<endl; | |
6c84d371 | 930 | kGCrunNeutralMeson = kFALSE; |
d7d7e825 | 931 | } |
932 | else if (argument.CompareTo("-chic-off") == 0){ | |
933 | cout<<"Skipping Chi_c analysis"<<endl; | |
6c84d371 | 934 | kGCrunChic = kFALSE; |
d7d7e825 | 935 | } |
936 | else if (argument.CompareTo("-mc-off") == 0){ | |
6c84d371 | 937 | cout<<"Switching off kGCdoMCTruth"<<endl; |
938 | kGCdoMCTruth = kFALSE; | |
d7d7e825 | 939 | } |
b5832f95 | 940 | else if (argument.CompareTo("-trigger-CINT1B") == 0){ |
941 | cout<<"Selecting ONLY kGCtriggerCINT1B"<<endl; | |
942 | kGCtriggerCINT1B = kTRUE; | |
943 | } | |
a0b94e5c | 944 | else if (argument.CompareTo("-use-own-xyz") == 0){ |
945 | cout<<"Switching on use own xyz calculation"<<endl; | |
946 | kGCdoOwnXYZCalculation = kTRUE; | |
947 | } | |
332f1f44 | 948 | else if (argument.CompareTo("-no-aod") == 0){ |
949 | cout<<"Turning off AOD"<<endl; | |
950 | kGCWriteAOD = kFALSE; | |
951 | } | |
d765d400 | 952 | else if (argument.CompareTo("-force-aod") == 0){ |
953 | cout<<"Turning on FillAOD = kTRUE every event; If running in common train this should probably not be done!!!"<<endl; | |
954 | kGCForceAOD = kTRUE; | |
955 | } | |
332f1f44 | 956 | else if (argument.CompareTo("-standard-aod") == 0){ |
957 | cout<<"Writing to standard AOD, will only work on train"<<endl; | |
958 | kGCDeltaAODFilename = ""; | |
959 | } | |
6c3a327c | 960 | else if(argument.CompareTo("-append-to-output-file") == 0){ |
961 | if((bMissingParam=(++i>=pTokens->GetEntries()))) break; | |
a0b94e5c | 962 | kGCoutputFileAppendix = TString("_")+((TObjString*)pTokens->At(i))->GetString(); |
6c84d371 | 963 | if(kGCoutputFileAppendix.IsNull()){ |
6c3a327c | 964 | cout<<"-appending-to-output-file is NULL"<<endl; |
965 | iResult=kFALSE; | |
966 | } | |
967 | else{ | |
6c84d371 | 968 | cout<<"Appending to the output file: "<<kGCoutputFileAppendix<<endl; |
6c3a327c | 969 | } |
970 | } | |
48682642 | 971 | else if(argument.CompareTo("-set-cut-selection") == 0){ |
972 | if((bMissingParam=(++i>=pTokens->GetEntries()))) break; | |
973 | kGCAnalysisCutSelectionId = ((TObjString*)pTokens->At(i))->GetString(); | |
974 | cout<<"The analysis cut selection is set to: "<<kGCAnalysisCutSelectionId.Data()<<endl; | |
975 | } | |
6c3a327c | 976 | } |
6c3a327c | 977 | delete pTokens; |
978 | } | |
979 | if (bMissingParam) { | |
980 | cout<<"Missing parameter for argument "<< argument.Data()<<endl; | |
981 | iResult=kFALSE; | |
982 | } | |
983 | return iResult; | |
984 | } | |
985 | ||
d7d7e825 | 986 | void SetVersionLibrary(){ |
987 | // Check if the file $ALICE_ROOT/PWG4/GammaConv/AliAnalysisTaskGammaConversion.cxx exists. | |
6c84d371 | 988 | // If yes, we set kGCusePWG4PartCorr to false since we have a newer version |
989 | // If no, kGCusePWG4PartCorr is true. | |
a0b94e5c | 990 | |
d7d7e825 | 991 | TString file = gSystem->Getenv("ALICE_ROOT"); |
992 | file+="/PWG4/PartCorr/AliAnalysisTaskGammaConversion.cxx"; | |
a0b94e5c | 993 | |
d7d7e825 | 994 | ifstream stream; |
995 | stream.open(file.Data()); | |
a0b94e5c | 996 | |
d7d7e825 | 997 | if(!stream){ |
6c84d371 | 998 | kGCusePWG4PartCorr=kFALSE; |
d7d7e825 | 999 | } |
1000 | else{ | |
6c84d371 | 1001 | kGCusePWG4PartCorr=kTRUE; |
d7d7e825 | 1002 | } |
1003 | stream.close(); | |
1004 | } | |
1005 | ||
1006 | ||
332f1f44 | 1007 | AliAnalysisTaskGammaConversion* ConfigGammaConversion(TString arguments, AliAnalysisDataContainer *cin_esd=NULL){ |
d7d7e825 | 1008 | |
48682642 | 1009 | |
32a6d407 | 1010 | |
037dc2db | 1011 | |
6c3a327c | 1012 | if(!scanArguments(arguments)){ |
1013 | break; | |
1014 | } | |
037dc2db | 1015 | |
d7d7e825 | 1016 | SetVersionLibrary(); // checks if PWG4GammaConv or PWG4PartCorr is used |
a0b94e5c | 1017 | |
6c84d371 | 1018 | if(cin_esd == NULL && kGCrunOnTrain == kTRUE){ |
1019 | cout<<"Error: kGCrunOnTrain flag is set to true but the input AliAnalysisDataContainer is NULL"<<endl; | |
d7d7e825 | 1020 | cout<<" you must also supply the AliAnalysisDataContainer as an argument"<<endl; |
1021 | return; | |
1022 | } | |
a0b94e5c | 1023 | |
6c84d371 | 1024 | if(cin_esd != NULL && kGCrunOnTrain == kFALSE){ |
1025 | cout<<"Error: kGCrunOnTrain flag is set to false but the input AliAnalysisDataContainer is not null"<<endl; | |
1026 | cout<<" add -run-on-train to the arguments to turn switch kGCrunOnTrain to kTRUE"<<endl; | |
d7d7e825 | 1027 | return; |
1028 | } | |
6c84d371 | 1029 | if(kGCrunOnTrain == kFALSE){ |
1030 | if(kGCnumberOfFilesToAnalyze==0){ | |
1031 | ifstream dataInStream; | |
1032 | dataInStream.open(kGCdataList.Data()); | |
1033 | if ( !dataInStream ){ | |
1034 | cout<<"Data list file does not exist: "<<kGCdataList.Data()<<endl; | |
1035 | return 0; | |
6c3a327c | 1036 | } |
6c84d371 | 1037 | string line; |
1038 | while ( !dataInStream.eof() ) | |
1039 | { | |
1040 | getline(dataInStream, line); | |
1041 | if(line.compare("") != 0){//checks if there is an empty line in the data list | |
1042 | kGCnumberOfFilesToAnalyze++; | |
1043 | } | |
1044 | } | |
1045 | } | |
1046 | cout<<"Number Of files to analyze: "<<kGCnumberOfFilesToAnalyze<<endl; | |
a0b94e5c | 1047 | |
d7d7e825 | 1048 | build();//build (if necessary) and load the libraries needed |
037dc2db | 1049 | |
6c84d371 | 1050 | gROOT->LoadMacro("$ALICE_ROOT/PWG0/CreateESDChain.C"); // load the CreateChain macro |
9640a3d1 | 1051 | } |
a0b94e5c | 1052 | |
07b54fba | 1053 | if(!kGCrunOnTrain){ |
1054 | // for the train leave this to the steering macro | |
9640a3d1 | 1055 | AliLog::SetGlobalDebugLevel(0); |
06688fb6 | 1056 | AliLog::SetGlobalLogLevel(AliLog::kFatal); |
07b54fba | 1057 | } |
1058 | // ------------------------------------------------------------------------ | |
a0b94e5c | 1059 | |
1060 | // for CF | |
1061 | ||
1062 | //Container def. | |
1063 | const Double_t ptmin = kGCfirstXBinPt; | |
1064 | const Double_t ptmax = kGClastXBinPt; | |
1065 | const Double_t etamin = kGCfirstXBinEta; | |
1066 | const Double_t etamax = kGClastXBinEta; | |
1067 | const Double_t massmin = kGCfirstXBinPi0Mass; | |
1068 | const Double_t massmax = kGClastXBinPi0Mass; | |
1069 | ||
1070 | ||
1071 | // sensitive variables | |
1072 | UInt_t ipt = 0; | |
1073 | UInt_t ieta = 1; | |
1074 | UInt_t imass = 2; | |
1075 | ||
1076 | //how many selection steps | |
48682642 | 1077 | UInt_t nstep = 20; |
a0b94e5c | 1078 | const Int_t nvar = 3; |
d5f99c2b | 1079 | |
1080 | Int_t kGCnXBinsPtCF=40; | |
1081 | Int_t kGCnXBinsEtaCF=8; | |
1082 | Int_t kGCnXBinsPi0MassCF=10; | |
1083 | ||
1084 | if(!kGCrunCF){ | |
45795c36 | 1085 | nstep=1; |
1086 | kGCnXBinsPtCF=1; | |
1087 | kGCnXBinsEtaCF=1; | |
1088 | kGCnXBinsPi0MassCF=1; | |
d5f99c2b | 1089 | } |
1090 | const Int_t nbin0 = kGCnXBinsPtCF; // do not use same variable for CF than for histogram | |
1091 | const Int_t nbin1 = kGCnXBinsEtaCF; // do not use same variable for CF than for histogram | |
1092 | const Int_t nbin2 = kGCnXBinsPi0MassCF; // do not use same variable for CF than for histogram | |
a0b94e5c | 1093 | |
1094 | //arrays for the number of bins in each dimension | |
1095 | Int_t iBin[nvar]; | |
1096 | iBin[0] = nbin0; | |
1097 | iBin[1] = nbin1; | |
1098 | iBin[2] = nbin2; | |
1099 | ||
1100 | //arrays for lower bounds | |
1101 | Double_t *binLim0 = new Double_t[nbin0+1]; | |
1102 | Double_t *binLim1 = new Double_t[nbin1+1]; | |
1103 | Double_t *binLim2 = new Double_t[nbin2+1]; | |
1104 | ||
1105 | // values for lower bounds | |
1106 | for(Int_t i = 0; i <= nbin0; i++) binLim0[i] = ptmin + (ptmax - ptmin)/nbin0*i; | |
1107 | for(Int_t i = 0; i <= nbin1; i++) binLim1[i] = etamin + (etamax - etamin)/nbin1*i; | |
1108 | for(Int_t i = 0; i <= nbin2; i++) binLim2[i] = massmin + (massmax - massmin)/nbin2*i; | |
1109 | ||
1110 | // create container | |
1111 | AliCFContainer *container = new AliCFContainer("container","container for gammaconversion", nstep,nvar,iBin); | |
1112 | container->SetBinLimits(ipt,binLim0); | |
1113 | container->SetBinLimits(ieta,binLim1); | |
1114 | container->SetBinLimits(imass,binLim2); | |
1115 | ||
1116 | AliCFManager *man = new AliCFManager(); | |
1117 | man->SetParticleContainer(container); | |
70ef88b5 | 1118 | for(int i = 0;i<nstep;i++){ |
1119 | TObjArray *tmp = new TObjArray(0); | |
1120 | man->SetParticleCutsList(i,tmp) ; | |
1121 | } | |
1122 | ||
a0b94e5c | 1123 | // end --------------------------------------------------------------------------- |
1124 | ||
1125 | ||
9640a3d1 | 1126 | |
a0b94e5c | 1127 | |
d7d7e825 | 1128 | AliGammaConversionHistograms* histograms = new AliGammaConversionHistograms(); |
1129 | AddHistograms(histograms); | |
1130 | ||
1131 | // Create the Analysis manager | |
1132 | AliAnalysisManager *mgr =NULL; | |
6c84d371 | 1133 | if(kGCrunOnTrain == kFALSE){ |
a0b94e5c | 1134 | mgr = new AliAnalysisManager("My Manager", "My Analysis"); |
00a6a31a | 1135 | } |
d7d7e825 | 1136 | else{ |
1137 | mgr = AliAnalysisManager::GetAnalysisManager(); | |
00a6a31a | 1138 | } |
a0b94e5c | 1139 | |
d7d7e825 | 1140 | if (!mgr) { |
1141 | ::Error("ConfigGammaConversion", "No analysis manager to connect to."); | |
1142 | return NULL; | |
1143 | } | |
6c84d371 | 1144 | if(kGCrunOnTrain == kTRUE){ |
1145 | if (!mgr->GetInputEventHandler()) { | |
1146 | ::Error("ConfigGammaConversion", "This task requires an input event handler"); | |
1147 | return NULL; | |
1148 | } | |
1149 | } | |
1150 | AliESDInputHandler* inpHandler = NULL; | |
a0b94e5c | 1151 | |
6c84d371 | 1152 | if(kGCrunOnTrain == kFALSE){ |
1153 | // Define Input Event Handler | |
1154 | inpHandler = new AliESDInputHandler(); | |
1155 | } | |
a19c3402 | 1156 | // Define MC Truth Event Handler |
6c84d371 | 1157 | AliMCEventHandler* mcHandler = NULL; |
1158 | if(kGCdoMCTruth){ | |
1159 | if(kGCrunOnTrain == kFALSE){ | |
1160 | mcHandler = new AliMCEventHandler(); | |
1161 | } | |
1162 | else{ | |
1163 | mcHandler = (AliMCEventHandler*)mgr->GetMCtruthEventHandler(); | |
1164 | } | |
1165 | if (!mcHandler) { | |
1166 | ::Error("", "No MC handler connected"); | |
1167 | return NULL; | |
1168 | } | |
1169 | } | |
a0b94e5c | 1170 | |
332f1f44 | 1171 | |
a0b94e5c | 1172 | |
6c84d371 | 1173 | if(kGCrunOnTrain == kFALSE){ |
d7d7e825 | 1174 | mgr->SetInputEventHandler (inpHandler); |
1175 | mgr->SetMCtruthEventHandler(mcHandler); | |
1176 | } | |
a19c3402 | 1177 | // Be sure you are told what you are doing |
b5bd091d | 1178 | // mgr->SetDebugLevel(10); |
32a6d407 | 1179 | |
a19c3402 | 1180 | // Declare Common Input Tchain |
32a6d407 | 1181 | AliAnalysisDataContainer *cinput1 = NULL; |
332f1f44 | 1182 | |
6c84d371 | 1183 | if(kGCusePWG4PartCorr){ |
332f1f44 | 1184 | |
6c84d371 | 1185 | if(kGCrunOnTrain == kFALSE){ |
8a685cf3 | 1186 | cinput1 = mgr->CreateContainer("GammaConvChain",TChain::Class(),AliAnalysisManager::kInputContainer); |
332f1f44 | 1187 | |
1188 | } else{ | |
d7d7e825 | 1189 | cinput1 = cin_esd; |
332f1f44 | 1190 | |
d7d7e825 | 1191 | } |
32a6d407 | 1192 | } |
1193 | else{ | |
d7d7e825 | 1194 | cinput1 = mgr->GetCommonInputContainer(); |
32a6d407 | 1195 | } |
1196 | ||
10e3319b | 1197 | // Common Output Tree in common ??????default?????? output file |
07b54fba | 1198 | // CKB kGCusePWG4PartCorr and writestandard are not mutually exclusive? |
32a6d407 | 1199 | AliAnalysisDataContainer *coutput1 = NULL; |
332f1f44 | 1200 | |
98de7903 | 1201 | if(kGCWriteAOD) { |
1202 | if(kGCrunOnTrain && !(kGCrunOnGsiTrain)) { | |
1203 | coutput1 = mgr->GetCommonOutputContainer(); | |
1204 | } else { | |
1205 | coutput1 = mgr->CreateContainer("GammaConvTree",TTree::Class(),AliAnalysisManager::kOutputContainer, "default"); | |
1206 | } | |
32a6d407 | 1207 | } |
1208 | ||
a19c3402 | 1209 | // Private output objects |
6c84d371 | 1210 | if(kGCoutputFileName.Contains(".root")){ |
1211 | kGCoutputFileName.ReplaceAll(".root",""); | |
32a6d407 | 1212 | } |
6c84d371 | 1213 | if(kGCoutputFileAppendix.Contains(".root")){ |
1214 | kGCoutputFileAppendix.ReplaceAll(".root",""); | |
32a6d407 | 1215 | } |
61374d97 | 1216 | //TString fileOut = kGCoutputFileName + kGCoutputFileAppendix + ".root"; |
1217 | ||
48682642 | 1218 | |
1219 | TString outputfile = AliAnalysisManager::GetCommonFileName(); | |
1220 | cout<<"Analyis cut selection ID is: "<<kGCAnalysisCutSelectionId.Data()<<endl; | |
ca6d4600 | 1221 | // outputfile += Form(":PWG4_GammaConversion_%s",kGCAnalysisCutSelectionId.Data()); |
d2abd45d | 1222 | outputfile += Form(":PWG4_GammaConversion"); |
ca6d4600 | 1223 | |
9c1cb6f7 | 1224 | // if(kGCrunNeutralMeson==kTRUE) outputfile +="1"; else outputfile +="0"; |
1225 | ||
1226 | // if(kGCrunJet==kTRUE) outputfile +="1"; else outputfile +="0"; | |
ca6d4600 | 1227 | |
9c1cb6f7 | 1228 | // if(kGCrunChic==kTRUE) outputfile +="1"; else outputfile +="0"; |
ca6d4600 | 1229 | |
9c1cb6f7 | 1230 | // if(kGCrunCF==kTRUE) outputfile +="1"; else outputfile +="0"; |
ca6d4600 | 1231 | |
9c1cb6f7 | 1232 | // if(kGCcalculateBackground==kTRUE) outputfile +="1"; else outputfile +="0"; |
ca6d4600 | 1233 | |
9c1cb6f7 | 1234 | // if(kGCdoNeutralMesonV0MCCheck==kTRUE) outputfile +="1"; else outputfile +="0"; |
ca6d4600 | 1235 | |
9c1cb6f7 | 1236 | // if(kGCrunOmegaMeson==kTRUE) outputfile +="1"; else outputfile +="0"; |
1237 | ||
1238 | // if(kGCrunRES==kTRUE) outputfile +="1"; else outputfile +="0"; | |
ca6d4600 | 1239 | |
ca6d4600 | 1240 | outputfile += Form("_%s",kGCAnalysisCutSelectionId.Data()); |
48682642 | 1241 | |
1242 | cout<<"Ouput file::"<< outputfile <<endl; | |
d5f99c2b | 1243 | AliAnalysisDataContainer *coutput2 = mgr->CreateContainer(Form("histogramsAliGammaConversion_%s",kGCAnalysisCutSelectionId.Data()), TList::Class(),AliAnalysisManager::kOutputContainer, outputfile); |
a0b94e5c | 1244 | // for CF |
d5f99c2b | 1245 | AliAnalysisDataContainer *coutput3 = mgr->CreateContainer(Form("GammaConvccontainer0_%s",kGCAnalysisCutSelectionId.Data()),AliCFContainer::Class(),AliAnalysisManager::kOutputContainer,outputfile); |
a0b94e5c | 1246 | |
a19c3402 | 1247 | //------------------------ END: Define input/output handlers --------------------------------------------------- |
32a6d407 | 1248 | |
a19c3402 | 1249 | //check for errors in the specified data |
6c84d371 | 1250 | if(kGCuseKFParticle == kTRUE && kGCuseESDTrack == kTRUE){ |
a19c3402 | 1251 | //Print warning, cannot use both |
6c84d371 | 1252 | ::Error("ConfigGammaConversion","Both kGCuseKFParticle and kGCuseESDTracks can be true at the same time") |
a0b94e5c | 1253 | } |
6c84d371 | 1254 | if(kGCuseKFParticle == kFALSE && kGCuseESDTrack == kFALSE){ |
a19c3402 | 1255 | //Print warning, one have to be specified |
6c84d371 | 1256 | ::Error("ConfigGammaConversion","Both kGCuseKFParticle and kGCuseESDTracks can be false at the same time") |
a0b94e5c | 1257 | } |
1258 | ||
77fa1db4 | 1259 | |
1260 | if(!SetAnalysisCutSelection(kGCAnalysisCutSelectionId)){ | |
1261 | return 0; | |
1262 | } | |
a0b94e5c | 1263 | |
a19c3402 | 1264 | //Create the V0Reader |
1265 | AliV0Reader * v0Reader = new AliV0Reader(); | |
6c84d371 | 1266 | if(kGCuseKFParticle){ |
a19c3402 | 1267 | v0Reader->UseKFParticle(); |
1268 | } | |
6c84d371 | 1269 | else if(kGCuseESDTrack){ |
a19c3402 | 1270 | v0Reader->UseESDTrack(); |
1271 | } | |
10e3319b | 1272 | |
1273 | v0Reader->SetMaxVertexZ(kGCmaxVertexZ); | |
6c84d371 | 1274 | v0Reader->SetNegativeTrackPID(kGCpidOfNegativeTrack); |
1275 | v0Reader->SetPositiveTrackPID(kGCpidOfPositiveTrack); | |
1276 | v0Reader->SetMaxRCut(kGCmaxRCut); | |
1277 | v0Reader->SetEtaCut(kGCetaCut); | |
1278 | v0Reader->SetPtCut(kGCptCut); | |
48682642 | 1279 | v0Reader->SetSinglePtCut(kGCsingleptCut); |
6c84d371 | 1280 | v0Reader->SetLineCutZRSlope(kGCLineCutZRSlope); |
1281 | v0Reader->SetLineCutZValue(kGCLineCutZValue); | |
a0b94e5c | 1282 | v0Reader->SetMaxZCut(kGCmaxZCut); |
48682642 | 1283 | v0Reader->SetMinClsTPCCut(kGCminClsTPCCut); |
6c84d371 | 1284 | v0Reader->SetChi2CutConversion(kGCchi2CutConversion); |
1285 | v0Reader->SetChi2CutMeson(kGCchi2CutMeson); | |
9c1cb6f7 | 1286 | v0Reader->SetAlphaCutMeson(kGCalphaCutMeson); |
67381a40 | 1287 | v0Reader->SetAlphaMinCutMeson(kGCalphaMinCutMeson); |
6c84d371 | 1288 | v0Reader->SetPIDProbability(kGCprobElectron); |
1289 | v0Reader->SetXVertexCut(kGCxVertexCut); | |
1290 | v0Reader->SetYVertexCut(kGCyVertexCut); | |
1291 | v0Reader->SetZVertexCut(kGCzVertexCut); | |
1292 | v0Reader->SetSigmaMass(kGCsigmaCutGammaMass); | |
1293 | v0Reader->SetUseImprovedVertex(kGCuseImprovedVertex); | |
1294 | v0Reader->SetDoMCTruth(kGCdoMCTruth); | |
a0b94e5c | 1295 | v0Reader->SetUseOwnXYZCalculation(kGCdoOwnXYZCalculation); |
48682642 | 1296 | |
a0b94e5c | 1297 | // for CF |
1298 | v0Reader->SetCFManager(man); | |
1299 | ||
9640a3d1 | 1300 | // for dEdx N sigma Cut |
1301 | v0Reader->SetDodEdxSigmaCut(kGCdodEdxSigmaCut); | |
1302 | v0Reader->SetPIDnSigmaAboveElectronLine(kGCPIDnSigmaAboveElectronLine); | |
1303 | v0Reader->SetPIDnSigmaBelowElectronLine(kGCPIDnSigmaBelowElectronLine); | |
1304 | v0Reader->SetPIDnSigmaAbovePionLine(kGCPIDnSigmaAbovePionLine); | |
1305 | v0Reader->SetPIDMinPnSigmaAbovePionLine(kGCPIDMinPnSigmaAbovePionLine); | |
10e3319b | 1306 | v0Reader->SetPIDMaxPnSigmaAbovePionLine(kGCPIDMaxPnSigmaAbovePionLine); |
77880bd8 | 1307 | v0Reader->SetOnFlyFlag(kGCUseOnFlyV0Finder); |
87f6de3e | 1308 | v0Reader->SetCalculateBackground(kGCcalculateBackground); |
48682642 | 1309 | |
9c1cb6f7 | 1310 | // for the rejection at LowP based on Dedx signal |
1311 | ||
1312 | v0Reader->SetDoKaonRejectionLowP(kGCdoKaonRejectionLowP); | |
1313 | v0Reader->SetDoProtonRejectionLowP(kGCdoProtonRejectionLowP); | |
1314 | v0Reader->SetDoPionRejectionLowP(kGCdoPionRejectionLowP); | |
1315 | v0Reader->SetPIDnSigmaAtLowPAroundKaonLine(kGCPIDnSigmaAtLowPAroundKaonLine); | |
1316 | v0Reader->SetPIDnSigmaAtLowPAroundProtonLine(kGCPIDnSigmaAtLowPAroundProtonLine); | |
1317 | v0Reader->SetPIDnSigmaAtLowPAroundPionLine(kGCPIDnSigmaAtLowPAroundPionLine); | |
1318 | v0Reader->SetPIDMinPKaonRejectionLowP(kGCPIDMinPKaonRejectionLowP); | |
1319 | v0Reader->SetPIDMinPProtonRejectionLowP(kGCPIDMinPProtonRejectionLowP); | |
1320 | v0Reader->SetPIDMinPPionRejectionLowP(kGCPIDMinPPionRejectionLowP); | |
70ef88b5 | 1321 | v0Reader->SetDoQtGammaSelection(kGCdoQtGammaSelection); |
1322 | v0Reader->SetQtMax(kGCQtMax); | |
1323 | v0Reader->SetNEventsForBG(kGCNEventsForBGCalculation); | |
48682642 | 1324 | |
a19c3402 | 1325 | // Create the GammaConversionTask |
48682642 | 1326 | |
1327 | ||
1328 | AliAnalysisTaskGammaConversion *gammaconversion = | |
1329 | new AliAnalysisTaskGammaConversion(Form("GammaConversionTask_%s",kGCAnalysisCutSelectionId.Data())); | |
1330 | ||
1331 | cout<<"name of Task::"<< Form("GammaConversionTask_%s",kGCAnalysisCutSelectionId.Data())<< " "<<gammaconversion->GetName() <<endl; | |
52a15f71 | 1332 | gammaconversion->SetDebugLevel(0); |
32a6d407 | 1333 | |
6c84d371 | 1334 | gammaconversion->SetWriteNtuple(kGCwriteNtuple); |
32a6d407 | 1335 | |
a19c3402 | 1336 | gammaconversion->SetV0Reader(v0Reader); |
6c84d371 | 1337 | gammaconversion->SetCalculateBackground(kGCcalculateBackground); |
a19c3402 | 1338 | gammaconversion->Init(); |
32a6d407 | 1339 | |
6c84d371 | 1340 | gammaconversion->SetElectronMass(kGCelectronMass); |
1341 | gammaconversion->SetGammaMass(kGCgammaMass); | |
1342 | gammaconversion->SetPi0Mass(kGCpi0Mass); | |
1343 | gammaconversion->SetEtaMass(kGCetaMass); | |
32a6d407 | 1344 | |
6c84d371 | 1345 | gammaconversion->SetGammaWidth(kGCgammaWidth); |
1346 | gammaconversion->SetPi0Width(kGCpi0Width); | |
1347 | gammaconversion->SetEtaWidth(kGCetaWidth); | |
a0b94e5c | 1348 | |
6c84d371 | 1349 | gammaconversion->SetMinOpeningAngleGhostCut(kGCminOpeningAngleGhostCut); |
32a6d407 | 1350 | |
ebcfaa7e | 1351 | Double_t lowPtMapping=0.4; |
1352 | Double_t highPtMapping=1.5; | |
1353 | gammaconversion->SetLowPtMapping(lowPtMapping); | |
1354 | gammaconversion->SetHighPtMapping(highPtMapping); | |
1355 | ||
a19c3402 | 1356 | // define the width constraint used by KF particle. |
1357 | Double_t gammaWidth = 0.01; | |
1358 | Double_t pi0Width = 0.01; | |
1359 | Double_t etaWidth = 0.01; | |
32a6d407 | 1360 | |
a19c3402 | 1361 | gammaconversion->SetHistograms(histograms); |
1362 | v0Reader->SetHistograms(histograms);// also give the pointer to the v0reader, for debugging cuts | |
b5832f95 | 1363 | |
1364 | gammaconversion->SetTriggerCINT1B(kGCtriggerCINT1B); | |
6c84d371 | 1365 | gammaconversion->SetDoMCTruth(kGCdoMCTruth); |
a0b94e5c | 1366 | |
6c84d371 | 1367 | gammaconversion->SetDoNeutralMeson(kGCrunNeutralMeson); |
037dc2db | 1368 | gammaconversion->SetDoNeutralMesonV0MCCheck(kGCdoNeutralMesonV0MCCheck); |
6c84d371 | 1369 | gammaconversion->SetDoJet(kGCrunJet); |
1370 | gammaconversion->SetDoChic(kGCrunChic); | |
48682642 | 1371 | gammaconversion->SetDoOmegaMeson(kGCrunOmegaMeson); |
9c1cb6f7 | 1372 | gammaconversion->SetRecalculateV0ForGamma(kGCRecalculateV0ForGamma); |
a0b94e5c | 1373 | // for CF |
1374 | gammaconversion->SetCFManager(man); | |
1e7846f4 | 1375 | gammaconversion->SetDoCF(kGCrunCF); |
1376 | v0Reader->SetDoCF(kGCrunCF); | |
332f1f44 | 1377 | |
a25750be | 1378 | // Add task to the manager |
1379 | mgr->AddTask(gammaconversion); | |
1380 | ||
1381 | ||
332f1f44 | 1382 | // Define Output Event Handler and add |
1383 | if(kGCWriteAOD){ | |
d765d400 | 1384 | gammaconversion->SetForceAOD(kGCForceAOD); |
332f1f44 | 1385 | |
a25750be | 1386 | if( kGCrunOnTrain ) { |
98de7903 | 1387 | |
332f1f44 | 1388 | AliAODHandler * aodHandler = dynamic_cast<AliAODHandler*>(mgr->GetOutputEventHandler()); |
a25750be | 1389 | if(!aodHandler) { |
1390 | ::Error("This task requires an AOD handler"); | |
1391 | return -1; | |
1392 | } | |
1393 | ||
332f1f44 | 1394 | gammaconversion->SetDeltaAODFileName(kGCDeltaAODFilename); |
1395 | ||
1b3a3172 | 1396 | if(kGCDeltaAODFilename.Length() > 0) { |
332f1f44 | 1397 | mgr->RegisterExtraFile(kGCDeltaAODFilename.Data()); |
1398 | } | |
1399 | ||
1400 | } else { | |
1401 | if(kGCDeltaAODFilename.Length() == 0 ) { | |
1402 | cout << "Error:: Need a file name for the AOD"<<endl; | |
1403 | return; | |
1404 | } | |
1405 | AliAODHandler* aodHandler = new AliAODHandler(); | |
1406 | aodHandler->SetOutputFileName(kGCDeltaAODFilename); | |
1407 | aodHandler->SetCreateNonStandardAOD(); | |
1408 | mgr->SetOutputEventHandler(aodHandler); | |
1409 | } | |
1410 | } | |
1411 | ||
a19c3402 | 1412 | // Connect I/O to the task |
1413 | mgr->ConnectInput (gammaconversion, 0, cinput1); | |
a25750be | 1414 | if(mgr->GetCommonOutputContainer()) |
1415 | mgr->ConnectOutput(gammaconversion, 0, mgr->GetCommonOutputContainer()); | |
07b54fba | 1416 | |
a0b94e5c | 1417 | mgr->ConnectOutput(gammaconversion, 1, coutput2); |
1418 | mgr->ConnectOutput(gammaconversion, 2, coutput3); | |
1419 | ||
332f1f44 | 1420 | if(kGCRunGammaJetTask) { |
1421 | AliAnalysisTaskGammaJet * gammaJetTask = new AliAnalysisTaskGammaJet("GammaJetTask"); | |
1422 | if(kGCrunOnTrain) { | |
1423 | gammaJetTask->SetDeltaAODFileName(kGCDeltaAODFileName); | |
1424 | } | |
1425 | ||
1426 | mgr->ConnectInput(gammaJetTask, 0, cinput1); | |
1427 | AliAnalysisDataContainer *coutputgj = mgr->CreateContainer("chistpt", TList::Class(), AliAnalysisManager::kOutputContainer, "AnalysisResultsConvJets.root"); | |
1428 | mgr->ConnectOutput(gammaJetTask, 1, coutputgj); | |
1429 | } | |
1430 | ||
1431 | ||
1432 | ||
6c84d371 | 1433 | if(kGCrunOnTrain == kFALSE){ |
1434 | if(kGCdataList.IsNull()){ | |
1435 | cout<<"Data list is not set, aborting."<<endl; | |
1436 | return; | |
1437 | } | |
037dc2db | 1438 | /* |
1439 | gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPhysicsSelection.C"); | |
1440 | AliPhysicsSelectionTask* physSelTask = AddTaskPhysicsSelection(); | |
1441 | if(kGCdoMCTruth)physSelTask->GetPhysicsSelection()->SetAnalyzeMC(); | |
1442 | physSelTask->GetPhysicsSelection()->AddBackgroundIdentification(new AliBackgroundSelection()); | |
1443 | gammaconversion->SelectCollisionCandidates(); | |
1444 | */ | |
48682642 | 1445 | |
037dc2db | 1446 | gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPhysicsSelection.C"); |
1447 | AliPhysicsSelectionTask* physSelTask = AddTaskPhysicsSelection(kGCdoMCTruth,kTRUE); | |
1448 | gammaconversion->SelectCollisionCandidates(); | |
48682642 | 1449 | |
037dc2db | 1450 | // if(kGCrunOnTrain == kFALSE){ |
6c84d371 | 1451 | TChain* chain= CreateESDChain(kGCdataList,kGCnumberOfFilesToAnalyze); |
a0b94e5c | 1452 | |
6c84d371 | 1453 | mgr->InitAnalysis(); |
a0b94e5c | 1454 | |
6c84d371 | 1455 | mgr->PrintStatus(); |
a0b94e5c | 1456 | |
6c84d371 | 1457 | mgr->StartAnalysis("local",chain); |
037dc2db | 1458 | // } |
d7d7e825 | 1459 | } |
6c84d371 | 1460 | return gammaconversion; |
a19c3402 | 1461 | } |
1462 | ||
a19c3402 | 1463 | void build() { |
a0b94e5c | 1464 | |
a19c3402 | 1465 | TStopwatch timer; |
1466 | timer.Start(); | |
1467 | gSystem->Load("libTree.so"); | |
1468 | gSystem->Load("libGeom"); | |
32a6d407 | 1469 | |
a19c3402 | 1470 | //// |
1471 | //Setting up ESD.par// | |
1472 | //// | |
1473 | cout<<"compiling ESD"<<endl; | |
1474 | setupPar("ESD"); | |
1475 | gSystem->Load("libVMC.so"); | |
1476 | gSystem->Load("libESD.so"); | |
32a6d407 | 1477 | |
a19c3402 | 1478 | //// |
1479 | //// | |
1480 | //Setting up STEERBase.par// | |
1481 | //// | |
1482 | cout<<"compiling STEERBase"<<endl; | |
1483 | setupPar("STEERBase"); | |
1484 | gSystem->Load("libSTEERBase.so"); | |
32a6d407 | 1485 | |
a19c3402 | 1486 | //// |
1487 | //Setting up AOD.par// | |
1488 | //// | |
1489 | cout<<"compiling AOD"<<endl; | |
1490 | setupPar("AOD"); | |
1491 | gSystem->Load("libAOD.so"); | |
32a6d407 | 1492 | |
a19c3402 | 1493 | //// |
1494 | //Setting up ANALYSIS.par// | |
1495 | //// | |
1496 | cout<<"compiling ANALYSIS"<<endl; | |
1497 | setupPar("ANALYSIS"); | |
1498 | gSystem->Load("libANALYSIS.so"); | |
32a6d407 | 1499 | |
a19c3402 | 1500 | //// |
1501 | //Setting up ANALYSISalice.par// | |
1502 | //// | |
a0b94e5c | 1503 | cout<<"compiling ANALYSISalice"<<endl; |
a19c3402 | 1504 | setupPar("ANALYSISalice"); |
1505 | gSystem->Load("libANALYSISalice.so"); | |
32a6d407 | 1506 | |
a0b94e5c | 1507 | //// |
1508 | //Setting up CORRFW.par// | |
1509 | //// | |
1510 | cout<<"compiling CORRFW"<<endl; | |
1511 | setupPar("CORRFW"); | |
9c1cb6f7 | 1512 | gSystem->Load("libCORRFW.so"); |
a0b94e5c | 1513 | |
a19c3402 | 1514 | //// |
d7d7e825 | 1515 | //Setting up PWG4GammaConv.par// |
a19c3402 | 1516 | //// |
d7d7e825 | 1517 | cout<<"compiling PWG4GammaConv"<<endl; |
1518 | setupPar("PWG4GammaConv"); | |
1519 | gSystem->Load("libPWG4GammaConv.so"); | |
a19c3402 | 1520 | } |
1521 | ||
1522 | Int_t setupPar(const char* pararchivename) { | |
1523 | /////////////////// | |
1524 | // Setup PAR File// | |
1525 | /////////////////// | |
1526 | if (pararchivename) { | |
1527 | char processline[1024]; | |
1528 | sprintf(processline,".! tar xvzf %s.par",pararchivename); | |
1529 | gROOT->ProcessLine(processline); | |
1530 | const char* ocwd = gSystem->WorkingDirectory(); | |
1531 | gSystem->ChangeDirectory(pararchivename); | |
32a6d407 | 1532 | |
a19c3402 | 1533 | // check for BUILD.sh and execute |
1534 | if (!gSystem->AccessPathName("PROOF-INF/BUILD.sh")) { | |
1535 | printf("*******************************\n"); | |
1536 | printf("*** Building PAR archive ***\n"); | |
1537 | printf("*******************************\n"); | |
32a6d407 | 1538 | |
a19c3402 | 1539 | if (gSystem->Exec("PROOF-INF/BUILD.sh")) { |
32a6d407 | 1540 | Error("runAnalysis","Cannot Build the PAR Archive! - Abort!"); |
1541 | return -1; | |
a19c3402 | 1542 | } |
1543 | } | |
1544 | // check for SETUP.C and execute | |
1545 | if (!gSystem->AccessPathName("PROOF-INF/SETUP.C")) { | |
1546 | printf("*******************************\n"); | |
1547 | printf("*** Setup PAR archive ***\n"); | |
1548 | printf("*******************************\n"); | |
1549 | gROOT->Macro("PROOF-INF/SETUP.C"); | |
1550 | } | |
32a6d407 | 1551 | |
a19c3402 | 1552 | gSystem->ChangeDirectory("../"); |
1553 | } | |
1554 | return 1; | |
1555 | } | |
d7d7e825 | 1556 | |
1557 | ||
1558 | ||
1559 | void AddHistograms(AliGammaConversionHistograms *histograms){ | |
1560 | //---------------------------------------------- Jets --------------------------------------------------------- | |
6c84d371 | 1561 | if(kGCrunJet == kTRUE){ |
1562 | if (kGCplotdPhiHdrGam == kTRUE){ | |
1563 | histograms->AddHistogram("ESD_dphiHdrGam","ESD_dphiHdrGam", kGCnXBinsdphiHdrGam,kGCfirstXBindphiHdrGam,kGClastXBindphiHdrGam,"dphiHdrGam (rad)","Counts"); | |
d7d7e825 | 1564 | } |
a0b94e5c | 1565 | |
6c84d371 | 1566 | if (kGCplotdPhiHdrGamIsolated == kTRUE){ |
1567 | histograms->AddHistogram("ESD_dphiHdrGamIsolated","ESD_dphiHdrGamIsolated", kGCnXBinsdphiHdrGam,kGCfirstXBindphiHdrGam,kGClastXBindphiHdrGam,"dphiHdrGamIsolated (rad)","Counts"); | |
d7d7e825 | 1568 | } |
a0b94e5c | 1569 | |
6c84d371 | 1570 | if (kGCplotMinimumIsoDistance == kTRUE){ |
1571 | histograms->AddHistogram("ESD_MinimumIsoDistance","ESD_MinimumIsoDistance", kGCnXBinsMinimumIsoDistance,kGCfirstXBinMinimumIsoDistance,kGClastXBinMinimumIsoDistance,"Minimum Iso Distance (rad)","Counts"); | |
d7d7e825 | 1572 | } |
a0b94e5c | 1573 | |
6c84d371 | 1574 | if (kGCplotFFzHdrGam == kTRUE){ |
1575 | histograms->AddHistogram("ESD_FFzHdrGam","ESD_FFzHdrGam", kGCnXBinsFFzHdrGam, kGCfirstXBinFFzHdrGam,kGClastXBinFFzHdrGam,"FFz Hdr Gam","Counts"); | |
d7d7e825 | 1576 | } |
a0b94e5c | 1577 | |
6c84d371 | 1578 | if (kGCplotImbalanceHdrGam == kTRUE){ |
1579 | histograms->AddHistogram("ESD_ImbalanceHdrGam","ESD_ImbalanceHdrGam", kGCnXBinsImbalanceHdrGam, kGCfirstXBinImbalanceHdrGam,kGClastXBinImbalanceHdrGam,"Imbalance Hdr Gam","Counts"); | |
d7d7e825 | 1580 | } |
6c84d371 | 1581 | }//end if(kGCrunJet) |
a0b94e5c | 1582 | |
d7d7e825 | 1583 | //---------------------------------------------- Chi_c --------------------------------------------------------- |
6c84d371 | 1584 | if(kGCrunChic){ |
a0b94e5c | 1585 | |
6c84d371 | 1586 | if(kGCplotESDInvMassePluseMinus == kTRUE){histograms->AddHistogram("ESD_InvMass_ePluseMinus","",kGCnXBinsJPsiMass, kGCfirstXBinJPsiMass, kGClastXBinJPsiMass, "", |
a0b94e5c | 1587 | "");} |
6c84d371 | 1588 | if(kGCplotESDInvMassePluseMinus == kTRUE){histograms->AddHistogram("ESD_InvMass_ePluseMinusTest","",kGCnXBinsJPsiMass, kGCfirstXBinJPsiMass, kGClastXBinJPsiMass, |
a0b94e5c | 1589 | "","");} |
6c84d371 | 1590 | if(kGCplotESDInvMassePluseMinus == kTRUE){histograms->AddHistogram("ESD_InvMass_xPlusxMinus","",kGCnXBinsJPsiMass, kGCfirstXBinJPsiMass, kGClastXBinJPsiMass, "", |
a0b94e5c | 1591 | "");} |
6c84d371 | 1592 | if(kGCplotESDElectronPosNegPt == kTRUE){histograms->AddHistogram("ESD_ElectronPosNegPt","",kGCnXBinsEPosNegPt,kGCfirstXBinEPosNegPt,kGClastXBinEPosNegPt,"","");} |
1593 | if(kGCplotESDElectronPosNegEta == kTRUE){histograms->AddHistogram("ESD_ElectronPosNegEta","",kGCnXBinsEPosNegEta,kGCfirstXBinEPosNegEta,kGClastXBinEPosNegEta,""," | |
a0b94e5c | 1594 | ");} |
1595 | ||
6c84d371 | 1596 | if(kGCplotESDElectronPosNegPt == kTRUE){histograms->AddHistogram("ESD_ElectronPosPt","",kGCnXBinsEPosNegPt,kGCfirstXBinEPosNegPt,kGClastXBinEPosNegPt,"","");} |
1597 | if(kGCplotESDElectronPosNegPt == kTRUE){histograms->AddHistogram("ESD_ElectronNegPt","",kGCnXBinsEPosNegPt,kGCfirstXBinEPosNegPt,kGClastXBinEPosNegPt,"","");} | |
a0b94e5c | 1598 | |
7bea833a | 1599 | if(kGCplotESDElectronPosNegAngle == kTRUE){histograms->AddHistogram("ESD_ElectronPosNegJPsiAngle","",kGCnXBinsEPosNegAngle,kGCfirstXBinEPosNegAngle,kGClastXBinEPosNegAngle,"","");} |
1600 | ||
6c84d371 | 1601 | if(kGCplotESDePoseNegAngle == kTRUE){histograms->AddHistogram("ESD_eNegePosAngleBeforeCut","",kGCnXBinsEPosNegAngle,kGCfirstXBinEPosNegAngle,kGClastXBinEPosNegAngle,"","");} |
1602 | if(kGCplotESDePoseNegAngle == kTRUE){histograms->AddHistogram("ESD_eNegePosAngleAfterCut","",kGCnXBinsEPosNegAngle,kGCfirstXBinEPosNegAngle,kGClastXBinEPosNegAngle,"","");} | |
1603 | if(kGCplotESDInvMassGammaePluseMinusChiC == kTRUE) {histograms->AddHistogram("ESD_InvMass_GammaePluseMinusChiC","",kGCnXBinsChicMass,kGCfirstXBinChicMass,kGClastXBinChicMass,"","");} | |
1604 | if(kGCplotESDInvMassGammaePluseMinusChiC == kTRUE) {histograms->AddHistogram("ESD_InvMass_GammaePluseMinusChiCDiff","",kGCnXBinsChicMass,kGCfirstXBinChicMass,kGClastXBinChicMass,"","");} | |
1605 | if(kGCplotESDInvMassGammaePluseMinusPi0 == kTRUE) {histograms->AddHistogram("ESD_InvMass_GammaePluseMinusPi0","",kGCnXBinsPi0Mass,kGCfirstXBinPi0Mass,kGClastXBinPi0Mass,"","");} | |
1606 | if(kGCplotESDElectronPosNegPi0Angle == kTRUE){histograms->AddHistogram("ESD_ElectronPosNegPi0Angle","",kGCnXBinsEPosNegAngle,kGCfirstXBinEPosNegAngle,kGClastXBinEPosNegAngle,"","");} | |
a0b94e5c | 1607 | |
6c84d371 | 1608 | if(kGCplotESDEPosBackground == kTRUE){histograms->AddHistogram("ESD_EPosBackground","",kGCnXBinsEBackground,kGCfirstXBinEBackground,kGClastXBinEBackground,"","");} |
a0b94e5c | 1609 | |
6c84d371 | 1610 | if(kGCplotESDEPosBackground == kTRUE){histograms->AddHistogram("ESD_EPosENegNoJPsiBG","",kGCnXBinsEBackground,kGCfirstXBinEBackground,kGClastXBinEBackground,"","");} |
a0b94e5c | 1611 | |
1612 | ||
6c84d371 | 1613 | if(kGCplotESDENegBackground == kTRUE){histograms->AddHistogram("ESD_ENegBackground","",kGCnXBinsEBackground,kGCfirstXBinEBackground,kGClastXBinEBackground,"","");} |
1614 | if(kGCplotESDEPosENegBackground == kTRUE){histograms->AddHistogram("ESD_EPosENegBackground","",kGCnXBinsEBackground,kGCfirstXBinEBackground,kGClastXBinEBackground,"","");} | |
1615 | if(kGCplotESDEPosENegBackgroundCut == kTRUE){histograms->AddHistogram("ESD_EPosENegBackgroundCut","",kGCnXBinsEBackgroundCut,kGCfirstXBinEBackgroundCut,kGClastXBinEBackgroundCut,"","");} | |
a0b94e5c | 1616 | |
6c84d371 | 1617 | if(kGCplotESDEPosENegGammaBackgroundMX == kTRUE){histograms->AddHistogram("ESD_EPosENegGammaBackgroundMX","",kGCnXBinsEBackground,kGCfirstXBinEBackground,kGClastXBinEBackground,"","");} |
1618 | if(kGCplotESDEPosENegGammaBackgroundMX == kTRUE){histograms->AddHistogram("ESD_EPosENegGammaBackgroundMXDiff","",kGCnXBinsEBackground,kGCfirstXBinEBackground,kGClastXBinEBackground,"","");} | |
a0b94e5c | 1619 | |
6c84d371 | 1620 | if(kGCplotTableElectrons == kTRUE){ histograms->AddTable("Table_Electrons","",kGCnElementsElectronTable,kGCelectronTable);} |
7bea833a | 1621 | |
1622 | if(kGCdoMCTruth){ | |
1623 | if(kGCplotMCElectronPosNegPt == kTRUE){histograms->AddHistogram("MC_ElectronPosNegPt","",kGCnXBinsEPosNegPt,kGCfirstXBinEPosNegPt,kGClastXBinEPosNegPt,"","");} | |
1624 | if(kGCplotMCElectronPosNegEta == kTRUE){histograms->AddHistogram("MC_ElectronPosNegEta","",kGCnXBinsEPosNegEta,kGCfirstXBinEPosNegEta,kGClastXBinEPosNegEta,"","");} | |
1625 | if(kGCplotMCElectronPosNegJPsiAngle == kTRUE){histograms->AddHistogram("MC_ElectronPosNegJPsiAngle","",kGCnXBinsEPosNegAngle,kGCfirstXBinEPosNegAngle,kGClastXBinEPosNegAngle,"","");} | |
1626 | if(kGCplotMCElectronPosNegPi0Angle == kTRUE){histograms->AddHistogram("MC_ElectronPosNegPi0Angle","",kGCnXBinsEPosNegAngle,kGCfirstXBinEPosNegAngle,kGClastXBinEPosNegAngle,"","");} | |
1627 | } | |
1628 | ||
6c84d371 | 1629 | }// end kGCrunChic |
a0b94e5c | 1630 | |
d7d7e825 | 1631 | //---------------------------------------------- Neutral Meson --------------------------------------------------------- |
6c84d371 | 1632 | if(kGCrunNeutralMeson){ |
a0b94e5c | 1633 | |
d7d7e825 | 1634 | // Histograms from esd tracks |
6c84d371 | 1635 | if(kGCplotESDEEnergy == kTRUE){ histograms->AddHistogram("ESD_E_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} |
1636 | if(kGCplotESDEPt == kTRUE){ histograms->AddHistogram("ESD_E_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1637 | if(kGCplotESDEEta == kTRUE){ histograms->AddHistogram("ESD_E_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1638 | if(kGCplotESDEPhi == kTRUE){ histograms->AddHistogram("ESD_E_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
ebcfaa7e | 1639 | if(kGCplotESDENTPCClusters == kTRUE){ histograms->AddHistogram("ESD_E_nTPCClusters" ,"" , kGCnXBinsNTPCClusters, kGCfirstXBinNTPCClusters, kGClastXBinNTPCClusters, "", "");} |
1640 | if(kGCplotESDENITSClusters == kTRUE){ histograms->AddHistogram("ESD_E_nITSClusters" ,"" , kGCnXBinsNITSClusters, kGCfirstXBinNITSClusters, kGClastXBinNITSClusters, "", "");} | |
a0b94e5c | 1641 | |
6c84d371 | 1642 | if(kGCplotESDPEnergy == kTRUE){ histograms->AddHistogram("ESD_P_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} |
1643 | if(kGCplotESDPPt == kTRUE){ histograms->AddHistogram("ESD_P_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1644 | if(kGCplotESDPEta == kTRUE){ histograms->AddHistogram("ESD_P_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1645 | if(kGCplotESDPPhi == kTRUE){ histograms->AddHistogram("ESD_P_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
ebcfaa7e | 1646 | if(kGCplotESDPNTPCClusters == kTRUE){ histograms->AddHistogram("ESD_P_nTPCClusters" ,"" , kGCnXBinsNTPCClusters, kGCfirstXBinNTPCClusters, kGClastXBinNTPCClusters, "", "");} |
f5f99b3d | 1647 | if(kGCplotESDPNITSClusters == kTRUE){ histograms->AddHistogram("ESD_P_nITSClusters" ,"" , kGCnXBinsNITSClusters, kGCfirstXBinNITSClusters, kGClastXBinNITSClusters, "", "");} |
a0b94e5c | 1648 | |
6c84d371 | 1649 | if(kGCplotESDConvGammaEnergy == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} |
1650 | if(kGCplotESDConvGammaPt == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1651 | if(kGCplotESDConvGammaEta == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1652 | if(kGCplotESDConvGammaPhi == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
1653 | if(kGCplotESDConvGammaMass == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Mass" ,"" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass, "", "");} | |
1654 | if(kGCplotESDConvGammaWidth == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Width" ,"" , kGCnXBinsGammaWidth, kGCfirstXBinGammaWidth, kGClastXBinGammaWidth, "", "");} | |
1655 | if(kGCplotESDConvGammaChi2 == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Chi2" ,"" , kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
1656 | if(kGCplotESDConvGammaNDF == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_NDF" ,"" , kGCnXBinsGammaNDF, kGCfirstXBinGammaNDF, kGClastXBinGammaNDF, "", "");} | |
1657 | if(kGCplotESDConvGammaRapid == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
1658 | if(kGCplotESDConvGammaPtvsEta == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Pt_Eta","", kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta,"","" );} | |
1659 | if(kGCplotESDConvGammaPtvsChi2 == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Pt_Chi2" ,"" ,kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
1660 | if(kGCplotESDConvGammaEtavsChi2 == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_Eta_Chi2" ,"" ,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
a0b94e5c | 1661 | |
1662 | ||
1663 | ||
6c84d371 | 1664 | if(kGCplotESDConversionR == kTRUE){ histograms->AddHistogram("ESD_Conversion_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} |
1665 | if(kGCplotESDConversionZR == kTRUE){ histograms->AddHistogram("ESD_Conversion_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1666 | if(kGCplotESDConversionXY == kTRUE){ histograms->AddHistogram("ESD_Conversion_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
1667 | if(kGCplotESDConversionOpeningAngle == kTRUE){ histograms->AddHistogram("ESD_Conversion_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} | |
9640a3d1 | 1668 | |
1669 | if(kGCplotESDConvGammaCosPointingAngle == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_CosPointingAngle" ,"" , kGCnXBinsCosPointingAngle, kGCfirstXBinCosPointingAngle, kGClastXBinCosPointingAngle, "", "");} | |
1670 | if(kGCplotESDConvGammaDcaDaugthers == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_DcaDaughters" ,"" , kGCnXBinsDcaDaughters, kGCfirstXBinDcaDaughters, kGClastXBinDcaDaughters, "", "");} | |
1671 | if(kGCplotESDConvGammaNormDcaDistDaugthers == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_NormDcaDistDaughters" ,"" , kGCnXBinsNormDcaDistDaughters, kGCfirstXBinNormDcaDistDaughters, kGClastXBinNormDcaDistDaughters, "", "");} | |
1672 | if(kGCplotESDConvGammaLikelihoodAP == kTRUE){ histograms->AddHistogram("ESD_ConvGamma_LikelihoodAP" ,"" , kGCnXBinsLikelihoodAP, kGCfirstXBinLikelihoodAP, kGClastXBinLikelihoodAP, "", "");} | |
1673 | if(kGCplotESDConvGammaEAsymmetryP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_E_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
1674 | if(kGCplotESDConvGammaPAsymmetryP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_P_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
9c1cb6f7 | 1675 | if(kGCplotESDConvGammaEdEdxP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_E_dEdxP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0);} |
1676 | if(kGCplotESDConvGammaPdEdxP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_P_dEdxP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0);} | |
1677 | ||
1678 | if(kGCplotESDConvGammaEeProbP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_E_EProbP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsEProb, kGCfirstYBinEProb, kGClastYBinEProb,"", "",0);} | |
1679 | if(kGCplotESDConvGammaPeProbP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_P_EProbP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsEProb, kGCfirstYBinEProb, kGClastYBinEProb,"", "",0);} | |
1680 | if(kGCplotESDConvGammaEmupiProbP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_E_mupiProbP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsEProb, kGCfirstYBinEProb, kGClastYBinEProb,"", "",0);} | |
1681 | if(kGCplotESDConvGammaPmupiProbP== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_P_mupiProbP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsEProb, kGCfirstYBinEProb, kGClastYBinEProb,"", "",0);} | |
9640a3d1 | 1682 | |
9c1cb6f7 | 1683 | if(kGCplotESDConvGammaQtAlfa== kTRUE){ histograms->AddHistogram("ESD_ConvGamma_alfa_qt" ,"" ,kGCnXBinsP, kGCfirstXBinAlphaG, kGClastXBinAlpha,kGCnYBinsQt, kGCfirstYBinQt, kGClastYBinQt,"", "");} |
48682642 | 1684 | |
9640a3d1 | 1685 | |
a0b94e5c | 1686 | |
037dc2db | 1687 | if(kGCplotESDTrueDalitzContaminationR == kTRUE){ histograms->AddHistogram("ESD_TrueDalitzContamination_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} |
a0b94e5c | 1688 | |
6c84d371 | 1689 | if(kGCplotESDTrueConvGammaEnergy == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} |
1690 | if(kGCplotESDTrueConvGammaPt == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1691 | if(kGCplotESDTrueConvGammaEta == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1692 | if(kGCplotESDTrueConvGammaPhi == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
1693 | if(kGCplotESDTrueConvGammaMass == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Mass" ,"" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass, "", "");} | |
1694 | if(kGCplotESDTrueConvGammaWidth == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Width" ,"" , kGCnXBinsGammaWidth, kGCfirstXBinGammaWidth, kGClastXBinGammaWidth, "", "");} | |
1695 | if(kGCplotESDTrueConvGammaChi2 == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Chi2" ,"" , kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
1696 | if(kGCplotESDTrueConvGammaNDF == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_NDF" ,"" , kGCnXBinsGammaNDF, kGCfirstXBinGammaNDF, kGClastXBinGammaNDF, "", "");} | |
1697 | if(kGCplotESDTrueConvGammaRapid == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
1698 | if(kGCplotESDTrueConvGammaPtvsEta == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Pt_Eta" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1699 | if(kGCplotESDTrueConvGammaPtvsChi2 == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Pt_Chi2" ,"" ,kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
1700 | if(kGCplotESDTrueConvGammaEtavsChi2 == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_Eta_Chi2" ,"" ,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
a0b94e5c | 1701 | |
6c84d371 | 1702 | if(kGCplotESDTrueConversionR == kTRUE){ histograms->AddHistogram("ESD_TrueConversion_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} |
1703 | if(kGCplotESDTrueConversionZR == kTRUE){ histograms->AddHistogram("ESD_TrueConversion_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1704 | if(kGCplotESDTrueConversionXY == kTRUE){ histograms->AddHistogram("ESD_TrueConversion_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
1705 | if(kGCplotESDTrueConversionOpeningAngle == kTRUE){ histograms->AddHistogram("ESD_TrueConversion_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} | |
9640a3d1 | 1706 | |
1707 | if(kGCplotESDTrueConvGammaCosPointingAngle == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_CosPointingAngle" ,"" , kGCnXBinsCosPointingAngle, kGCfirstXBinCosPointingAngle, kGClastXBinCosPointingAngle, "", "");} | |
1708 | if(kGCplotESDTrueConvGammaDcaDaugthers == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_DcaDaughters" ,"" , kGCnXBinsDcaDaughters, kGCfirstXBinDcaDaughters, kGClastXBinDcaDaughters, "", "");} | |
1709 | if(kGCplotESDTrueConvGammaNormDcaDistDaugthers == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_NormDcaDistDaughters" ,"" , kGCnXBinsNormDcaDistDaughters, kGCfirstXBinNormDcaDistDaughters, kGClastXBinNormDcaDistDaughters, "", "");} | |
1710 | if(kGCplotESDTrueConvGammaLikelihoodAP == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_LikelihoodAP" ,"" , kGCnXBinsLikelihoodAP, kGCfirstXBinLikelihoodAP, kGClastXBinLikelihoodAP, "", "");} | |
1711 | if(kGCplotESDTrueConvGammaEAsymmetryP== kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_E_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
1712 | if(kGCplotESDTrueConvGammaPAsymmetryP== kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_P_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
9c1cb6f7 | 1713 | if(kGCplotESDTrueConvGammaEdEdxP== kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_E_dEdxP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0);} |
1714 | if(kGCplotESDTrueConvGammaPdEdxP== kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_P_dEdxP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0);} | |
70ef88b5 | 1715 | if(kGCplotESDTrueConvGammaQtAlfa== kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_alfa_qt" ,"" ,kGCnXBinsP, kGCfirstXBinAlphaG, kGClastXBinAlpha,kGCnYBinsQt, kGCfirstYBinQt, kGClastYBinQt,"", "");} |
a0b94e5c | 1716 | |
6c84d371 | 1717 | if(kGCplotESDTrueConvGammaMCPtEta == kTRUE){ histograms->AddHistogram("ESD_TrueConvGamma_MC_Pt_Eta" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} |
1718 | if(kGCplotESDTrueConversionMCZR == kTRUE){ histograms->AddHistogram("ESD_TrueConversion_MC_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1719 | if(kGCplotESDTrueConversionMCXY == kTRUE){ histograms->AddHistogram("ESD_TrueConversion_MC_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
a0b94e5c | 1720 | |
1721 | ||
1722 | ||
6c84d371 | 1723 | if(kGCplotESDNoCutConvGammaEnergy == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} |
1724 | if(kGCplotESDNoCutConvGammaPt == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1725 | if(kGCplotESDNoCutConvGammaEta == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1726 | if(kGCplotESDNoCutConvGammaPhi == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
1727 | if(kGCplotESDNoCutConvGammaMass == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Mass" ,"" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass, "", "");} | |
1728 | if(kGCplotESDNoCutConvGammaWidth == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Width" ,"" , kGCnXBinsGammaWidth, kGCfirstXBinGammaWidth, kGClastXBinGammaWidth, "", "");} | |
1729 | if(kGCplotESDNoCutConvGammaChi2 == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Chi2" ,"" , kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
1730 | if(kGCplotESDNoCutConvGammaNDF == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_NDF" ,"" , kGCnXBinsGammaNDF, kGCfirstXBinGammaNDF, kGClastXBinGammaNDF, "", "");} | |
1731 | if(kGCplotESDNoCutConvGammaRapid == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
1732 | if(kGCplotESDNoCutConvGammaPtvsEta == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Pt_Eta" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1733 | if(kGCplotESDNoCutConvGammaPtvsChi2 == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Pt_Chi2" ,"" ,kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
1734 | if(kGCplotESDNoCutConvGammaEtavsChi2 == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_Eta_Chi2" ,"" ,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, kGCnXBinsGammaChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} | |
a0b94e5c | 1735 | |
6c84d371 | 1736 | if(kGCplotESDNoCutConversionR == kTRUE){ histograms->AddHistogram("ESD_NoCutConversion_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} |
1737 | if(kGCplotESDNoCutConversionZR == kTRUE){ histograms->AddHistogram("ESD_NoCutConversion_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1738 | if(kGCplotESDNoCutConversionXY == kTRUE){ histograms->AddHistogram("ESD_NoCutConversion_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
1739 | if(kGCplotESDNoCutConversionOpeningAngle == kTRUE){ histograms->AddHistogram("ESD_NoCutConversion_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} | |
9640a3d1 | 1740 | |
1741 | if(kGCplotESDNoCutConvGammaCosPointingAngle == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_CosPointingAngle" ,"" , kGCnXBinsCosPointingAngle, kGCfirstXBinCosPointingAngle, kGClastXBinCosPointingAngle, "", "");} | |
1742 | if(kGCplotESDNoCutConvGammaDcaDaugthers == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_DcaDaughters" ,"" , kGCnXBinsDcaDaughters, kGCfirstXBinDcaDaughters, kGClastXBinDcaDaughters, "", "");} | |
1743 | if(kGCplotESDNoCutConvGammaNormDcaDistDaugthers == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_NormDcaDistDaughters" ,"" , kGCnXBinsNormDcaDistDaughters, kGCfirstXBinNormDcaDistDaughters, kGClastXBinNormDcaDistDaughters, "", "");} | |
1744 | if(kGCplotESDNoCutConvGammaLikelihoodAP == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_LikelihoodAP" ,"" , kGCnXBinsLikelihoodAP, kGCfirstXBinLikelihoodAP, kGClastXBinLikelihoodAP, "", "");} | |
1745 | if(kGCplotESDNoCutConvGammaEAsymmetryP== kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_E_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
1746 | if(kGCplotESDNoCutConvGammaPAsymmetryP== kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_P_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
1747 | ||
1748 | ||
9c1cb6f7 | 1749 | if(kGCplotESDNoCutConvGammaEdEdxP== kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_E_dEdxP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0);} |
1750 | if(kGCplotESDNoCutConvGammaPdEdxP== kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_P_dEdxP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0);} | |
9640a3d1 | 1751 | |
6c84d371 | 1752 | if(kGCplotESDNoCutConvGammaMCPtEta == kTRUE){ histograms->AddHistogram("ESD_NoCutConvGamma_MC_Pt_Eta" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} |
1753 | if(kGCplotESDNoCutConversionMCZR == kTRUE){ histograms->AddHistogram("ESD_NoCutConversion_MC_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1754 | if(kGCplotESDNoCutConversionMCXY == kTRUE){ histograms->AddHistogram("ESD_NoCutConversion_MC_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
a0b94e5c | 1755 | |
1756 | ||
10e3319b | 1757 | if(kGCplotESDMotherChi2 == kTRUE){ histograms->AddHistogram("ESD_Mother_Chi2","" , kGCnXBinsMesonChi2, kGCfirstXBinGammaChi2, kGClastXBinGammaChi2, "", "");} |
6c84d371 | 1758 | if(kGCplotESDMotherOpeningAngleGamma == kTRUE){ histograms->AddHistogram("ESD_Mother_GammaDaughter_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} |
1759 | if(kGCplotESDMotherEnergy == kTRUE){ histograms->AddHistogram("ESD_Mother_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
1760 | if(kGCplotESDMotherPt == kTRUE){ histograms->AddHistogram("ESD_Mother_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1761 | if(kGCplotESDMotherEta == kTRUE){ histograms->AddHistogram("ESD_Mother_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1762 | if(kGCplotESDMotherPhi == kTRUE){ histograms->AddHistogram("ESD_Mother_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
1763 | if(kGCplotESDMotherMass == kTRUE){ histograms->AddHistogram("ESD_Mother_Mass" ,"" , kGCnXBinsPi0Mass, kGCfirstXBinPi0Mass, kGClastXBinPi0Mass, "", "");} | |
1764 | if(kGCplotESDMotherR == kTRUE){ histograms->AddHistogram("ESD_Mother_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} | |
1765 | if(kGCplotESDMotherZR == kTRUE){ histograms->AddHistogram("ESD_Mother_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1766 | if(kGCplotESDMotherXY == kTRUE){ histograms->AddHistogram("ESD_Mother_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
1767 | if(kGCplotESDMotherRapid == kTRUE){ histograms->AddHistogram("ESD_Mother_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
a0b94e5c | 1768 | |
037dc2db | 1769 | for(Int_t z=0;z<8;z++){ |
10e3319b | 1770 | for(Int_t m=0;m<6;m++){ |
037dc2db | 1771 | if(kGCplotESDBackgroundOpeningAngleGamma == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_GammaDaughter_OpeningAngle",z,m) ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} |
1772 | if(kGCplotESDBackgroundEnergy == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_Energy",z,m) ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
1773 | if(kGCplotESDBackgroundPt == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_Pt",z,m) ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1774 | if(kGCplotESDBackgroundEta == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_Eta",z,m) ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1775 | if(kGCplotESDBackgroundPhi == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_Phi",z,m) ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
1776 | if(kGCplotESDBackgroundMass == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_Mass",z,m) ,"" , kGCnXBinsEtaMass, kGCfirstXBinEtaMass, kGClastXBinEtaMass, "", "");} | |
1777 | if(kGCplotESDBackgroundR == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_R",z,m) ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} | |
1778 | if(kGCplotESDBackgroundZR == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_ZR",z,m) ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1779 | if(kGCplotESDBackgroundXY == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_XY",z,m) ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
1780 | if(kGCplotESDBackgroundRapid == kTRUE){ histograms->AddHistogram(Form("%d%dESD_Background_Rapid",z,m) ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
1781 | } | |
1782 | } | |
1783 | ||
6c84d371 | 1784 | if(kGCplotESDBackgroundOpeningAngleGamma == kTRUE){ histograms->AddHistogram("ESD_Background_GammaDaughter_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} |
1785 | if(kGCplotESDBackgroundEnergy == kTRUE){ histograms->AddHistogram("ESD_Background_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
1786 | if(kGCplotESDBackgroundPt == kTRUE){ histograms->AddHistogram("ESD_Background_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
1787 | if(kGCplotESDBackgroundEta == kTRUE){ histograms->AddHistogram("ESD_Background_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
1788 | if(kGCplotESDBackgroundPhi == kTRUE){ histograms->AddHistogram("ESD_Background_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
1789 | if(kGCplotESDBackgroundMass == kTRUE){ histograms->AddHistogram("ESD_Background_Mass" ,"" , kGCnXBinsEtaMass, kGCfirstXBinEtaMass, kGClastXBinEtaMass, "", "");} | |
1790 | if(kGCplotESDBackgroundR == kTRUE){ histograms->AddHistogram("ESD_Background_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} | |
1791 | if(kGCplotESDBackgroundZR == kTRUE){ histograms->AddHistogram("ESD_Background_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
1792 | if(kGCplotESDBackgroundXY == kTRUE){ histograms->AddHistogram("ESD_Background_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
1793 | if(kGCplotESDBackgroundRapid == kTRUE){ histograms->AddHistogram("ESD_Background_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
a0b94e5c | 1794 | |
1795 | ||
6c84d371 | 1796 | if(kGCplotMapping == kTRUE){ |
a0b94e5c | 1797 | histograms->InitializeMappingValues(kGCnPhiIndex,kGCnRIndex,kGCnXBinsMapping,kGCminRadius,kGCmaxRadius,kGCnYBinsMapping,kGCminPhi,kGCmaxPhi); |
9640a3d1 | 1798 | histograms->AddMappingHistograms(kGCnPhiIndex,kGCnRIndex,kGCnXBinsMapping,kGCfirstXBinMapping,kGClastXBinMapping,kGCnYBinsMapping,kGCfirstYBinMapping,kGClastYBinMapping); |
1799 | // histograms->AddMappingHistograms(kGCnPhiIndex,kGCnRIndex,kGCnXBinsMapping,kGCminRadius,kGCmaxRadius,kGCnYBinsMapping,kGCminPhi,kGCmaxPhi); | |
d7d7e825 | 1800 | } |
037dc2db | 1801 | |
ca6d4600 | 1802 | // |
1803 | //************************************* Defining Resolution histograms *******************************************************/ | |
1804 | // | |
1805 | // written by Friederike Bock | |
1806 | // contact: Friederike.Bock@cern.ch | |
1807 | // | |
1808 | ||
1809 | if(kGCrunRES == kTRUE){ | |
1810 | //------------------------------------------ Absolute Resolutions -------------------------------------------------------- | |
1811 | if(kGCplotResolutiondRAbs== kTRUE){ | |
1812 | histograms->AddHistogram("Resolution_dRAbs_VS_R","" ,kGCnXBinsResdR, kGCfirstXBinResdR, kGClastXBinResdR,kGCnYBinsResdR,kGCfirstYBinResdR, kGClastYBinResdR, "", "");} | |
1813 | if(kGCplotResolutiondZAbs== kTRUE){ | |
1814 | histograms->AddHistogram("Resolution_dZAbs_VS_R","" ,kGCnXBinsResdR, kGCfirstXBinResdR, kGClastXBinResdR,kGCnYBinsResdR,kGCfirstYBinResdR, kGClastYBinResdR, "", "");} | |
1815 | if(kGCplotResolutiondPhiAbs== kTRUE){ | |
1816 | histograms->AddHistogram("Resolution_dPhiAbs_VS_R","" ,kGCnXBinsResdR, kGCfirstXBinResdR, kGClastXBinResdR,kGCnYBinsResdR, -TMath::Pi()/30., TMath::Pi()/30., "", "");} | |
1817 | ||
1818 | //------------------------------------------ Relative Resolutions -------------------------------------------------------- | |
1819 | if(kGCplotResolutiondR == kTRUE){ | |
1820 | histograms->AddHistogram("Resolution_dR" ,"" , kGCnXBinsResdR, kGCfirstXBinResdR, kGClastXBinResdR, kGCnYBinsResdR, kGCfirstYBinResdR, kGClastYBinResdR, "", "");} | |
1821 | if(kGCplotResolutiondZ == kTRUE){ | |
1822 | histograms->AddHistogram("Resolution_dZ" ,"" , kGCnXBinsResdZ, kGCfirstXBinResdZ, kGClastXBinResdZ, kGCnYBinsResdZ, kGCfirstYBinResdZ, kGClastYBinResdZ, "", "");} | |
1823 | ||
1824 | //------------------------------------------- Pt vs R --------------------------------------------------------------------- | |
1825 | if(kGCplotResolutiondRdPt == kTRUE){ | |
1826 | histograms->AddHistogram("Resolution_R_dPt" ,"" , kGCnXBinsResdR, kGCfirstXBinResdR, kGClastXBinResdR, kGCnYBinsResdRdPt, kGCfirstYBinResdRdPt, kGClastYBinResdRdPt, "", "");} | |
1827 | ||
1828 | ||
1829 | // ------------------------------------------- Reconstruction Plots for Resolution ---------------------------------------- | |
1830 | if(kGCplotResolutionMCPt == kTRUE){ | |
1831 | histograms->AddHistogram("Resolution_MC_Pt" ,"" , kGCnXBinsResPt, kGCfirstXBinResPt, kGClastXBinResPt,"","");} | |
1832 | if(kGCplotResolutionMCR == kTRUE){ | |
1833 | histograms->AddHistogram("Resolution_MC_R" ,"" , kGCnXBinsResR, kGCfirstXBinResR, kGClastXBinResR,"","");} | |
1834 | if(kGCplotResolutionMCZ == kTRUE){ | |
1835 | histograms->AddHistogram("Resolution_MC_Z" ,"" , kGCnXBinsResZ, kGCfirstXBinResZ, kGClastXBinResZ,"","");} | |
1836 | ||
1837 | if(kGCplotResolutionESDPt == kTRUE){ | |
1838 | histograms->AddHistogram("Resolution_ESD_Pt" ,"" , kGCnXBinsResPt, kGCfirstXBinResPt, kGClastXBinResPt,"","");} | |
1839 | if(kGCplotResolutionESDR == kTRUE){ | |
1840 | histograms->AddHistogram("Resolution_ESD_R" ,"" , kGCnXBinsResR, kGCfirstXBinResR, kGClastXBinResR,"","");} | |
1841 | if(kGCplotResolutionESDZ == kTRUE){ | |
1842 | histograms->AddHistogram("Resolution_ESD_Z" ,"" , kGCnXBinsResZ, kGCfirstXBinResZ, kGClastXBinResZ,"","");} | |
1843 | ||
1844 | // ------------------------------------------- Plots for specific Gamma Trigger Studies ----------------------------------- | |
48682642 | 1845 | if(kGCplotResolutionPtdPt = kTRUE){ |
ca6d4600 | 1846 | // ::::::::::::::::::::::::::::::::::::::: histograms for gammas :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
1847 | histograms->AddHistogram("Resolution_Gamma_dPt_Pt" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1848 | histograms->AddHistogram("Resolution_Gamma_dPt_Phi" ,"" , kGCnYBinsResdR, -TMath::Pi(), TMath::Pi(), kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1849 | ||
1850 | // ::::::::::::::::::::::::::::::::::::::: histograms for electrons ::::::::::::::::::::::::::::::::::::::::::::::::::: | |
1851 | histograms->AddHistogram("Resolution_E_dPt_Pt" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1852 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS0" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1853 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS1" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1854 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS2" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1855 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS3" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1856 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS4" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1857 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS5" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1858 | histograms->AddHistogram("Resolution_E_dPt_Pt_ITS6" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1859 | histograms->AddHistogram("Resolution_E_dPt_Phi" ,"" , kGCnYBinsResdR, -TMath::Pi(), TMath::Pi(), kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
9c1cb6f7 | 1860 | histograms->AddHistogram("Resolution_E_nTRDtracklets_ESDPt" ,"" ,kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 8, -0.5, 7.5,"", ""); |
1861 | histograms->AddHistogram("Resolution_E_nTRDtracklets_MCPt","" ,kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 8, -0.5, 7.5,"", ""); | |
1862 | histograms->AddHistogram("Resolution_E_nTRDclusters_ESDPt","",kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 201, -0.5, 200.5,"", ""); | |
1863 | histograms->AddHistogram("Resolution_E_nTRDclusters_MCPt","",kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 201, -0.5, 200.5,"", ""); | |
ca6d4600 | 1864 | // histograms->AddHistogram("Resolution_E_TRDsignal_ESDPt","", fV0Reader->GetNegativeTrackPt(), fV0Reader->GetNegativeESDTrack()->GetTRDsignal()); |
1865 | ||
1866 | // :::::::::::::::::::::::::::::::::::::::: histograms for positrons ::::::::::::::::::::::::::::::::::::::::::::::::::: | |
1867 | histograms->AddHistogram("Resolution_P_dPt_Pt" ,"" , kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1868 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS0" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1869 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS1" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1870 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS2" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1871 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS3" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1872 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS4" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1873 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS5" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1874 | histograms->AddHistogram("Resolution_P_dPt_Pt_ITS6" ,"" ,kGCnYBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
1875 | histograms->AddHistogram("Resolution_P_dPt_Phi" ,"" , kGCnYBinsResdR, -TMath::Pi(), TMath::Pi(), kGCnYBinsResdPt, kGCfirstYBinResdPt, kGClastYBinResdPt, "", ""); | |
9c1cb6f7 | 1876 | histograms->AddHistogram("Resolution_P_nTRDtracklets_ESDPt" ,"" ,kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 8, -0.5, 7.5,"", ""); |
1877 | histograms->AddHistogram("Resolution_P_nTRDtracklets_MCPt","", kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 8, -0.5, 7.5,"", ""); | |
1878 | histograms->AddHistogram("Resolution_P_nTRDclusters_ESDPt","",kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 201, -0.5, 200.5,"", ""); | |
1879 | histograms->AddHistogram("Resolution_P_nTRDclusters_MCPt","",kGCnXBinsResdPt, kGCfirstXBinResdPt, kGClastXBinResdPt, 201,-0.5, 200.5,"", ""); | |
ca6d4600 | 1880 | // histograms->AddHistogram("Resolution_P_TRDsignal_ESDPt", "",fV0Reader->GetPositiveTrackPt(), fV0Reader->GetPositiveESDTrack()->GetTRDsignal()); |
1881 | } //end of specific trigger study resolution plots | |
1882 | } //end if(kGCrunRES=true) | |
1883 | ||
1884 | // ___________________________________________________________________________________________________________________________________________________ | |
48682642 | 1885 | |
ebcfaa7e | 1886 | if(kGCplotESDNumberOfV0s == kTRUE){histograms->AddHistogram("ESD_NumberOfV0s","Number of v0s",100, -0.5, 99.5,"","");} |
1887 | if(kGCplotESDNumberOfSurvivingV0s == kTRUE){histograms->AddHistogram("ESD_NumberOfSurvivingV0s","Number of surviving v0s",100, -0.5, 99.5,"","");} | |
1888 | if(kGCplotESDNumberOfContributorsVtx == kTRUE){histograms->AddHistogram("ESD_NumberOfContributorsVtx","Number of contributors to vertex",100, -0.5, 99.5,"","");} | |
037dc2db | 1889 | if(kGCplotESDNumberOfGoodESDTracks == kTRUE){histograms->AddHistogram("ESD_NumberOfGoodESDTracks","Number of Good ESD tracks",100, -0.5, 99.5,"","");} |
e40fd7e2 | 1890 | if(kGCplotESDNumberOfGoodESDTracks == kTRUE){histograms->AddHistogram("ESD_NumberOfGoodESDTracksVtx","Number of Good ESD tracks",100, -0.5, 99.5,"","");} |
1891 | ||
d7d7e825 | 1892 | // debug histograms |
6c84d371 | 1893 | if(kGCplotESDCutGetOnFly == kTRUE){histograms->AddHistogram("ESD_CutGetOnFly_InvMass" ,"Not GetOnFly" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1894 | if(kGCplotESDCutNContributors == kTRUE){histograms->AddHistogram("ESD_CutNContributors_InvMass" ,"NContributors <= 0" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1895 | if(kGCplotESDCutLikeSign == kTRUE){histograms->AddHistogram("ESD_CutLikeSign_InvMass" ,"LikeSign" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1896 | if(kGCplotESDCutRefit == kTRUE){histograms->AddHistogram("ESD_CutRefit_InvMass" ,"No TPC refit" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1897 | if(kGCplotESDCutKink == kTRUE){histograms->AddHistogram("ESD_CutKink_InvMass" ,"Kinks" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1898 | if(kGCplotESDCutPIDProb == kTRUE){histograms->AddHistogram("ESD_CutPIDProb_InvMass" ,"wrong TPC PID" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
9640a3d1 | 1899 | |
1900 | if(kGCplotESDCutdedxSigmaElectronLine == kTRUE){histograms->AddHistogram("ESD_CutdEdxSigmaElectronLine_InvMass" ,"dedx ElectronLine" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1901 | if(kGCplotESDCutdedxSigmaPionLine == kTRUE){histograms->AddHistogram("ESD_CutdEdxSigmaPionLine_InvMass" ,"dedx PionLine" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
9c1cb6f7 | 1902 | if(kGCplotESDCutPionRejectionLowP==kTRUE){histograms->AddHistogram("ESD_CutPionRejectionLowP_InvMass" ,"dedx PionRejection LowP" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1903 | if(kGCplotESDCutKaonRejectionLowP==kTRUE){histograms->AddHistogram("ESD_CutKaonRejectionLowP_InvMass" ,"dedx KaonRejection LowP" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
70ef88b5 | 1904 | if(kGCplotESDCutQtGammaSelection==kTRUE){histograms->AddHistogram("ESD_CutQt_InvMass","ESD_CutQt_InvMass",kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1905 | ||
9c1cb6f7 | 1906 | if(kGCplotESDCutProtonRejectionLowP==kTRUE){histograms->AddHistogram("ESD_CutProtonRejectionLowP_InvMass" ,"dedx ProtonRejection LowP" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
6c84d371 | 1907 | if(kGCplotESDCutR == kTRUE){histograms->AddHistogram("ESD_CutR_InvMass" ,"Above RMax" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1908 | if(kGCplotESDCutNDF == kTRUE){histograms->AddHistogram("ESD_CutNDF_InvMass" ,"NDF <= 0" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1909 | if(kGCplotESDCutChi2 == kTRUE){histograms->AddHistogram("ESD_CutChi2_InvMass" ,"#chi^{2} > Max" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
1910 | if(kGCplotESDCutEta == kTRUE){histograms->AddHistogram("ESD_CutEta_InvMass" ,"Above #eta max" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
9c1cb6f7 | 1911 | if(kGCplotESDCutSinglePt == kTRUE){histograms->AddHistogram("ESD_CutSinglePt_InvMass" ,"Below p_{t} min" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
6c84d371 | 1912 | if(kGCplotESDCutPt == kTRUE){histograms->AddHistogram("ESD_CutPt_InvMass" ,"Below p_{t} min" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1913 | if(kGCplotESDCutLine == kTRUE){histograms->AddHistogram("ESD_CutLine_InvMass" ,"Out of reconstruction area" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} | |
ebcfaa7e | 1914 | if(kGCplotESDCutZ == kTRUE){histograms->AddHistogram("ESD_CutZ_InvMass" ,"Out of reconstruction area" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
48682642 | 1915 | if(kGCplotESDCutMinClsTPC == kTRUE){histograms->AddHistogram("ESD_CutMinNClsTPC_InvMass" ,"Out of reconstruction area" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1916 | ||
9640a3d1 | 1917 | if(kGCplotESDGoodV0s == kTRUE){histograms->AddHistogram("ESD_GoodV0s_InvMass" ,"Good V0s" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
037dc2db | 1918 | if(kGCplotESDAllV0s == kTRUE){histograms->AddHistogram("ESD_AllV0s_InvMass" ,"All V0s" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
48682642 | 1919 | if(kGCplotESDAllV0sCurrentFinder == kTRUE){histograms->AddHistogram("ESD_AllV0sCurrentFinder_InvMass" ,"All V0s Current Finder" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"","");} |
1920 | ||
9c1cb6f7 | 1921 | if(kGCplotESDAllV0sCurrentFinderQtAlfa== kTRUE){ histograms->AddHistogram("ESD_AllV0sCurrentFinder_alfa_qt" ,"" ,kGCnXBinsP, kGCfirstXBinAlphaG, kGClastXBinAlpha,kGCnYBinsQt, kGCfirstYBinQt, kGClastYBinQt,"", "");} |
9640a3d1 | 1922 | |
6c84d371 | 1923 | if(kGCplotESDTrueConvGammaTrackLength == kTRUE){histograms->AddHistogram("ESD_TrueConvGamma_TrackLength","Track length of TrueConvGamma",kGCnXBinsTrackLength,kGCfirstXBinTrackLength,kGClastXBinTrackLength,"","");} |
1924 | if(kGCplotESDTrueConvGammaTrackLengthVSInvMass == kTRUE){histograms->AddHistogram("ESD_TrueConvGamma_TrackLengthVSInvMass","Track length of TrueConvGamma vs Inv mass",kGCnXBinsTrackLength,kGCfirstXBinTrackLength,kGClastXBinTrackLength,kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt,"","");} | |
a0b94e5c | 1925 | |
48682642 | 1926 | if(kGCplotOmegaSpectra == kTRUE){ |
1927 | histograms->AddHistogram("ESD_Omega_InvMass_vs_Pt" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1928 | histograms->AddHistogram("ESD_Omega_InvMass","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1929 | ||
1930 | histograms->AddHistogram("ESD_Omega_Bck_InvMass_vs_Pt" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1931 | histograms->AddHistogram("ESD_Omega_Bck_InvMass","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1932 | histograms->AddHistogram("ESD_OmegaPipPinPi0_InvMass_vs_Pt" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1933 | histograms->AddHistogram("ESD_OmegaPipPinPi0_InvMass","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1934 | ||
1935 | } | |
63e16c52 | 1936 | |
6c84d371 | 1937 | if(kGCplotPi0Spectra == kTRUE){ |
9c1cb6f7 | 1938 | histograms->AddHistogram("ESD_Mother_alfa","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinAlpha, kGClastXBinAlpha,"#alpha","Counts"); |
48682642 | 1939 | |
6c84d371 | 1940 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
9c1cb6f7 | 1941 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt_alpha" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
6c84d371 | 1942 | histograms->AddHistogram("ESD_Mother_InvMass","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); |
ebcfaa7e | 1943 | histograms->AddHistogram("ESD_Mother_InvMass_1212","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); |
1944 | histograms->AddHistogram("ESD_Mother_InvMass_0912","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1945 | histograms->AddHistogram("ESD_Mother_InvMass_0909","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1946 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt1212" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1947 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt0912" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1948 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt0909" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1949 | ||
f5f99b3d | 1950 | |
48682642 | 1951 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvPHOS","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); |
1952 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt_GammaConvPHOS" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1953 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvPHOS_OpanLow","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1954 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvPHOS_OpanHigh","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1955 | ||
1956 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvEMCAL","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1957 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvEMCAL_Bck","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1958 | ||
1959 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt_GammaConvEMCAL" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1960 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt_GammaConvEMCAL_Bck" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1961 | ||
1962 | ||
1963 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvEMCAL_OpanLow","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1964 | histograms->AddHistogram("ESD_Mother_InvMass_GammaConvEMCAL_OpanHigh","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1965 | ||
63e16c52 | 1966 | |
ebcfaa7e | 1967 | // if(kGCdoNeutralMesonV0MCCheck == kTRUE){ |
1968 | histograms->AddHistogram("ESD_TruePi0_InvMass","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
037dc2db | 1969 | histograms->AddHistogram("ESD_TruePi0_InvMass_1212","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); |
1970 | histograms->AddHistogram("ESD_TruePi0_InvMass_0912","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1971 | histograms->AddHistogram("ESD_TruePi0_InvMass_0909","Invariant mass",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1972 | histograms->AddHistogram("ESD_TruePi0_OpeningAngle_1212" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", ""); | |
1973 | histograms->AddHistogram("ESD_TruePi0_OpeningAngle_0912" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", ""); | |
1974 | histograms->AddHistogram("ESD_TruePi0_OpeningAngle_0909" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", ""); | |
ebcfaa7e | 1975 | histograms->AddHistogram("ESD_TruePi0_InvMass_vs_Pt" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
d707e3cf | 1976 | histograms->AddHistogram("ESD_TruePi0_InvMass_vs_Pt_alpha" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
037dc2db | 1977 | histograms->AddHistogram("ESD_TruePi0_InvMass_vs_Pt1212" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
1978 | histograms->AddHistogram("ESD_TruePi0_InvMass_vs_Pt0912" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
1979 | histograms->AddHistogram("ESD_TruePi0_InvMass_vs_Pt0909" ,"Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
ebcfaa7e | 1980 | //} |
037dc2db | 1981 | |
9640a3d1 | 1982 | histograms->AddHistogram("ESD_Mother_InvMass_vs_Pt_Fiducial" ,"Invariant Mass vs Pt |eta|<0.9" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
1983 | histograms->AddHistogram("ESD_Mother_InvMass_Fiducial","Invariant mass |eta|<0.9",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
1984 | ||
1985 | ||
d7d7e825 | 1986 | } |
48682642 | 1987 | |
6c84d371 | 1988 | if(kGCplotPi0Spectra == kTRUE && kGCcalculateBackground == kTRUE){ |
10e3319b | 1989 | for(Int_t m=0;m<6;m++){ |
9c1cb6f7 | 1990 | histograms->AddHistogram(Form("%dESD_Mother_InvMass_vs_Pt",m) ,"Background Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
1991 | } | |
037dc2db | 1992 | for(Int_t z=0;z<8;z++){ |
10e3319b | 1993 | for(Int_t m=0;m<6;m++){ |
037dc2db | 1994 | histograms->AddHistogram(Form("%d%dESD_Background_InvMass_vs_Pt",z,m) ,"Background Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
48682642 | 1995 | |
037dc2db | 1996 | |
48682642 | 1997 | histograms->AddHistogram(Form("%d%dESD_Background_InvMass",z,m),"Invariant mass background",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass BG [GeV]","Counts"); |
10e3319b | 1998 | histograms->AddHistogram(Form("%d%dESD_Mother_InvMass",z,m),"Invariant mass in z and m bins",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass BG [GeV]","Counts"); |
48682642 | 1999 | |
d5f99c2b | 2000 | |
48682642 | 2001 | histograms->AddHistogram(Form("%d%dESD_Background_InvMassvsPtFid",z,m) ,"Background Invariant Mass vs Pt |eta|<0.9" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
2002 | ||
2003 | ||
037dc2db | 2004 | histograms->AddHistogram(Form("%d%dESD_Background_InvMass_Fiducial",z,m),"Invariant mass background |eta|<0.9",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass BG [GeV]","Counts"); |
2005 | } | |
2006 | } | |
48682642 | 2007 | |
6c84d371 | 2008 | histograms->AddHistogram("ESD_Background_InvMass_vs_Pt" ,"Background Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
9c1cb6f7 | 2009 | histograms->AddHistogram("ESD_Background_InvMass_vs_Pt_alpha" ,"Background Invariant Mass vs Pt" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); |
2010 | ||
2011 | ||
2012 | histograms->AddHistogram("ESD_Background_InvMass","Invariant mass background",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass BG [GeV]","Counts"); | |
9640a3d1 | 2013 | |
2014 | histograms->AddHistogram("ESD_Background_InvMass_vs_Pt_Fiducial" ,"Background Invariant Mass vs Pt |eta|<0.9" , kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
2015 | histograms->AddHistogram("ESD_Background_InvMass_Fiducial","Invariant mass background |eta|<0.9",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass BG [GeV]","Counts"); | |
48682642 | 2016 | |
d7d7e825 | 2017 | } |
037dc2db | 2018 | |
7bea833a | 2019 | if(kGCdoMCTruth){ |
2020 | if(kGCplotMCConversionR == kTRUE){ histograms->AddHistogram("MC_Conversion_R","Radius of gamma conversion points",kGCnXBinsR, kGCfirstXBinR, kGClastXBinR,"counts","cm");} | |
2021 | if(kGCplotMCConversionZR == kTRUE){ histograms->AddHistogram("MC_Conversion_ZR","Radius of gamma conversion points vs Z",kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "cm", "cm");} | |
2022 | if(kGCplotMCConversionXY == kTRUE){ histograms->AddHistogram("MC_Conversion_XY","Gamma XY converison point.",kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "cm", "cm");} | |
2023 | if(kGCplotMCConversionOpeningAngle == kTRUE){ histograms->AddHistogram("MC_Conversion_OpeningAngle","Opening angle of e+e- pairs from gamma conversion",kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "counts", "cm");} | |
2024 | if(kGCplotMCConvGammaEAsymmetryP== kTRUE){ histograms->AddHistogram("MC_ConvGamma_E_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
2025 | if(kGCplotMCConvGammaPAsymmetryP== kTRUE){ histograms->AddHistogram("MC_ConvGamma_P_AsymmetryP" ,"" ,kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsAsymmetry, kGCfirstYBinAsymmetry, kGClastYBinAsymmetry,"", "");} | |
2026 | ||
2027 | ||
2028 | if(kGCplotMCEEnergy == kTRUE){ histograms->AddHistogram("MC_E_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2029 | if(kGCplotMCEPt == kTRUE){ histograms->AddHistogram("MC_E_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2030 | if(kGCplotMCEEta == kTRUE){ histograms->AddHistogram("MC_E_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2031 | if(kGCplotMCEPhi == kTRUE){ histograms->AddHistogram("MC_E_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2032 | if(kGCplotMCENTPCClusters == kTRUE){ histograms->AddHistogram("MC_E_nTPCClusters" ,"" , kGCnXBinsNTPCClusters, kGCfirstXBinNTPCClusters, kGClastXBinNTPCClusters, "", "");} | |
2033 | if(kGCplotMCENITSClusters == kTRUE){ histograms->AddHistogram("MC_E_nITSClusters" ,"" , kGCnXBinsNITSClusters, kGCfirstXBinNITSClusters, kGClastXBinNITSClusters, "", "");} | |
2034 | ||
2035 | if(kGCplotMCPEnergy == kTRUE){ histograms->AddHistogram("MC_P_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2036 | if(kGCplotMCPPt == kTRUE){ histograms->AddHistogram("MC_P_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2037 | if(kGCplotMCPEta == kTRUE){ histograms->AddHistogram("MC_P_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2038 | if(kGCplotMCPPhi == kTRUE){ histograms->AddHistogram("MC_P_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2039 | if(kGCplotMCPNTPCClusters == kTRUE){ histograms->AddHistogram("MC_P_nTPCClusters" ,"" , kGCnXBinsNTPCClusters, kGCfirstXBinNTPCClusters, kGClastXBinNTPCClusters, "", "");} | |
2040 | if(kGCplotMCPNITSClusters == kTRUE){ histograms->AddHistogram("MC_P_nITSClusters" ,"" , kGCnXBinsNITSClusters, kGCfirstXBinNITSClusters, kGClastXBinNITSClusters, "", "");} | |
2041 | ||
2042 | if(kGCplotMCallGammaEnergy == kTRUE){ histograms->AddHistogram("MC_allGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2043 | if(kGCplotMCallGammaPt == kTRUE){ histograms->AddHistogram("MC_allGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2044 | if(kGCplotMCallGammaEta == kTRUE){ histograms->AddHistogram("MC_allGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2045 | if(kGCplotMCallGammaPhi == kTRUE){ histograms->AddHistogram("MC_allGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2046 | if(kGCplotMCallGammaRapid == kTRUE){ histograms->AddHistogram("MC_allGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2047 | ||
2048 | if(kGCplotMCConvGammaEnergy == kTRUE){ histograms->AddHistogram("MC_ConvGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2049 | if(kGCplotMCConvGammaPt == kTRUE){ histograms->AddHistogram("MC_ConvGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2050 | if(kGCplotMCConvGammaEta == kTRUE){ histograms->AddHistogram("MC_ConvGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2051 | if(kGCplotMCConvGammaPhi == kTRUE){ histograms->AddHistogram("MC_ConvGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2052 | if(kGCplotMCConvGammaRapid == kTRUE){ histograms->AddHistogram("MC_ConvGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2053 | if(kGCplotMCConvGammaPtvsEta == kTRUE){ histograms->AddHistogram("MC_ConvGamma_Pt_Eta","", kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt,kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta,"","");} | |
2054 | ||
2055 | if(kGCplotMCallDirectGammaEnergy == kTRUE){ histograms->AddHistogram("MC_allDirectGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2056 | if(kGCplotMCallDirectGammaPt == kTRUE){ histograms->AddHistogram("MC_allDirectGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2057 | if(kGCplotMCallDirectGammaEta == kTRUE){ histograms->AddHistogram("MC_allDirectGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2058 | if(kGCplotMCallDirectGammaPhi == kTRUE){ histograms->AddHistogram("MC_allDirectGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2059 | if(kGCplotMCallDirectGammaRapid == kTRUE){ histograms->AddHistogram("MC_allDirectGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2060 | ||
2061 | if(kGCplotMCConvDirectGammaEnergy == kTRUE){ histograms->AddHistogram("MC_ConvDirectGamma_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2062 | if(kGCplotMCConvDirectGammaPt == kTRUE){ histograms->AddHistogram("MC_ConvDirectGamma_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2063 | if(kGCplotMCConvDirectGammaEta == kTRUE){ histograms->AddHistogram("MC_ConvDirectGamma_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2064 | if(kGCplotMCConvDirectGammaPhi == kTRUE){ histograms->AddHistogram("MC_ConvDirectGamma_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2065 | if(kGCplotMCConvDirectGammaRapid == kTRUE){ histograms->AddHistogram("MC_ConvDirectGamma_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2066 | ||
2067 | if(kGCplotMCMotherEta == kTRUE){ histograms->AddHistogram("MC_Mother_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2068 | if(kGCplotMCMotherPhi == kTRUE){ histograms->AddHistogram("MC_Mother_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2069 | if(kGCplotMCMotherRapid == kTRUE){ histograms->AddHistogram("MC_Mother_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2070 | if(kGCplotMCMotherPt == kTRUE){ histograms->AddHistogram("MC_Mother_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2071 | if(kGCplotMCMotherEnergy == kTRUE){ histograms->AddHistogram("MC_Mother_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2072 | if(kGCplotMCMotherMass == kTRUE){ histograms->AddHistogram("MC_Mother_Mass" ,"" , kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass, "", "");} | |
2073 | if(kGCplotMCMotherOpeningAngle == kTRUE){ histograms->AddHistogram("MC_Mother_GammaDaughter_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} | |
2074 | if(kGCplotMCMotherR == kTRUE){ histograms->AddHistogram("MC_Mother_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} | |
2075 | if(kGCplotMCMotherZR == kTRUE){ histograms->AddHistogram("MC_Mother_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
2076 | if(kGCplotMCMotherXY == kTRUE){ histograms->AddHistogram("MC_Mother_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
2077 | if(kGCplotMCMotherPtvsEtaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Mother_Pt_Eta_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2078 | if(kGCplotMCMotherPtvsRapidWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Mother_Pt_Rapid_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2079 | if(kGCplotMCMotherPtvsEtaConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Mother_Pt_Eta_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2080 | if(kGCplotMCMotherPtvsRapidConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Mother_Pt_Rapid_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2081 | ||
2082 | if(kGCplotMCMotherSpectra == kTRUE){ | |
2083 | histograms->AddHistogram("MC_Mother_InvMass_vs_Pt" ,"" ,kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra, kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra, "", ""); | |
2084 | histograms->AddHistogram("MC_Mother_InvMass_vs_Pt_withinAcceptance" ,"" ,kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra, kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra, "", ""); | |
2085 | histograms->AddHistogram("MC_Mother_InvMass_vs_Pt_ConvGamma_withinAcceptance" ,"" ,kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra, kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra, "", ""); | |
2086 | } | |
2087 | ||
2088 | ||
2089 | if(kGCplotMCPi0Eta == kTRUE){ histograms->AddHistogram("MC_Pi0_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2090 | if(kGCplotMCPi0Rapid == kTRUE){ histograms->AddHistogram("MC_Pi0_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2091 | if(kGCplotMCPi0Phi == kTRUE){ histograms->AddHistogram("MC_Pi0_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2092 | if(kGCplotMCPi0Pt == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2093 | if(kGCplotMCPi0PtFiducial == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_Fiducial" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2094 | if(kGCplotMCPi0PtWithinAcceptanceFiducial == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_withinAcceptance_Fiducial" ,"" , kGCnXBinsPt,kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2095 | if(kGCplotMCPi0PtConvGammaWithinAcceptanceFiducial == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_ConvGamma_withinAcceptance_Fiducial","" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
10e3319b | 2096 | if(kGCplotMCPi0OpeningPtConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_ConvGamma_OpeningAngle_Pt","", kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} |
2097 | if(kGCplotMCPi0PtGammaPtConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_ConvGamma_PtGamma_Pt","", kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
7bea833a | 2098 | if(kGCplotMCPi0Energy == kTRUE){ histograms->AddHistogram("MC_Pi0_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} |
2099 | if(kGCplotMCPi0Mass == kTRUE){ histograms->AddHistogram("MC_Pi0_Mass" ,"" , kGCnXBinsPi0Mass, kGCfirstXBinPi0Mass, kGClastXBinPi0Mass, "", "");} | |
2100 | if(kGCplotMCPi0Alpha == kTRUE){ histograms->AddHistogram("MC_Pi0_alpha" ,"" , kGCnXBinsPi0Mass, kGCfirstXBinPi0Alpha, kGClastXBinPi0Alpha, "", "");} | |
2101 | ||
10e3319b | 2102 | if(kGCplotMCPi0OpeningAngle == kTRUE){ histograms->AddHistogram("MC_Pi0_GammaDaughter_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} |
7bea833a | 2103 | if(kGCplotMCPi0R == kTRUE){ histograms->AddHistogram("MC_Pi0_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} |
2104 | if(kGCplotMCPi0ZR == kTRUE){ histograms->AddHistogram("MC_Pi0_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
2105 | if(kGCplotMCPi0XY == kTRUE){ histograms->AddHistogram("MC_Pi0_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
2106 | if(kGCplotMCPi0PtvsEtaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_Eta_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2107 | if(kGCplotMCPi0PtvsRapidWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_Rapid_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2108 | if(kGCplotMCPi0PtvsEtaConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_Eta_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2109 | if(kGCplotMCPi0PtvsRapidConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Pt_Rapid_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2110 | if(kGCplotMCPi0ZRConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_ZR_ConvGamma_withinAcceptance" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
2111 | ||
2112 | ||
2113 | if(kGCplotMCPi0SecondaryEta == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2114 | if(kGCplotMCPi0SecondaryRapid == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2115 | if(kGCplotMCPi0SecondaryPhi == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2116 | if(kGCplotMCPi0SecondaryPt == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2117 | if(kGCplotMCPi0SecondaryEnergy == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2118 | if(kGCplotMCPi0SecondaryMass == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Mass" ,"" , kGCnXBinsPi0Mass, kGCfirstXBinPi0Mass, kGClastXBinPi0Mass, "", "");} | |
2119 | if(kGCplotMCPi0SecondaryOpeningAngle == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_GammaDaughter_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} | |
2120 | if(kGCplotMCPi0SecondaryR == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} | |
2121 | if(kGCplotMCPi0SecondaryZR == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
2122 | if(kGCplotMCPi0SecondaryXY == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
2123 | if(kGCplotMCPi0SecondaryPtvsEtaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Pt_Eta_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2124 | if(kGCplotMCPi0SecondaryPtvsRapidWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Pt_Rapid_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2125 | if(kGCplotMCPi0SecondaryPtvsEtaConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Pt_Eta_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2126 | if(kGCplotMCPi0SecondaryPtvsRapidConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Pi0_Secondaries_Pt_Rapid_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2127 | ||
2128 | ||
2129 | ||
2130 | if(kGCplotMCEtaEta == kTRUE){ histograms->AddHistogram("MC_Eta_Eta" ,"" , kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2131 | if(kGCplotMCEtaRapid == kTRUE){ histograms->AddHistogram("MC_Eta_Rapid" ,"" , kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2132 | if(kGCplotMCEtaPhi == kTRUE){ histograms->AddHistogram("MC_Eta_Phi" ,"" , kGCnXBinsPhi, kGCfirstXBinPhi, kGClastXBinPhi, "", "");} | |
2133 | if(kGCplotMCEtaPt == kTRUE){ histograms->AddHistogram("MC_Eta_Pt" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
2134 | if(kGCplotMCEtaEnergy == kTRUE){ histograms->AddHistogram("MC_Eta_Energy" ,"" , kGCnXBinsEnergy, kGCfirstXBinEnergy, kGClastXBinEnergy, "", "");} | |
2135 | if(kGCplotMCEtaMass == kTRUE){ histograms->AddHistogram("MC_Eta_Mass" ,"" , kGCnXBinsEtaMass, kGCfirstXBinEtaMass, kGClastXBinEtaMass, "", "");} | |
2136 | if(kGCplotMCEtaOpeningAngleGamma == kTRUE){ histograms->AddHistogram("MC_Eta_GammaDaughter_OpeningAngle" ,"" , kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} | |
2137 | if(kGCplotMCEtaR == kTRUE){ histograms->AddHistogram("MC_Eta_R" ,"" , kGCnXBinsR, kGCfirstXBinR, kGClastXBinR, "", "");} | |
2138 | if(kGCplotMCEtaZR == kTRUE){ histograms->AddHistogram("MC_Eta_ZR" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
2139 | if(kGCplotMCEtaXY == kTRUE){ histograms->AddHistogram("MC_Eta_XY" ,"" , kGCnXBinsXY, kGCfirstXBinXY, kGClastXBinXY, kGCnYBinsXY, kGCfirstYBinXY, kGClastYBinXY, "", "");} | |
2140 | if(kGCplotMCEtaPtvsEtaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_Pt_Eta_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2141 | if(kGCplotMCEtaPtvsRapidWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_Pt_Rapid_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2142 | if(kGCplotMCEtaPtvsEtaConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_Pt_Eta_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsEta, kGCfirstXBinEta, kGClastXBinEta, "", "");} | |
2143 | if(kGCplotMCEtaPtvsRapidConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_Pt_Rapid_ConvGamma_withinAcceptance" ,"" , kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsRapid, kGCfirstXBinRapid, kGClastXBinRapid, "", "");} | |
2144 | if(kGCplotMCEtaZRConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_ZR_ConvGamma_withinAcceptance" ,"" , kGCnXBinsZR, kGCfirstXBinZR, kGClastXBinZR, kGCnYBinsZR, kGCfirstYBinZR, kGClastYBinZR, "", "");} | |
2145 | } | |
10e3319b | 2146 | if(kGCplotMCEtaOpeningPtConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_ConvGamma_OpeningAngle_Pt","", kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsOpeningAngle, kGCfirstXBinOpeningAngle, kGClastXBinOpeningAngle, "", "");} |
2147 | if(kGCplotMCEtaPtGammaPtConvGammaWithinAcceptance == kTRUE){ histograms->AddHistogram("MC_Eta_ConvGamma_PtGamma_Pt","", kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", "");} | |
6c84d371 | 2148 | }// end kGCrunNeutralMeson |
037dc2db | 2149 | |
2150 | ||
2151 | //--------------------------------------------------- 2 gamma Background ------------------------------------------------------- | |
2152 | ||
2153 | if(kGCcalculateBackground==kTRUE){ | |
2154 | histograms->AddHistogram("ESD_Z_distribution" ,"Z primary vertex" , 2000, -30, 30,"Z[cm]","counts"); | |
45795c36 | 2155 | histograms->AddHistogram("ESD_multiplicity_distribution" ,"multiplicity distribution" , 200, 0, 200,"counts","Multiplicity"); |
2156 | histograms->AddHistogram("ESD_ZvsMultiplicity" ,"Z vs Multiplicity" , 1000, -10, 10,200,0,200,"Z[cm]","Multiplicity"); | |
037dc2db | 2157 | } |
9c1cb6f7 | 2158 | |
2159 | if(kGCRecalculateV0ForGamma==kTRUE){ | |
2160 | histograms->AddHistogram("ESD_RecalculateV0_InvMass","", kGCnXBinsGammaMass, kGCfirstXBinGammaMass, kGClastXBinGammaMass,"",""); | |
2161 | histograms->AddHistogram("ESD_RecalculateV0_Pt","",kGCnXBinsPt, kGCfirstXBinPt, kGClastXBinPt, "", ""); | |
2162 | histograms->AddHistogram("ESD_RecalculateV0_E_dEdxP","",kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0); | |
2163 | histograms->AddHistogram("ESD_RecalculateV0_P_dEdxP","",kGCnXBinsP, kGCfirstXBinP, kGClastXBinP,kGCnYBinsdEdx, kGCfirstYBindEdx, kGClastYBindEdx,"", "",0); | |
2164 | histograms->AddHistogram("ESD_RecalculateV0_cpa","",1000,-1.,1.,"",""); | |
2165 | histograms->AddHistogram("ESD_RecalculateV0_dca","",100,0.,10.,"",""); | |
2166 | histograms->AddHistogram("ESD_RecalculateV0_Rr","",250,0.,250.,"",""); | |
2167 | histograms->AddHistogram("ESD_RecalculateV0_normdistP","",250,0.,250.,"",""); | |
2168 | histograms->AddHistogram("ESD_RecalculateV0_normdistN","",250,0.,250.,"",""); | |
2169 | ||
2170 | histograms->AddHistogram("ESD_RecalculateGG_InvMass","",kGCnXBinsSpectra,kGCfirstXBinSpectra, kGClastXBinSpectra,"InvMass [GeV]","Counts"); | |
2171 | histograms->AddHistogram("ESD_RecalculateGG_InvMass_vs_Pt","", kGCnXBinsSpectra, kGCfirstXBinSpectra, kGClastXBinSpectra,kGCnYBinsSpectra, kGCfirstYBinSpectra, kGClastYBinSpectra,"InvMass [GeV]","Pt [GeV]"); | |
2172 | ||
2173 | } | |
2174 | ||
2175 | ||
d7d7e825 | 2176 | } |
48682642 | 2177 | |
2178 | ||
2179 | ||
2180 | Int_t SetAnalysisCutSelection(TString analysisCutSelection){ | |
2181 | Int_t iResult=0; | |
2182 | ||
2183 | // set the cuts depending on the Cut Selection Id | |
2184 | // first number is dummy always set to 9 | |
1ebf7aa6 | 2185 | // const char* cutSelection = analysisCutSelection.Data(); |
67381a40 | 2186 | if(analysisCutSelection.Length()!=c_array_size){ |
48682642 | 2187 | cout<<"Cut selection has the wrong length!"<<endl; |
2188 | return 0; | |
2189 | } | |
1ebf7aa6 | 2190 | |
2191 | char cutSelection[] = analysisCutSelection.Data(); | |
2192 | int array[c_array_size]; | |
2193 | const int N = sizeof(array) / sizeof(int); | |
2194 | string2array( cutSelection, array ); | |
2195 | ||
2196 | ||
2197 | ||
2198 | Int_t goodId=array[0]; | |
2199 | Int_t v0FinderType=array[1]; | |
2200 | Int_t eProbCut=array[2]; | |
2201 | Int_t ededxSigmaCut=array[3]; | |
2202 | Int_t pidedxSigmaCut=array[4]; | |
2203 | Int_t piMomdedxSigmaCut=array[5]; | |
2204 | Int_t chi2GammaCut=array[6]; | |
2205 | Int_t singlePtCut=array[7]; | |
2206 | Int_t clsTPCCut=array[8]; | |
2207 | Int_t etaCut=array[9]; | |
9c1cb6f7 | 2208 | Int_t chi2MesonCut=array[10]; |
2209 | Int_t LowPRejectionSigmaCut=array[11]; | |
70ef88b5 | 2210 | Int_t QtMaxCut=array[12]; |
10e3319b | 2211 | Int_t piMaxMomdedxSigmaCut=array[13]; |
67381a40 | 2212 | Int_t alphaMesonCut=array[14]; |
48682642 | 2213 | |
67381a40 | 2214 | cout<<"alphaMesonCut"<<alphaMesonCut<<endl; |
10e3319b | 2215 | cout<<"piMaxMomdedxSigmaCut::"<<piMaxMomdedxSigmaCut<<endl; |
70ef88b5 | 2216 | cout<<"QtMaxCut:"<<QtMaxCut<<endl; |
2217 | cout<<"LowPRejectionSigmaCut:"<<LowPRejectionSigmaCut<<endl; | |
9c1cb6f7 | 2218 | cout<<"chi2MesonCut: "<< chi2MesonCut<<endl; |
48682642 | 2219 | cout<<"etaCut: "<<etaCut<<endl; |
2220 | cout<<"clsTPCCut: "<<clsTPCCut<<endl; | |
2221 | cout<<"singlePtCut: "<<singlePtCut<<endl; | |
2222 | cout<<"chi2GammaCut: "<<chi2GammaCut<<endl; | |
2223 | cout<<"piMomdedxSigmaCut: "<<piMomdedxSigmaCut<<endl; | |
2224 | cout<<"pidedxSigmaCut: "<<pidedxSigmaCut <<endl; | |
2225 | cout<<"ededxSigmaCut: "<<ededxSigmaCut <<endl; | |
2226 | cout<<"eProbCut: "<< eProbCut<<endl; | |
2227 | cout<<"v0FinderType: "<<v0FinderType <<endl; | |
2228 | cout<<"goodId: "<<goodId <<endl; | |
2229 | ||
2230 | if(goodId !=9){ | |
2231 | cout<<"Analysis Cut Selection too short or does not start with 9"<<endl; | |
2232 | return iResult; | |
2233 | } | |
2234 | ||
2235 | switch (v0FinderType){ | |
2236 | case 0: // on fly V0 finder | |
2237 | kGCUseOnFlyV0Finder=kTRUE; | |
2238 | break; | |
2239 | case 1: // offline V0 finder | |
2240 | kGCUseOnFlyV0Finder=kFALSE; | |
2241 | break; | |
2242 | default: | |
2243 | return iResult; | |
2244 | } | |
9c1cb6f7 | 2245 | |
48682642 | 2246 | switch(eProbCut){ |
9c1cb6f7 | 2247 | case 0: |
2248 | kGCprobElectron=0; | |
2249 | break; | |
2250 | case 1: | |
2251 | kGCprobElectron=0.1; | |
48682642 | 2252 | break; |
9c1cb6f7 | 2253 | case 2: |
2254 | kGCprobElectron=0.5; | |
48682642 | 2255 | break; |
9c1cb6f7 | 2256 | case 3: |
2257 | kGCprobElectron=0.7; | |
48682642 | 2258 | break; |
2259 | default: | |
2260 | return iResult; | |
2261 | } | |
2262 | ||
2263 | switch(ededxSigmaCut){ | |
2264 | case 0: // -10,10 | |
2265 | kGCPIDnSigmaBelowElectronLine=-10; | |
2266 | kGCPIDnSigmaAboveElectronLine=10; | |
2267 | break; | |
2268 | case 1: // -5,5 | |
2269 | kGCPIDnSigmaBelowElectronLine=-5; | |
2270 | kGCPIDnSigmaAboveElectronLine=5; | |
2271 | break; | |
2272 | case 2: // -3,5 | |
2273 | kGCPIDnSigmaBelowElectronLine=-3; | |
2274 | kGCPIDnSigmaAboveElectronLine=5; | |
2275 | break; | |
9c1cb6f7 | 2276 | case 3: // -4,5 |
2277 | kGCPIDnSigmaBelowElectronLine=-4; | |
2278 | kGCPIDnSigmaAboveElectronLine=5; | |
2279 | break; | |
48682642 | 2280 | default: |
2281 | return iResult; | |
2282 | } | |
2283 | ||
2284 | switch(pidedxSigmaCut){ | |
2285 | case 0: // -10 | |
2286 | kGCPIDnSigmaAbovePionLine=-10; | |
2287 | break; | |
2288 | case 1: // 0 | |
2289 | kGCPIDnSigmaAbovePionLine=0; | |
2290 | break; | |
2291 | case 2: // 1 | |
2292 | kGCPIDnSigmaAbovePionLine=1; | |
2293 | break; | |
9c1cb6f7 | 2294 | case 3: // 1 |
2295 | kGCPIDnSigmaAbovePionLine=-1; | |
2296 | break; | |
2297 | case 4: // 1 | |
2298 | kGCPIDnSigmaAbovePionLine=-1.5; | |
2299 | break; | |
10e3319b | 2300 | case 5: // 1 |
2301 | kGCPIDnSigmaAbovePionLine=2.; | |
2302 | break; | |
2303 | ||
48682642 | 2304 | default: |
2305 | return iResult; | |
2306 | } | |
2307 | ||
2308 | switch(piMomdedxSigmaCut){ | |
2309 | case 0: // 0.5 GeV | |
2310 | kGCPIDMinPnSigmaAbovePionLine=0.5; | |
2311 | break; | |
2312 | case 1: // 1. GeV | |
2313 | kGCPIDMinPnSigmaAbovePionLine=1.; | |
2314 | break; | |
2315 | case 2: // 1.5 GeV | |
2316 | kGCPIDMinPnSigmaAbovePionLine=1.5; | |
2317 | break; | |
70ef88b5 | 2318 | case 3: // 20.0 GeV |
2319 | kGCPIDMinPnSigmaAbovePionLine=20.; | |
2320 | break; | |
2321 | case 4: // 50.0 GeV | |
2322 | kGCPIDMinPnSigmaAbovePionLine=50.; | |
2323 | break; | |
10e3319b | 2324 | case 5: // 0.3 GeV |
2325 | kGCPIDMinPnSigmaAbovePionLine=0.3; | |
2326 | break; | |
2327 | case 6: // 0.3 GeV | |
2328 | kGCPIDMinPnSigmaAbovePionLine=0.25; | |
2329 | break; | |
48682642 | 2330 | default: |
2331 | return iResult; | |
2332 | } | |
2333 | ||
2334 | switch(chi2GammaCut){ | |
2335 | case 0: // 100 | |
2336 | kGCchi2CutConversion = 100.; | |
2337 | break; | |
2338 | case 1: // 50 | |
2339 | kGCchi2CutConversion = 50.; | |
2340 | break; | |
2341 | case 2: // 30 | |
2342 | kGCchi2CutConversion = 30.; | |
2343 | break; | |
9c1cb6f7 | 2344 | case 3: |
2345 | kGCchi2CutConversion = 200.; | |
2346 | break; | |
2347 | case 4: | |
2348 | kGCchi2CutConversion = 500.; | |
2349 | break; | |
2350 | case 5: | |
2351 | kGCchi2CutConversion = 1000.; | |
2352 | break; | |
1b1d7796 | 2353 | case 6: |
2354 | kGCchi2CutConversion = 5.; | |
2355 | break; | |
2356 | case 7: | |
2357 | kGCchi2CutConversion = 10.; | |
2358 | break; | |
48682642 | 2359 | default: |
2360 | return iResult; | |
2361 | } | |
2362 | ||
2363 | switch(singlePtCut){ | |
2364 | case 0: // 0.050 GeV | |
2365 | kGCsingleptCut = 0.050; | |
2366 | break; | |
2367 | case 1: // 0.100 GeV | |
2368 | kGCsingleptCut = 0.100; | |
2369 | break; | |
2370 | case 2: // 0.150 GeV | |
2371 | kGCsingleptCut = 0.150; | |
2372 | break; | |
2373 | case 3: // 0.200 GeV | |
2374 | kGCsingleptCut = 0.200; | |
2375 | break; | |
2376 | default: | |
2377 | return iResult; | |
2378 | } | |
2379 | ||
2380 | switch(clsTPCCut){ | |
2381 | case 0: // 0 | |
2382 | kGCminClsTPCCut= 0.; | |
2383 | break; | |
2384 | case 1: // 70 | |
2385 | kGCminClsTPCCut= 70.; | |
2386 | break; | |
2387 | case 2: // 80 | |
2388 | kGCminClsTPCCut= 80.; | |
2389 | break; | |
2390 | case 3: // 100 | |
2391 | kGCminClsTPCCut= 100.; | |
2392 | break; | |
2393 | default: | |
2394 | return iResult; | |
2395 | } | |
2396 | ||
2397 | switch(etaCut){ | |
2398 | case 0: // 0.9 | |
2399 | kGCetaCut = 0.9; | |
2400 | kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut))); | |
2401 | break; | |
2402 | case 1: // 1.2 | |
2403 | kGCetaCut = 1.2; | |
2404 | kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut))); | |
2405 | break; | |
2406 | case 2: // 1.4 | |
2407 | kGCetaCut = 1.4; | |
2408 | kGCLineCutZRSlope = tan(2*atan(exp(-kGCetaCut))); | |
2409 | break; | |
2410 | default: | |
2411 | return iResult; | |
2412 | } | |
2413 | ||
9c1cb6f7 | 2414 | switch(chi2MesonCut){ |
2415 | case 0: // 100. | |
2416 | kGCchi2CutMeson = 100.; | |
2417 | break; | |
2418 | case 1: // 50. | |
2419 | kGCchi2CutMeson = 50.; | |
2420 | break; | |
2421 | case 2: // 30. | |
2422 | kGCchi2CutMeson = 30.; | |
2423 | break; | |
2424 | case 3: | |
2425 | kGCchi2CutMeson = 200.; | |
2426 | break; | |
2427 | case 4: | |
2428 | kGCchi2CutMeson = 500.; | |
2429 | break; | |
2430 | case 5: | |
2431 | kGCchi2CutMeson = 1000.; | |
2432 | break; | |
2433 | default: | |
2434 | return iResult; | |
2435 | } | |
2436 | ||
2437 | ||
2438 | switch(LowPRejectionSigmaCut){ | |
2439 | case 0: // | |
2440 | kGCPIDnSigmaAtLowPAroundKaonLine=0; | |
2441 | kGCPIDnSigmaAtLowPAroundProtonLine=0; | |
2442 | kGCPIDnSigmaAtLowPAroundPionLine=0; | |
2443 | break; | |
2444 | case 1: // | |
2445 | kGCPIDnSigmaAtLowPAroundKaonLine=0.5; | |
2446 | kGCPIDnSigmaAtLowPAroundProtonLine=0.5; | |
2447 | kGCPIDnSigmaAtLowPAroundPionLine=0.5; | |
2448 | break; | |
2449 | case 2: // | |
2450 | kGCPIDnSigmaAtLowPAroundKaonLine=1; | |
2451 | kGCPIDnSigmaAtLowPAroundProtonLine=1; | |
2452 | kGCPIDnSigmaAtLowPAroundPionLine=1; | |
2453 | break; | |
2454 | case 3: // | |
2455 | kGCPIDnSigmaAtLowPAroundKaonLine=2.; | |
2456 | kGCPIDnSigmaAtLowPAroundProtonLine=2.; | |
2457 | kGCPIDnSigmaAtLowPAroundPionLine=2.; | |
2458 | break; | |
1b1d7796 | 2459 | case 4: // |
2460 | kGCPIDnSigmaAtLowPAroundKaonLine=0.; | |
2461 | kGCPIDnSigmaAtLowPAroundProtonLine=0.; | |
2462 | kGCPIDnSigmaAtLowPAroundPionLine=1; | |
2463 | break; | |
2464 | case 5: // | |
2465 | kGCPIDnSigmaAtLowPAroundKaonLine=0.; | |
2466 | kGCPIDnSigmaAtLowPAroundProtonLine=0.; | |
2467 | kGCPIDnSigmaAtLowPAroundPionLine=1.5; | |
2468 | break; | |
2469 | case 6: // | |
2470 | kGCPIDnSigmaAtLowPAroundKaonLine=0.; | |
2471 | kGCPIDnSigmaAtLowPAroundProtonLine=0.; | |
2472 | kGCPIDnSigmaAtLowPAroundPionLine=2.; | |
2473 | break; | |
2474 | ||
9c1cb6f7 | 2475 | default: |
2476 | return iResult; | |
2477 | } | |
70ef88b5 | 2478 | switch(QtMaxCut){ |
2479 | case 0: // | |
2480 | kGCQtMax=1.; | |
2481 | break; | |
2482 | case 1: | |
2483 | kGCQtMax=0.1; | |
2484 | break; | |
2485 | case 2: | |
2486 | kGCQtMax=0.07; | |
2487 | break; | |
2488 | case 3: | |
2489 | kGCQtMax=0.05; | |
2490 | break; | |
2491 | case 4: | |
2492 | kGCQtMax=0.03; | |
2493 | break; | |
2494 | default: | |
2495 | return iResult; | |
2496 | } | |
9c1cb6f7 | 2497 | |
10e3319b | 2498 | switch(piMaxMomdedxSigmaCut){ |
2499 | case 0: // 100. GeV | |
2500 | kGCPIDMaxPnSigmaAbovePionLine=100.; | |
2501 | break; | |
2502 | case 1: // 5. GeV | |
2503 | kGCPIDMaxPnSigmaAbovePionLine=5.; | |
2504 | break; | |
2505 | case 2: // 4. GeV | |
2506 | kGCPIDMaxPnSigmaAbovePionLine=4.; | |
2507 | break; | |
2508 | case 3: // 3.5 GeV | |
2509 | kGCPIDMaxPnSigmaAbovePionLine=3.5; | |
2510 | break; | |
2511 | case 4: // 3. GeV | |
2512 | kGCPIDMaxPnSigmaAbovePionLine=3.; | |
2513 | break; | |
2514 | default: | |
2515 | return iResult; | |
2516 | } | |
67381a40 | 2517 | |
2518 | ||
2519 | switch(alphaMesonCut){ | |
2520 | case 0: // 0- 0.7 | |
2521 | kGCalphaMinCutMeson = 0.0; | |
2522 | kGCalphaCutMeson = 0.7; | |
2523 | break; | |
2524 | case 1: // 0-0.5 | |
2525 | kGCalphaMinCutMeson = 0.0; | |
2526 | kGCalphaCutMeson = 0.5; | |
2527 | break; | |
2528 | case 2: // 0.5-1 | |
2529 | kGCalphaMinCutMeson = 0.5; | |
2530 | kGCalphaCutMeson = 1.; | |
2531 | break; | |
2532 | ||
2533 | default: | |
2534 | return iResult; | |
2535 | } | |
2536 | ||
10e3319b | 2537 | |
48682642 | 2538 | iResult=1; |
2539 | return iResult; | |
2540 | } | |
2541 | ||
2542 | ||
ca6d4600 | 2543 | void string2array(const std::string& number, int a[c_array_size]) |
2544 | { | |
2545 | if (number.size() == c_array_size) { | |
2546 | #define ASSIGNARRAY(i) a[i] = number[i] - '0' | |
2547 | ASSIGNARRAY(0); | |
2548 | ASSIGNARRAY(1); | |
2549 | ASSIGNARRAY(2); | |
2550 | ASSIGNARRAY(3); | |
2551 | ASSIGNARRAY(4); | |
2552 | ASSIGNARRAY(5); | |
2553 | ASSIGNARRAY(6); | |
2554 | ASSIGNARRAY(7); | |
2555 | ASSIGNARRAY(8); | |
2556 | ASSIGNARRAY(9); | |
9c1cb6f7 | 2557 | ASSIGNARRAY(10); |
2558 | ASSIGNARRAY(11); | |
70ef88b5 | 2559 | ASSIGNARRAY(12); |
10e3319b | 2560 | ASSIGNARRAY(13); |
67381a40 | 2561 | ASSIGNARRAY(14); |
ca6d4600 | 2562 | } |
2563 | } | |
48682642 | 2564 | |
2565 | ||
2566 | ||
2567 |