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