AliPhysics  2c6b7ad (2c6b7ad)
AddTaskCFVertexingHFCascade.C
Go to the documentation of this file.
1 
2 
3 
4 //----------------------------------------------------
5 
6 AliCFTaskVertexingHF *AddTaskCFVertexingHFCascade(const char* cutFile = "DStartoKpipiCuts010.root", TString cutObjectName="DStartoKpipiCuts", TString suffix="suf", Int_t configuration = AliCFTaskVertexingHF::kCheetah, Bool_t isKeepDfromB=kFALSE, Bool_t isKeepDfromBOnly=kFALSE, Int_t pdgCode = 413, Char_t isSign = 2, Bool_t useWeight=kTRUE, Bool_t useFlatPtWeight=kFALSE, Bool_t useZWeight=kFALSE, Bool_t useNchWeight=kFALSE, Bool_t useNtrkWeight=kFALSE, TString estimatorFilename="", Int_t multiplicityEstimator = AliCFTaskVertexingHF::kNtrk10, Bool_t isPPData=kFALSE, Bool_t isPPbData=kFALSE, Double_t refMult=9.26, Bool_t isFineNtrkBin=kFALSE)
7 {
8 const Double_t ymin = -1.2 ;
9 const Double_t ymax = 1.2 ;
10 const Double_t cosminTS = -1.05;
11 const Double_t cosmaxTS = 1.05;
12 const Double_t cosmin = 0.7;
13 const Double_t cosmax = 1.02;
14 const Double_t cTmin = 0; // micron
15 const Double_t cTmax = 300; // micron
16 const Double_t dcamin = 0; // micron
17 const Double_t dcamax = 600; // micron
18 const Double_t d0xd0min = -80000; // micron
19 const Double_t d0xd0max = 100000; // micron
20 const Double_t phimin = 0.0;
21 const Int_t mintrackrefsTPC = 2 ;
22 const Int_t mintrackrefsITS = 3 ;
23 const Int_t charge = 1 ;
24 const Int_t minclustersTPC = 50 ;
25 // cuts
26 const Double_t ptmin = 0.1;
27 const Double_t ptmax = 9999.;
28 const Double_t etamin = -0.9;
29 const Double_t etamax = 0.9;
30 const Double_t zmin = -15;
31 const Double_t zmax = 15;
32 const Int_t minITSClusters = 5;
33 
34 const Float_t centmin_0_10 = 0.;
35 const Float_t centmax_0_10 = 10.;
36 const Float_t centmin_10_60 = 10.;
37 const Float_t centmax_10_60 = 60.;
38 const Float_t centmin_60_100 = 60.;
39 const Float_t centmax_60_100 = 100.;
40 const Float_t centmax = 100.;
41 const Float_t fakemin = -0.5;
42 const Float_t fakemax = 2.5;
43 const Float_t cosminXY = 0.95;
44 const Float_t cosmaxXY = 1.0;
45 const Float_t normDecLXYmin = 0;
46 const Float_t normDecLXYmax = 20;
47 const Float_t multmin_0_20 = 0;
48 const Float_t multmax_0_20 = 20;
49 const Float_t multmin_20_50 = 20;
50 const Float_t multmax_20_50 = 50;
51 const Float_t multmin_50_80 = 50;
52 const Float_t multmax_50_80 = 80;
53 const Float_t multmin_80_100 = 80;
54 const Float_t multmax_80_100 = 100;
55 const Float_t multmin_100_400 = 100;
56 const Float_t multmax_100_400 = 400;
57  printf("Adding CF task using cuts from file %s\n",cutFile);
58  if (configuration == AliCFTaskVertexingHF::kSnail){
59  printf("The configuration is set to be SLOW --> all the variables will be used to fill the CF\n");
60  }
61  else if (configuration == AliCFTaskVertexingHF::kCheetah){
62  printf("The configuration is set to be FAST --> using only pt, y, ct, phi, zvtx, centrality, fake, multiplicity to fill the CF\n");
63  }
64  else if (configuration == AliCFTaskVertexingHF::kFalcon){
65  printf("The configuration is set to be FAST --> using only pt, y, centrality, multiplicity to fill the CF\n");
66  }
67  else if (configuration == AliCFTaskVertexingHF::kESE){
68  printf("The configuration is set to be for ESE analysis --> using pt, y, centrality, multiplicity, local multiplicity and q2 to fill the CF\n");
69  }
70  else{
71  printf("The configuration is not defined! returning\n");
72  return NULL;
73  }
74 
75  gSystem->Sleep(2000);
76 
77  // isSign = 0 --> D* only
78  // isSign = 1 --> D*bar only
79  // isSign = 2 --> D* + D*bar
80 
81  TString expected;
82  if (isSign == 0 && pdgCode < 0){
83  Printf("ERROR:Error setting PDG code (%d) and sign (0 --> D* only): they are not compatible, returning",pdgCode);
84  return 0x0;
85  }
86  else if (isSign == 1 && pdgCode > 0){
87  Printf("ERROR:Error setting PDG code (%d) and sign (1 --> D*bar only): they are not compatible, returning",pdgCode);
88  return 0x0;
89  }
90  else if (isSign > 2 || isSign < 0){
91  Printf("ERROR:Sign not valid (%d, possible values are 0, 1, 2), returning",isSign);
92  return 0x0;
93  }
94 
95  TFile* fileCuts = TFile::Open(cutFile);
96  if(!fileCuts || (fileCuts && !fileCuts->IsOpen())){
97  Printf("ERROR: Wrong cut file");
98  return 0x0;
99  }
100 
101  AliRDHFCutsDStartoKpipi *cutsDStartoKpi = (AliRDHFCutsDStartoKpipi*)fileCuts->Get(cutObjectName.Data());
102 
103  // check that the fKeepD0fromB flag is set to true when the fKeepD0fromBOnly flag is true
104  // for now the binning is the same than for all D's
105  if(isKeepDfromBOnly) isKeepDfromB = true;
106 
107  Double_t ptmin_0_6;
108  Double_t ptmax_0_6;
109  Double_t ptmin_6_8;
110  Double_t ptmax_6_8;
111  Double_t ptmin_8_16;
112  Double_t ptmax_8_16;
113  Double_t ptmin_16_24;
114  Double_t ptmax_16_24;
115 
116  ptmin_0_6 = 0.0 ;
117  ptmax_0_6 = 6.0 ;
118  ptmin_6_8 = 6.0 ;
119  ptmax_6_8 = 8.0 ;
120  ptmin_8_16 = 8.0 ;
121  ptmax_8_16 = 16.0 ;
122  ptmin_16_24 = 16.0 ;
123  ptmax_16_24 = 24.0 ;
124 
125 
126  //CONTAINER DEFINITION
127  Info("AliCFTaskVertexingHF","SETUP CONTAINER");
128  const Double_t phimax = 2*TMath::Pi();
129  UInt_t nstep = 10; //number of selection steps: MC with limited acceptance, MC, Acceptance, Vertex, Refit, Reco (no cuts), RecoAcceptance, RecoITSClusters (RecoAcceptance included), RecoPPR (RecoAcceptance+RecoITSCluster included), RecoPID
130 
131  //const UInt_t ipT, iy, icosThetaStar, ipTpi, ipTk, icT, idca, id0xd0, ipointing, iphi, izvtx, icent, ifake, ipointingXY, iNormDecayLXY, imult;
132  const Int_t nbiny = 24 ; //bins in y
133  const Int_t nbincosThetaStar = 42 ; //bins in cosThetaStar
134  const Int_t nbincT = 15 ; //bins in cT
135  const Int_t nbindca = 20 ; //bins in dca
136  const Int_t nbind0xd0 = 90 ; //bins in d0xd0
137  const Int_t nbinpointing = 50 ; //bins in cosPointingAngle
138  const Int_t nbinphi = 18 ; //bins in Phi
139  const Int_t nbinzvtx = 30 ; //bins in z vertex
140  const Int_t nbincent = 28; //bins in centrality
141  const Int_t nbincent_0_10 = 4; //bins in centrality between 0 and 10
142  const Int_t nbincent_10_60 = 20; //bins in centrality between 10 and 60
143  const Int_t nbincent_60_100 = 4; //bins in centrality between 60 and 100
144  const Int_t nbinfake = 3; //bins in fake
145  const Int_t nbinpointingXY = 50; //bins in cosPointingAngleXY
146  const Int_t nbinnormDecayLXY = 20; //bins in NormDecayLengthXY
147  Int_t nbinmult = 49; //bins in multiplicity (total number)
148  const Int_t nbinmult_0_20 = 20; //bins in multiplicity between 0 and 20
149  const Int_t nbinmult_20_50 = 15; //bins in multiplicity between 20 and 50
150  const Int_t nbinmult_50_80 = 10; //bins in multiplicity between 50 and 80
151  const Int_t nbinmult_80_100 = 4; //bins in multiplicity between 80 and 100
152  const Int_t nbinmult_100_400 = 3; //bins in multiplicity between 100 and 400
153  if(isPPbData) nbinmult += nbinmult_100_400;
154 
155 
156  //the sensitive variables, their indices
157 
158  const Int_t nvarTot = 16 ; //number of variables on the grid:pt, y, cosThetaStar, pTpi, pTk, cT, dca, d0pi, d0K, d0xd0, cosPointingAngle, phi, z, centrality, fake, cosPointingAngleXY, normDecayLengthXY, multiplicity
159 
160  // variables' indices
161  const UInt_t ipT = 0;
162  const UInt_t iy = 1;
163  const UInt_t icosThetaStar = 2;
164  const UInt_t ipTpi = 3;
165  const UInt_t ipTk = 4;
166  const UInt_t icT = 5;
167  const UInt_t idca = 6;
168  const UInt_t id0xd0 = 7;
169  const UInt_t ipointing = 8;
170  const UInt_t iphi = 9;
171  const UInt_t izvtx = 10;
172  const UInt_t icent = 11;
173  const UInt_t ifake = 12;
174  const UInt_t ipointingXY = 13;
175  const UInt_t inormDecayLXY = 14;
176  const UInt_t imult = 15;
177 
178  //Setting the bins: pt, ptPi, and ptK are considered seprately because for them you can either define the binning by hand, or using the cuts file
179 
180  //arrays for the number of bins in each dimension
181  Int_t iBin[nvarTot];
182 
183  const Int_t nbinpt = cutsDStartoKpi->GetNPtBins(); // bins in pT
184  iBin[ipT]=nbinpt;
185  iBin[ipTpi]=nbinpt;
186  iBin[ipTk]=nbinpt;
187  Double_t *binLimpT=new Double_t[iBin[ipT]+1];
188  Double_t *binLimpTpi=new Double_t[iBin[ipTpi]+1];
189  Double_t *binLimpTk=new Double_t[iBin[ipTk]+1];
190  // values for bin lower bounds
191  Float_t* floatbinLimpT = cutsDStartoKpi->GetPtBinLimits();
192  for (Int_t ibin0 = 0 ; ibin0<iBin[ipT]+1; ibin0++){
193  binLimpT[ibin0] = (Double_t)floatbinLimpT[ibin0];
194  binLimpTpi[ibin0] = (Double_t)floatbinLimpT[ibin0];
195  binLimpTk[ibin0] = (Double_t)floatbinLimpT[ibin0];
196  }
197  for(Int_t i=0; i<=nbinpt; i++) printf("binLimpT[%d]=%f\n",i,binLimpT[i]);
198 
199  printf("pT: nbin (from cuts file) = %d\n",nbinpt);
200 
201 
202 
203 
204 
205 
206 
207 
208  // Fine Ntrk binning setting
209  Double_t *binLimmultFine;
210  Int_t nbinmultTmp=nbinmult;
211  if (isFineNtrkBin) {
212  Int_t nbinLimmultFine = 100;
213  if (isPPbData) nbinLimmultFine = 200;
214  const UInt_t nbinMultFine = nbinLimmultFine;
215  binLimmultFine = new Double_t[nbinMultFine+1];
216  for (Int_t ibin0 = 0; ibin0 < nbinMultFine+1; ibin0++) {
217  binLimmultFine[ibin0] = ibin0;
218  }
219  nbinmultTmp = nbinLimmultFine;
220  }
221  const Int_t nbinmultTot = nbinmultTmp;
222 
223  // defining now the binning for the other variables:
224 
225  AliLog::SetClassDebugLevel("AliCFManager",AliLog::kInfo);
226 
227  iBin[iy]=nbiny;
228  iBin[icosThetaStar]=nbincosThetaStar;
229  iBin[icT]=nbincT;
230  iBin[idca]=nbindca;
231  iBin[id0xd0]=nbind0xd0;
232  iBin[ipointing]=nbinpointing;
233  iBin[iphi]=nbinphi;
234  iBin[izvtx]=nbinzvtx;
235  iBin[icent]=nbincent;
236  iBin[ifake]=nbinfake;
237  iBin[ipointingXY]=nbinpointingXY;
238  iBin[inormDecayLXY]=nbinnormDecayLXY;
239  iBin[imult]=nbinmultTot;
240 
241  //arrays for lower bounds :
242  Double_t *binLimy=new Double_t[iBin[iy]+1];
243  Double_t *binLimcosThetaStar=new Double_t[iBin[icosThetaStar]+1];
244  Double_t *binLimcT=new Double_t[iBin[icT]+1];
245  Double_t *binLimdca=new Double_t[iBin[idca]+1];
246  Double_t *binLimd0xd0=new Double_t[iBin[id0xd0]+1];
247  Double_t *binLimpointing=new Double_t[iBin[ipointing]+1];
248  Double_t *binLimphi=new Double_t[iBin[iphi]+1];
249  Double_t *binLimzvtx=new Double_t[iBin[izvtx]+1];
250  Double_t *binLimcent=new Double_t[iBin[icent]+1];
251  Double_t *binLimfake=new Double_t[iBin[ifake]+1];
252  Double_t *binLimpointingXY=new Double_t[iBin[ipointingXY]+1];
253  Double_t *binLimnormDecayLXY=new Double_t[iBin[inormDecayLXY]+1];
254  Double_t *binLimmult=new Double_t[iBin[imult]+1];
255 
256 
257  // y
258  for(Int_t i=0; i<=nbiny; i++) binLimy[i]=(Double_t)ymin + (ymax-ymin) /nbiny*(Double_t)i ;
259 
260  // cosThetaStar
261  for(Int_t i=0; i<=nbincosThetaStar; i++) binLimcosThetaStar[i]=(Double_t)cosminTS + (cosmaxTS-cosminTS) /nbincosThetaStar*(Double_t)i ;
262 
263  // cT
264  for(Int_t i=0; i<=nbincT; i++) binLimcT[i]=(Double_t)cTmin + (cTmax-cTmin) /nbincT*(Double_t)i ;
265 
266  // dca
267  for(Int_t i=0; i<=nbindca; i++) binLimdca[i]=(Double_t)dcamin + (dcamax-dcamin) /nbindca*(Double_t)i ;
268 
269  // d0xd0
270  for(Int_t i=0; i<=nbind0xd0; i++) binLimd0xd0[i]=(Double_t)d0xd0min + (d0xd0max-d0xd0min) /nbind0xd0*(Double_t)i ;
271 
272  // cosPointingAngle
273  for(Int_t i=0; i<=nbinpointing; i++) binLimpointing[i]=(Double_t)cosmin + (cosmax-cosmin) /nbinpointing*(Double_t)i ;
274 
275  // Phi
276  for(Int_t i=0; i<=nbinphi; i++) binLimphi[i]=(Double_t)phimin + (phimax-phimin) /nbinphi*(Double_t)i ;
277 
278  // z Primary Vertex
279  for(Int_t i=0; i<=nbinzvtx; i++) {
280  binLimzvtx[i]=(Double_t)zmin + (zmax-zmin) /nbinzvtx*(Double_t)i ;
281  }
282 
283  // centrality
284  for(Int_t i=0; i<=nbincent_0_10; i++) binLimcent[i]=(Double_t)centmin_0_10 + (centmax_0_10-centmin_0_10)/nbincent_0_10*(Double_t)i ;
285  if (binLimcent[nbincent_0_10] != centmin_10_60) {
286  Error("AliCFHeavyFlavourTaskMultiVarMultiStep","Calculated bin lim for cent - 1st range - differs from expected!\n");
287  }
288  for(Int_t i=0; i<=nbincent_10_60; i++) binLimcent[i+nbincent_0_10]=(Double_t)centmin_10_60 + (centmax_10_60-centmin_10_60)/nbincent_10_60*(Double_t)i ;
289  if (binLimcent[nbincent_0_10+nbincent_10_60] != centmin_60_100) {
290  Error("AliCFHeavyFlavourTaskMultiVarMultiStep","Calculated bin lim for cent - 2st range - differs from expected!\n");
291  }
292  for(Int_t i=0; i<=nbincent_60_100; i++) binLimcent[i+nbincent_0_10+nbincent_10_60]=(Double_t)centmin_60_100 + (centmax_60_100-centmin_60_100)/nbincent_60_100*(Double_t)i ;
293 
294  // fake
295  for(Int_t i=0; i<=nbinfake; i++) {
296  binLimfake[i]=(Double_t)fakemin + (fakemax-fakemin)/nbinfake * (Double_t)i;
297  }
298 
299  // cosPointingAngleXY
300  for(Int_t i=0; i<=nbinpointingXY; i++) binLimpointingXY[i]=(Double_t)cosminXY + (cosmaxXY-cosminXY) /nbinpointingXY*(Double_t)i ;
301 
302  // normDecayLXY
303  for(Int_t i=0; i<=nbinnormDecayLXY; i++) binLimnormDecayLXY[i]=(Double_t)normDecLXYmin + (normDecLXYmax-normDecLXYmin) /nbinnormDecayLXY*(Double_t)i ;
304 
305 
306  // multiplicity
307  for(Int_t i=0; i<=nbinmult_0_20; i++) binLimmult[i]=(Double_t)multmin_0_20 + (multmax_0_20-multmin_0_20)/nbinmult_0_20*(Double_t)i ;
308  if (binLimmult[nbinmult_0_20] != multmin_20_50) {
309  Error("AliCFHeavyFlavourTaskMultiVarMultiStep","Calculated bin lim for mult - 1st range - differs from expected!\n");
310  }
311  for(Int_t i=0; i<=nbinmult_20_50; i++) binLimmult[i+nbinmult_0_20]=(Double_t)multmin_20_50 + (multmax_20_50-multmin_20_50)/nbinmult_20_50*(Double_t)i ;
312  if (binLimmult[nbinmult_0_20+nbinmult_20_50] != multmin_50_80) {
313  Error("AliCFHeavyFlavourTaskMultiVarMultiStep","Calculated bin lim for mult - 2nd range - differs from expected!\n");
314  }
315  for(Int_t i=0; i<=nbinmult_50_80; i++) binLimmult[i+nbinmult_0_20+nbinmult_20_50]=(Double_t)multmin_50_80 + (multmax_50_80-multmin_50_80)/nbinmult_50_80*(Double_t)i ;
316  if (binLimmult[nbinmult_0_20+nbinmult_20_50+nbinmult_50_80] != multmin_80_100) {
317  Error("AliCFHeavyFlavourTaskMultiVarMultiStep","Calculated bin lim for mult - 3rd range - differs from expected!\n");
318  }
319  for(Int_t i=0; i<=nbinmult_80_100; i++) binLimmult[i+nbinmult_0_20+nbinmult_20_50+nbinmult_50_80]=(Double_t)multmin_80_100 + (multmax_80_100-multmin_80_100)/nbinmult_80_100*(Double_t)i ;
320  if (binLimmult[nbinmult_0_20+nbinmult_20_50+nbinmult_50_80+nbinmult_80_100] != multmin_100_400) {
321  Error("AliCFHeavyFlavourTaskMultiVarMultiStep","Calculated bin lim for mult - 4th range - differs from expected!\n");
322  }
323  if(isPPbData){
324  for (Int_t i = 0; i<=nbinmult_100_400; i++) binLimmult[i+nbinmult_0_20+nbinmult_20_50+nbinmult_50_80+nbinmult_80_100]= (Double_t)multmin_100_400 + (multmax_100_400-multmin_100_400)/nbinmult_100_400*(Double_t)i ;
325  }
326 
327  //one "container" for MC
328  TString nameContainer="";
329  if(!isKeepDfromB) {
330  nameContainer="CFHFccontainer0";
331  }
332  else if(isKeepDfromBOnly){
333  nameContainer="CFHFccontainer0DfromB";
334  }
335  else {
336  nameContainer="CFHFccontainer0allD";
337  }
338  nameContainer += suffix;
339  //Setting up the container grid...
340 
341  AliCFContainer* container;
342 
343  if (configuration == AliCFTaskVertexingHF::kSnail){
344  container = new AliCFContainer(nameContainer,"container for tracks",nstep,nvarTot,iBin);
345  //setting the bin limits
346  printf("pt\n");
347  container -> SetBinLimits(ipT,binLimpT);
348  printf("y\n");
349  container -> SetBinLimits(iy,binLimy);
350  printf("cts\n");
351  container -> SetBinLimits(icosThetaStar,binLimcosThetaStar);
352  printf("ptPi\n");
353  container -> SetBinLimits(ipTpi,binLimpTpi);
354  printf("ptK\n");
355  container -> SetBinLimits(ipTk,binLimpTk);
356  printf("cT\n");
357  container -> SetBinLimits(icT,binLimcT);
358  printf("dca\n");
359  container -> SetBinLimits(idca,binLimdca);
360  printf("d0xd0\n");
361  container -> SetBinLimits(id0xd0,binLimd0xd0);
362  printf("pointing\n");
363  container -> SetBinLimits(ipointing,binLimpointing);
364  printf("phi\n");
365  container -> SetBinLimits(iphi,binLimphi);
366  printf("z\n");
367  container -> SetBinLimits(izvtx,binLimzvtx);
368  printf("cent\n");
369  container -> SetBinLimits(icent,binLimcent);
370  printf("fake\n");
371  container -> SetBinLimits(ifake,binLimfake);
372  printf("pointingXY\n");
373  container -> SetBinLimits(ipointingXY,binLimpointingXY);
374  printf("normDecayLXY\n");
375  container -> SetBinLimits(inormDecayLXY,binLimnormDecayLXY);
376  printf("multiplicity\n");
377 
378  if (isFineNtrkBin) container->SetBinLimits(imult,binLimmultFine);
379  else container -> SetBinLimits(imult,binLimmult);
380 
381  container -> SetVarTitle(ipT,"pt");
382  container -> SetVarTitle(iy,"y");
383  container -> SetVarTitle(icosThetaStar, "cosThetaStar");
384  container -> SetVarTitle(ipTpi, "ptpi");
385  container -> SetVarTitle(ipTk, "ptK");
386  container -> SetVarTitle(icT, "ct");
387  container -> SetVarTitle(idca, "dca");
388  container -> SetVarTitle(id0xd0, "d0xd0");
389  container -> SetVarTitle(ipointing, "pointing");
390  container -> SetVarTitle(iphi, "phi");
391  container -> SetVarTitle(izvtx, "zvtx");
392  container -> SetVarTitle(icent, "centrality");
393  container -> SetVarTitle(ifake, "fake");
394  container -> SetVarTitle(ipointingXY, "piointingXY");
395  container -> SetVarTitle(inormDecayLXY, "normDecayLXY");
396  container -> SetVarTitle(imult, "multiplicity");
397  }
398  else if (configuration == AliCFTaskVertexingHF::kCheetah){
399  //arrays for the number of bins in each dimension
400  const Int_t nvar = 8;
401 
402  const UInt_t ipTFast = 0;
403  const UInt_t iyFast = 1;
404  const UInt_t icTFast = 2;
405  const UInt_t iphiFast = 3;
406  const UInt_t izvtxFast = 4;
407  const UInt_t icentFast = 5;
408  const UInt_t ifakeFast = 6;
409  const UInt_t imultFast = 7;
410 
411  Int_t iBinFast[nvar];
412  iBinFast[ipTFast] = iBin[ipT];
413  iBinFast[iyFast] = iBin[iy];
414  iBinFast[icTFast] = iBin[icT];
415  iBinFast[iphiFast] = iBin[iphi];
416  iBinFast[izvtxFast] = iBin[izvtx];
417  iBinFast[icentFast] = iBin[icent];
418  iBinFast[ifakeFast] = iBin[ifake];
419  iBinFast[imultFast] = iBin[imult];
420 
421  container = new AliCFContainer(nameContainer,"container for tracks",nstep,nvar,iBinFast);
422  printf("pt\n");
423  container -> SetBinLimits(ipTFast,binLimpT);
424  printf("y\n");
425  container -> SetBinLimits(iyFast,binLimy);
426  printf("ct\n");
427  container -> SetBinLimits(icTFast,binLimcT);
428  printf("phi\n");
429  container -> SetBinLimits(iphiFast,binLimphi);
430  printf("zvtx\n");
431  container -> SetBinLimits(izvtxFast,binLimzvtx);
432  printf("centrality\n");
433  container -> SetBinLimits(icentFast,binLimcent);
434  printf("fake\n");
435  container -> SetBinLimits(ifakeFast,binLimfake);
436  printf("multiplicity\n");
437  if(isFineNtrkBin) container -> SetBinLimits(imultFast,binLimmultFine);
438  else container -> SetBinLimits(imultFast,binLimmult);
439 
440  container -> SetVarTitle(ipTFast,"pt");
441  container -> SetVarTitle(iyFast,"y");
442  container -> SetVarTitle(icTFast, "ct");
443  container -> SetVarTitle(iphiFast, "phi");
444  container -> SetVarTitle(izvtxFast, "zvtx");
445  container -> SetVarTitle(icentFast, "centrality");
446  container -> SetVarTitle(ifakeFast, "fake");
447  container -> SetVarTitle(imultFast, "multiplicity");
448  }
449  else if (configuration == AliCFTaskVertexingHF::kFalcon){
450  //arrays for the number of bins in each dimension
451  const Int_t nvar = 4;
452 
453  const UInt_t ipTSuperFast = 0;
454  const UInt_t iySuperFast = 1;
455  const UInt_t icentSuperFast = 2;
456  const UInt_t imultSuperFast = 3;
457 
458  Int_t iBinSuperFast[nvar];
459  iBinSuperFast[ipTSuperFast] = iBin[ipT];
460  iBinSuperFast[iySuperFast] = iBin[iy];
461  iBinSuperFast[icentSuperFast] = iBin[icent];
462  iBinSuperFast[imultSuperFast] = iBin[imult];
463 
464  container = new AliCFContainer(nameContainer,"container for tracks",nstep,nvar,iBinSuperFast);
465  printf("pt\n");
466  container -> SetBinLimits(ipTSuperFast,binLimpT);
467  printf("y\n");
468  container -> SetBinLimits(iySuperFast,binLimy);
469  printf("centrality\n");
470  container -> SetBinLimits(icentSuperFast,binLimcent);
471  printf("multiplicity\n");
472  if(isFineNtrkBin) container -> SetBinLimits(imultSuperFast,binLimmultFine);
473  else container -> SetBinLimits(imultSuperFast,binLimmult);
474 
475  container -> SetVarTitle(ipTSuperFast,"pt");
476  container -> SetVarTitle(iySuperFast,"y");
477  container -> SetVarTitle(icentSuperFast, "centrality");
478  container -> SetVarTitle(imultSuperFast, "multiplicity");
479  }
480  else if (configuration == AliCFTaskVertexingHF::kESE){
481  //arrays for the number of bins in each dimension
482  const Int_t nvar = 6;
483 
484  const UInt_t ipTESE = 0;
485  const UInt_t iyESE = 1;
486  const UInt_t icentESE = 2;
487  const UInt_t imultESE = 3;
488  const UInt_t ilocalmultESE = 4;
489  const UInt_t iq2ESE = 5;
490 
491  const Int_t iBinESE[nvar] = {iBin[ipT],iBin[iy],100,50,50,100};
492 
493  Double_t binLimcentESE[iBinESE[icentESE]+1];
494  for(Int_t iCent=0; iCent<iBinESE[icentESE]+1; iCent++) {
495  binLimcentESE[iCent] = iCent;
496  }
497  Double_t binLimmultESE[iBinESE[imultESE]+1];
498  for(Int_t iMult=0; iMult<iBinESE[imultESE]+1; iMult++) {
499  binLimmultESE[iMult] = -0.5+iMult*5000./iBinESE[imultESE];
500  }
501  Double_t binLimlocalmultESE[iBinESE[ilocalmultESE]+1];
502  for(Int_t iLocalMult=0; iLocalMult<iBinESE[ilocalmultESE]+1; iLocalMult++) {
503  binLimlocalmultESE[iLocalMult] = -0.5+iLocalMult*200./iBinESE[ilocalmultESE];
504  }
505  Double_t binLimq2ESE[iBinESE[iq2ESE]+1];
506  for(Int_t iq2=0; iq2<iBinESE[iq2ESE]+1; iq2++) {
507  binLimq2ESE[iq2] = iq2*5./iBinESE[iq2ESE];
508  }
509 
510  container = new AliCFContainer(nameContainer,"container for tracks",nstep,nvar,iBinESE);
511  printf("pt\n");
512  container -> SetBinLimits(ipTESE,binLimpT);
513  printf("y\n");
514  container -> SetBinLimits(iyESE,binLimy);
515  printf("centrality\n");
516  container -> SetBinLimits(icentESE,binLimcentESE);
517  printf("multiplicity\n");
518  container -> SetBinLimits(imultESE,binLimmultESE);
519  printf("local multiplicity\n");
520  container -> SetBinLimits(ilocalmultESE,binLimlocalmultESE);
521  printf("q2\n");
522  container -> SetBinLimits(iq2ESE,binLimq2ESE);
523 
524  container -> SetVarTitle(ipTESE,"pt");
525  container -> SetVarTitle(iyESE,"y");
526  container -> SetVarTitle(icentESE, "centrality");
527  container -> SetVarTitle(imultESE, "multiplicity");
528  container -> SetVarTitle(ilocalmultESE, "local multiplicity");
529  container -> SetVarTitle(iq2ESE, "q2");
530  }
531 
532 
533  container -> SetStepTitle(0, "MCLimAcc");
534  container -> SetStepTitle(1, "MC");
535  container -> SetStepTitle(2, "MCAcc");
536  container -> SetStepTitle(3, "RecoVertex");
537  container -> SetStepTitle(4, "RecoRefit");
538  container -> SetStepTitle(5, "Reco");
539  container -> SetStepTitle(6, "RecoAcc");
540  container -> SetStepTitle(7, "RecoITSCluster");
541  container -> SetStepTitle(8, "RecoCuts");
542  container -> SetStepTitle(9, "RecoPID");
543 
544  //return container;
545 
546  //CREATE THE CUTS -----------------------------------------------
547 
548  // Gen-Level kinematic cuts
549  AliCFTrackKineCuts *mcKineCuts = new AliCFTrackKineCuts("mcKineCuts","MC-level kinematic cuts");
550 
551  //Particle-Level cuts:
552  AliCFParticleGenCuts* mcGenCuts = new AliCFParticleGenCuts("mcGenCuts","MC particle generation cuts");
553  Bool_t useAbsolute = kTRUE;
554  if (isSign != 2){
555  useAbsolute = kFALSE;
556  }
557  mcGenCuts->SetRequirePdgCode(pdgCode, useAbsolute); // kTRUE set in order to include D0_bar
558  mcGenCuts->SetAODMC(1); //special flag for reading MC in AOD tree (important)
559 
560  // Acceptance cuts:
561  AliCFAcceptanceCuts* accCuts = new AliCFAcceptanceCuts("accCuts", "Acceptance cuts");
562  AliCFTrackKineCuts *kineAccCuts = new AliCFTrackKineCuts("kineAccCuts","Kine-Acceptance cuts");
563  kineAccCuts->SetPtRange(ptmin,ptmax);
564  kineAccCuts->SetEtaRange(etamin,etamax);
565 
566  // Rec-Level kinematic cuts
567  AliCFTrackKineCuts *recKineCuts = new AliCFTrackKineCuts("recKineCuts","rec-level kine cuts");
568 
569  AliCFTrackQualityCuts *recQualityCuts = new AliCFTrackQualityCuts("recQualityCuts","rec-level quality cuts");
570 
571  AliCFTrackIsPrimaryCuts *recIsPrimaryCuts = new AliCFTrackIsPrimaryCuts("recIsPrimaryCuts","rec-level isPrimary cuts");
572 
573  printf("CREATE MC KINE CUTS\n");
574  TObjArray* mcList = new TObjArray(0) ;
575  mcList->AddLast(mcKineCuts);
576  mcList->AddLast(mcGenCuts);
577 
578  printf("CREATE ACCEPTANCE CUTS\n");
579  TObjArray* accList = new TObjArray(0) ;
580  accList->AddLast(kineAccCuts);
581 
582  printf("CREATE RECONSTRUCTION CUTS\n");
583  TObjArray* recList = new TObjArray(0) ; // not used!!
584  recList->AddLast(recKineCuts);
585  recList->AddLast(recQualityCuts);
586  recList->AddLast(recIsPrimaryCuts);
587 
588  TObjArray* emptyList = new TObjArray(0);
589 
590  //CREATE THE INTERFACE TO CORRECTION FRAMEWORK USED IN THE TASK
591  printf("CREATE INTERFACE AND CUTS\n");
592  AliCFManager* man = new AliCFManager() ;
593  man->SetParticleContainer(container);
594  man->SetParticleCutsList(0 , mcList); // MC, Limited Acceptance
595  man->SetParticleCutsList(1 , mcList); // MC
596  man->SetParticleCutsList(2 , accList); // Acceptance
597  man->SetParticleCutsList(3 , emptyList); // Vertex
598  man->SetParticleCutsList(4 , emptyList); // Refit
599  man->SetParticleCutsList(5 , emptyList); // AOD
600  man->SetParticleCutsList(6 , emptyList); // AOD in Acceptance
601  man->SetParticleCutsList(7 , emptyList); // AOD with required n. of ITS clusters
602  man->SetParticleCutsList(8 , emptyList); // AOD Reco (PPR cuts implemented in Task)
603  man->SetParticleCutsList(9 , emptyList); // AOD Reco PID
604 
605  // Get the pointer to the existing analysis manager via the static access method.
606  //==============================================================================
607  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
608  if (!mgr) {
609  ::Error("AddTaskCompareHF", "No analysis manager to connect to.");
610  return NULL;
611  }
612  //CREATE THE TASK
613  printf("CREATE TASK\n");
614 
615  // create the task
616  AliCFTaskVertexingHF *task = new AliCFTaskVertexingHF("AliCFTaskVertexingHF",cutsDStartoKpi);
617  task->SetConfiguration(configuration);
618  task->SetFillFromGenerated(kFALSE);
619  task->SetCFManager(man); //here is set the CF manager
620  task->SetDecayChannel(21);
621  task->SetUseFlatPtWeight(useFlatPtWeight);
622  task->SetUseWeight(useWeight);
623  task->SetUseZWeight(useZWeight);
624  task->SetSign(isSign);
625  task->SetCentralitySelection(kFALSE);
626  task->SetFakeSelection(0);
627  task->SetRejectCandidateIfNotFromQuark(kTRUE); // put to false if you want to keep HIJING D0!!
628  task->SetUseMCVertex(kFALSE); // put to true if you want to do studies on pp
629  //task->SetPtWeightsFromDataPbPb276overLHC12a17a();
630 
631 
632  if (isKeepDfromB && !isKeepDfromBOnly) task->SetDselection(2);
633  if (isKeepDfromB && isKeepDfromBOnly) task->SetDselection(1);
634 
635  TF1* funcWeight = 0x0;
636  if (task->GetUseWeight()) {
637  funcWeight = (TF1*)fileCuts->Get("funcWeight");
638  if (funcWeight == 0x0){
639  Printf("FONLL Weights will be used");
640  }
641  else {
642  task->SetWeightFunction(funcWeight);
643  Printf("User-defined Weights will be used. The function being:");
644  task->GetWeightFunction()->Print();
645  }
646  }
647 
648  if(useNchWeight || useNtrkWeight){
649  TH1F *hNchPrimaries;
650  TH1F *hNchMeasured;
651  if (isPPbData) hNchPrimaries = (TH1F*)fileCuts->Get("hNtrUnCorrEvWithCandWeight");
652  else hNchPrimaries = (TH1F*)fileCuts->Get("hGenPrimaryParticlesInelGt0");
653  hNchMeasured = (TH1F*)fileCuts->Get("hNchMeasured");
654  if(hNchPrimaries) {
655  task->SetUseNchWeight(kTRUE);
656  task->SetMCNchHisto(hNchPrimaries);
657  if(isPPbData) task->SetUseNchTrackletsWeight();
658  } else {
659  Printf("FATAL: Histogram for multiplicity weights not found");
660  return 0x0;
661  }
662  if(hNchMeasured) task->SetMeasuredNchHisto(hNchMeasured);
663  if(useNtrkWeight) task->SetUseNchTrackletsWeight();
664  }
665 
666  task->SetMultiplicityEstimator(multiplicityEstimator);
667  if(estimatorFilename.EqualTo("") ) {
668  printf("Estimator file not provided, multiplicity corrected histograms will not be filled\n");
669  task->SetUseZvtxCorrectedNtrkEstimator(kFALSE);
670  } else{
671  TFile* fileEstimator=TFile::Open(estimatorFilename.Data());
672  if(!fileEstimator) {
673  Printf("FATAL: File with multiplicity estimator not found");
674  return NULL;
675  }
677  task->SetReferenceMultiplcity(refMult);
678 
679  if (isPPbData) { //load multiplicity estimators for pPb
680  task->SetIsPPbData(kTRUE);
681  const Char_t* periodNames[2] = {"LHC13b", "LHC13c"};
682  TProfile *multEstimatorAvg[2];
683  for (Int_t ip=0; ip < 2; ip++) {
684  multEstimatorAvg[ip] = (TProfile*)(fileEstimator->Get(Form("SPDmult10_%s",periodNames[ip]))->Clone(Form("SPDmult10_%s_clone",periodNames[ip])));
685  if (!multEstimatorAvg[ip]) {
686  Printf("FATAL: Multiplicity estimator for %s not found! Please check your estimator file",periodNames[ip]);
687  return NULL;
688  }
689  }
690  task->SetMultiplVsZProfileLHC13b(multEstimatorAvg[0]);
691  task->SetMultiplVsZProfileLHC13c(multEstimatorAvg[1]);
692 
693  } else { //load multiplicity estimators for pp
694  const Char_t* periodNames[4] = {"LHC10b", "LHC10c", "LHC10d", "LHC10e"};
695  TProfile* multEstimatorAvg[4];
696 
697  for(Int_t ip=0; ip<4; ip++) {
698  multEstimatorAvg[ip] = (TProfile*)(fileEstimator->Get(Form("SPDmult10_%s",periodNames[ip]))->Clone(Form("SPDmult10_%s_clone",periodNames[ip])));
699  if (!multEstimatorAvg[ip]) {
700  Printf("FATAL: Multiplicity estimator for %s not found! Please check your estimator file",periodNames[ip]);
701  return NULL;
702  }
703  }
704  task->SetMultiplVsZProfileLHC10b(multEstimatorAvg[0]);
705  task->SetMultiplVsZProfileLHC10c(multEstimatorAvg[1]);
706  task->SetMultiplVsZProfileLHC10d(multEstimatorAvg[2]);
707  task->SetMultiplVsZProfileLHC10e(multEstimatorAvg[3]);
708  }
709  }
710  Printf("***************** CONTAINER SETTINGS *****************");
711  Printf("decay channel = %d",(Int_t)task->GetDecayChannel());
712  Printf("FillFromGenerated = %d",(Int_t)task->GetFillFromGenerated());
713  Printf("Dselection = %d",(Int_t)task->GetDselection());
714  Printf("UseWeight = %d",(Int_t)task->GetUseWeight());
715  if (task->GetUseWeight()) {
716  if(funcWeight) Printf("User-defined Weight function");
717  else Printf("FONLL will be used for the weights");
718  }
719 
720  Printf("Use Nch weight = %d",(Int_t)task->GetUseNchWeight());
721  Printf("Sign = %d",(Int_t)task->GetSign());
722  Printf("Centrality selection = %d",(Int_t)task->GetCentralitySelection());
723  Printf("Fake selection = %d",(Int_t)task->GetFakeSelection());
724  Printf("RejectCandidateIfNotFromQuark selection = %d",(Int_t)task->GetRejectCandidateIfNotFromQuark());
725  Printf("UseMCVertex selection = %d",(Int_t)task->GetUseMCVertex());
726  Printf("***************END CONTAINER SETTINGS *****************\n");
727 
728 
729  //-----------------------------------------------------------//
730  // create correlation matrix for unfolding - only eta-pt //
731  //-----------------------------------------------------------//
732 
733  Bool_t AcceptanceUnf = kTRUE; // unfold at acceptance level, otherwise PPR
734 
735  Int_t thnDim[4];
736 
737  //first half : reconstructed
738  //second half : MC
739 
740  thnDim[0] = iBin[0];
741  thnDim[2] = iBin[0];
742  thnDim[1] = iBin[1];
743  thnDim[3] = iBin[1];
744 
745  TString nameCorr="";
746  if(!isKeepDfromB) {
747  nameCorr="CFHFcorr0";
748  }
749  else if(isKeepDfromBOnly){
750  nameCorr= "CFHFcorr0KeepDfromBOnly";
751  }
752  else {
753  nameCorr="CFHFcorr0allD";
754 
755  }
756  nameCorr += suffix;
757 
758  THnSparseD* correlation = new THnSparseD(nameCorr,"THnSparse with correlations",4,thnDim);
759  Double_t** binEdges = new Double_t*[2];
760 
761  // set bin limits
762 
763  binEdges[0]= binLimpT;
764  binEdges[1]= binLimy;
765 
766  correlation->SetBinEdges(0,binEdges[0]);
767  correlation->SetBinEdges(2,binEdges[0]);
768 
769  correlation->SetBinEdges(1,binEdges[1]);
770  correlation->SetBinEdges(3,binEdges[1]);
771 
772  correlation->Sumw2();
773 
774  // correlation matrix ready
775  //------------------------------------------------//
776 
777  task->SetCorrelationMatrix(correlation); // correlation matrix for unfolding
778 
779  // Create and connect containers for input/output
780 
781  // ------ input data ------
782  AliAnalysisDataContainer *cinput0 = mgr->GetCommonInputContainer();
783 
784  // ----- output data -----
785 
786  TString outputfile = AliAnalysisManager::GetCommonFileName();
787  TString output1name="", output2name="", output3name="",output4name="", output5name="";
788  output2name=nameContainer;
789  output3name=nameCorr;
790  output4name= "Cuts";
791  output5name= "coutProfDst";
792  if(!isKeepDfromB) {
793  outputfile += ":PWG3_D2H_CFtaskDstartoKpipi";
794  output1name="CFHFchist0";
795  output3name+="_cOnly";
796  output4name+="_cOnly";
797  output5name+="_cOnly";
798  }
799  else if(isKeepDfromBOnly){
800  outputfile += ":PWG3_D2H_CFtaskDstartoKpiKeepDfromBOnly";
801  output1name="CFHFchist0DfromB";
802  output3name+="_bOnly";
803  output4name+="_bOnly";
804  output5name+="_bOnly";
805  }
806  else{
807  outputfile += ":PWG3_D2H_CFtaskDstartoKpiKeepDfromB";
808  output1name="CFHFchist0allD";
809  output3name+="_all";
810  output4name+="_all";
811  output5name+="_all";
812  }
813 
814  outputfile += suffix;
815  output1name += suffix;
816  output4name += suffix;
817  output5name += suffix;
818 
819  //now comes user's output objects :
820  // output TH1I for event counting
821  AliAnalysisDataContainer *coutput1 = mgr->CreateContainer(output1name, TH1I::Class(),AliAnalysisManager::kOutputContainer,outputfile.Data());
822  // output Correction Framework Container (for acceptance & efficiency calculations)
823  AliAnalysisDataContainer *coutput2 = mgr->CreateContainer(output2name, AliCFContainer::Class(),AliAnalysisManager::kOutputContainer,outputfile.Data());
824  // Unfolding - correlation matrix
825  AliAnalysisDataContainer *coutput3 = mgr->CreateContainer(output3name, THnSparseD::Class(),AliAnalysisManager::kOutputContainer,outputfile.Data());
826  // cuts
827  AliAnalysisDataContainer *coutput4 = mgr->CreateContainer(output4name, AliRDHFCuts::Class(),AliAnalysisManager::kOutputContainer, outputfile.Data());
828  // estimators list
829  AliAnalysisDataContainer *coutput5 = mgr->CreateContainer(output5name, TList::Class(),AliAnalysisManager::kOutputContainer, outputfile.Data());
830 
831  mgr->AddTask(task);
832 
833  mgr->ConnectInput(task,0,mgr->GetCommonInputContainer());
834  mgr->ConnectOutput(task,1,coutput1);
835  mgr->ConnectOutput(task,2,coutput2);
836  mgr->ConnectOutput(task,3,coutput3);
837  mgr->ConnectOutput(task,4,coutput4);
838  mgr->ConnectOutput(task,5,coutput5);
839  return task;
840 
841 }
Int_t charge
const Double_t d0xd0min
const Float_t multmax_50_80
const Double_t dcamin
void SetWeightFunction(TF1 *func)
void SetRejectCandidateIfNotFromQuark(Bool_t opt)
const Double_t ymax
Definition: AddTaskCFDStar.C:7
double Double_t
Definition: External.C:58
void SetMultiplVsZProfileLHC10e(TProfile *hprof)
void SetCFManager(AliCFManager *io)
CORRECTION FRAMEWORK RELATED FUNCTIONS.
const Float_t multmin_0_20
const Float_t fakemax
const Double_t cTmax
const Float_t multmin_100_400
void SetDecayChannel(Int_t decayChannel)
TSystem * gSystem
char Char_t
Definition: External.C:18
const Int_t mintrackrefsITS
void SetFillFromGenerated(Bool_t flag)
get corr manager
const Double_t cosmaxTS
void SetUseNchTrackletsWeight(Bool_t useWeight=kTRUE)
void SetUseMCVertex(Bool_t opt)
const Float_t multmax_0_20
const Float_t centmin_10_60
const Double_t d0xd0max
const Int_t minITSClusters
const Double_t cosmax
const Float_t centmin_0_10
const Int_t mintrackrefsTPC
const Double_t etamin
int Int_t
Definition: External.C:63
void SetMeasuredNchHisto(TH1F *h)
unsigned int UInt_t
Definition: External.C:33
const Float_t normDecLXYmax
const Int_t minclustersTPC
fast configuration, only a subset of variables
float Float_t
Definition: External.C:68
const Double_t ptmax
void SetIsPPbData(Bool_t flag)
const Double_t dcamax
const Float_t multmin_80_100
const Float_t multmax_80_100
const Float_t cosmaxXY
const Float_t normDecLXYmin
const Double_t zmin
const Float_t fakemin
void SetCentralitySelection(Bool_t centSelec=kTRUE)
const Float_t centmax
slow configuration, all variables
const Double_t ptmin
const Double_t cosmin
super fast configuration, only (pt,y,centrality)
const Float_t multmin_20_50
const Float_t centmax_60_100
const Float_t cosminXY
void SetReferenceMultiplcity(Double_t rmu)
void SetUseWeight(Bool_t useWeight)
void SetUseZvtxCorrectedNtrkEstimator(Bool_t flag)
Bool_t useWeight
Definition: anaTree.C:26
const Float_t multmin_50_80
void SetConfiguration(Int_t configuration)
void SetDselection(UShort_t originDselection)
const Float_t multmax_100_400
Float_t * GetPtBinLimits() const
Definition: AliRDHFCuts.h:248
const Double_t etamax
const Double_t cosminTS
const Float_t centmax_0_10
TF1 * GetWeightFunction() const
void SetUseNchWeight(Bool_t useWeight)
void SetUseFlatPtWeight(Bool_t useWeight)
const Double_t ymin
Definition: AddTaskCFDStar.C:6
const Float_t multmax_20_50
void SetCorrelationMatrix(THnSparse *h)
UNFOLDING.
void SetMultiplVsZProfileLHC10b(TProfile *hprof)
void SetMultiplVsZProfileLHC10d(TProfile *hprof)
Int_t GetNPtBins() const
Definition: AliRDHFCuts.h:249
void SetSign(Char_t isSign)
const Float_t centmin_60_100
Bool_t GetUseNchWeight() const
const Double_t zmax
const Double_t cTmin
Bool_t GetUseWeight() const
bool Bool_t
Definition: External.C:53
void SetMultiplicityEstimator(Int_t value)
void SetMultiplVsZProfileLHC13b(TProfile *hprof)
Bool_t GetFillFromGenerated() const
void SetMultiplVsZProfileLHC13c(TProfile *hprof)
void SetFakeSelection(Int_t fakeSel=0)
AliCFTaskVertexingHF * AddTaskCFVertexingHFCascade(const char *cutFile="DStartoKpipiCuts010.root", TString cutObjectName="DStartoKpipiCuts", TString suffix="suf", Int_t configuration=AliCFTaskVertexingHF::kCheetah, Bool_t isKeepDfromB=kFALSE, Bool_t isKeepDfromBOnly=kFALSE, Int_t pdgCode=413, Char_t isSign=2, Bool_t useWeight=kTRUE, Bool_t useFlatPtWeight=kFALSE, Bool_t useZWeight=kFALSE, Bool_t useNchWeight=kFALSE, Bool_t useNtrkWeight=kFALSE, TString estimatorFilename="", Int_t multiplicityEstimator=AliCFTaskVertexingHF::kNtrk10, Bool_t isPPData=kFALSE, Bool_t isPPbData=kFALSE, Double_t refMult=9.26, Bool_t isFineNtrkBin=kFALSE)
void SetUseZWeight(Bool_t useWeight)
const Float_t centmax_10_60
const Double_t phimin
void SetMultiplVsZProfileLHC10c(TProfile *hprof)