AliPhysics  e6c8d43 (e6c8d43)
ConfigureCaloTrackCorrAnalysis.C
Go to the documentation of this file.
1 
23 // Set includes for compilation
24 
25 #if !defined(__CINT__) || defined(__MAKECINT__)
26 
27 #include <TString.h>
28 #include <TSystem.h>
29 #include <TROOT.h>
30 
31 #include "AliAnaPhoton.h"
32 #include "AliAnaPi0.h"
33 #include "AliAnaPi0EbE.h"
34 #include "AliHistogramRanges.h"
37 #include "AliAnaChargedParticles.h"
38 #include "AliAnaCalorimeterQA.h"
40 #include "AliAnaGeneratorKine.h"
43 #endif
44 
47 
49 TString kAnaCutsString = ""; // "Photon_MergedPi0_DecayPi0_Isolation_Correlation_Bkg_QA_Charged",
50 
68  TString col, Bool_t simulation,
69  Bool_t printSettings, Int_t debug)
70 {
71  //
72  // Histograms ranges
73  //
74  AliHistogramRanges* histoRanges = ana->GetHistogramRanges();
75 
76  if ( histoString != "" )
77  ana->AddToHistogramsName(Form("%s_%s", histoString.Data(), (ana->GetAddedHistogramsStringToName()).Data()) );
78 
79 
80  histoRanges->SetHistoPtRangeAndNBins(0, 100, 200) ; // Energy and pt histograms
81 
82  if(calorimeter=="EMCAL")
83  {
84  ana->SetFirstSMCoveredByTRD(-1);
85 
86  if ( year == 2010 )
87  {
88  histoRanges->SetHistoPhiRangeAndNBins(78*TMath::DegToRad(), 122*TMath::DegToRad(), 78) ;
89  histoRanges->SetHistoXRangeAndNBins(-230,90,120); // QA
90  histoRanges->SetHistoYRangeAndNBins(370,450,40); // QA
91  }
92  else if ( year < 2014 )
93  {
94  histoRanges->SetHistoPhiRangeAndNBins(78*TMath::DegToRad(), 182*TMath::DegToRad(), 104) ;
95  histoRanges->SetHistoXRangeAndNBins(-460,90,200); // QA
96  histoRanges->SetHistoYRangeAndNBins(100,450,100); // QA
97 
98  if (year == 2011) ana->SetFirstSMCoveredByTRD( 6);
99  else if(year == 2012 ||
100  year == 2013) ana->SetFirstSMCoveredByTRD( 4);
101  }
102  else // Run2
103  {
104  histoRanges->SetHistoPhiRangeAndNBins(78*TMath::DegToRad(), 189*TMath::DegToRad(), 111) ;
105  histoRanges->SetHistoXRangeAndNBins(-460,460,230); // QA, revise
106  histoRanges->SetHistoYRangeAndNBins(-450,450,225); // QA, revise
107  }
108 
109  histoRanges->SetHistoEtaRangeAndNBins(-0.72, 0.72, 144) ;
110  }
111  else if(calorimeter=="DCAL")
112  {
113  histoRanges->SetHistoPhiRangeAndNBins(260*TMath::DegToRad(), 327*TMath::DegToRad(), 67) ;
114  histoRanges->SetHistoEtaRangeAndNBins(-0.72, 0.72, 144) ;
115  histoRanges->SetHistoXRangeAndNBins(-460,460,230); // QA, revise
116  histoRanges->SetHistoYRangeAndNBins(-450,450,225); // QA, revise
117  }
118  else if(calorimeter=="PHOS")
119  {
120  histoRanges->SetHistoPhiRangeAndNBins(250*TMath::DegToRad(), 320*TMath::DegToRad(), 70) ;
121  histoRanges->SetHistoEtaRangeAndNBins(-0.13, 0.13, 130) ;
122  }
123  else if(calorimeter=="CTS")
124  {
125  ana->GetHistogramRanges()->SetHistoPhiRangeAndNBins(0, TMath::TwoPi(), 200) ;
126  ana->GetHistogramRanges()->SetHistoEtaRangeAndNBins(-1.5, 1.5, 300) ;
127  }
128 
129  histoRanges->SetHistoShowerShapeRangeAndNBins(-0.1, 2.9, 300);
130 
131  // Invariant mass histo
132  histoRanges->SetHistoMassRangeAndNBins(0., 1., 200) ;
133  histoRanges->SetHistoAsymmetryRangeAndNBins(0., 1. , 100) ;
134 
135  // check if time calibration is on
136  //histoRanges->SetHistoTimeRangeAndNBins(-1000.,1000,1000);
137  histoRanges->SetHistoTimeRangeAndNBins(-400.,400,400);
138  histoRanges->SetHistoDiffTimeRangeAndNBins(-200, 200, 800);
139 
140  // track-cluster residuals
141  histoRanges->SetHistoTrackResidualEtaRangeAndNBins(-0.06,0.06,120);
142  histoRanges->SetHistoTrackResidualPhiRangeAndNBins(-0.06,0.06,120);
143  histoRanges->SetHistodRRangeAndNBins(0.,0.06,60);//QA
144 
145  // QA, electron, charged
146  histoRanges->SetHistoPOverERangeAndNBins(0,1.5,150);
147  histoRanges->SetHistodEdxRangeAndNBins(0.,200.,200);
148 
149  // QA
150  histoRanges->SetHistoFinePtRangeAndNBins(0, 10, 200) ; // bining for fhAmpId
151  histoRanges->SetHistoVertexDistRangeAndNBins(0.,500.,500);
152  histoRanges->SetHistoZRangeAndNBins(-350,350,175);
153  histoRanges->SetHistoRRangeAndNBins(430,460,30);
154  histoRanges->SetHistoV0SignalRangeAndNBins(0,5000,500);
155  histoRanges->SetHistoV0MultiplicityRangeAndNBins(0,5000,500);
156 
157  // QA, correlation
158  if(col=="PbPb")
159  {
160  histoRanges->SetHistoNClusterCellRangeAndNBins(0,100,100);
161  histoRanges->SetHistoNClustersRangeAndNBins(0,500,50);
162  histoRanges->SetHistoTrackMultiplicityRangeAndNBins(0,2000,200);
163  }
164  else
165  {
166  histoRanges->SetHistoNClusterCellRangeAndNBins(0,50,50);
167  histoRanges->SetHistoNClustersRangeAndNBins(0,50,50);
168  histoRanges->SetHistoTrackMultiplicityRangeAndNBins(0,200,200);
169  }
170 
171  // xE, zT
172  histoRanges->SetHistoRatioRangeAndNBins(0.,2.,200);
173  histoRanges->SetHistoHBPRangeAndNBins (0.,10.,200);
174 
175  // Isolation
176  histoRanges->SetHistoPtInConeRangeAndNBins(0, 50 , 250);
177  histoRanges->SetHistoPtSumRangeAndNBins (0, 100, 250);
178 
179  //
180  // MC histograms?
181  //
182  if(simulation) ana->SwitchOnDataMC() ;//Access MC stack and fill more histograms, AOD MC not implemented yet.
183  else ana->SwitchOffDataMC() ;
184 
185  //
186  // Debug
187  //
188  if(printSettings) ana->Print("");
189 
190  ana->SetDebug(debug); // 10 for lots of messages
191 }
192 
207  TString calorimeter, Int_t year, Int_t tm,
208  Bool_t printSettings, Int_t debug,
209  TString histoString )
210 {
211  AliAnaPhoton *ana = new AliAnaPhoton();
212 
213  // cluster selection cuts
214 
216 
217  ana->SwitchOnFiducialCut();
218  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 80, 187) ; // EMC
219  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 260, 327) ; // DMC
220 
221  if ( calorimeter.Contains("CAL") ) ana->GetFiducialCut()->DoEMCALFiducialCut(kTRUE);
222 
223  ana->SetCalorimeter(calorimeter);
224  if(calorimeter == "DCAL")
225  {
226  TString calo = "EMCAL";
227  ana->SetCalorimeter(calo);
228  }
229 
230  ana->SwitchOnFillShowerShapeHistograms(); // Filled before photon shower shape selection
231  if( kAnaCutsString.Contains("MultiIso") ) ana->SwitchOffFillShowerShapeHistograms();
232 
233  if ( kAnaCutsString.Contains("PerSM") )
235 
236  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
237 
238  if(tm) ana->SwitchOnTrackMatchRejection() ;
239  else ana->SwitchOffTrackMatchRejection() ;
240 
241  // Fill track matching histograms if track matching activated
242  // and only once in case of multiple analysis
243  if ( tm && !kAnaCutsString.Contains("MultiIso") )
244  {
245  ana->SwitchOnTMHistoFill() ;
246  if(tm > 1) ana->SwitchOnTMTrackPtHistoFill() ;
247  }
248 
249  if(calorimeter == "PHOS")
250  {
251  ana->SetNCellCut(2);// At least 3 cells
252  ana->SetMinPt(0.3);
253  ana->SetMinDistanceToBadChannel(2, 4, 5);
254  ana->SetTimeCut(-1e10,1e10); // open cut
255  }
256  else
257  {//EMCAL
258  ana->SetNCellCut(1);// At least 2 cells
259  ana->SetMinEnergy(0.3); // avoid mip peak at E = 260 MeV
260  ana->SetMaxEnergy(100);
261  ana->SetTimeCut(-1e10,1e10); // open cut, usual time window of [425-825] ns if time recalibration is off
262  // restrict to less than 100 ns when time calibration is on
263  ana->SetMinDistanceToBadChannel(2, 4, 6);
264 
265  // NLM cut, used in all, exclude clusters with more than 2 maxima
266  // Not needed if M02 cut is already strong or clusterizer V2
267  ana->SetNLMCut(1, 2) ;
268  }
269 
270  //PID cuts (shower shape)
271  ana->SwitchOnCaloPID(); // do PID selection, unless specified in GetCaloPID, selection not based on bayesian
272  AliCaloPID* caloPID = ana->GetCaloPID();
273  //Not used in bayesian
274 
275  // EMCAL
276 
277  //caloPID->SetEMCALLambda0CutMax(0.27);
278  caloPID->SetEMCALLambda0CutMax(10); // open, full shower shape needed for isolation studies
279  caloPID->SetEMCALLambda0CutMin(0.10);
280 
281  // Track matching
282  // tm = 1, fixed cuts
283  caloPID->SetEMCALDEtaCut(0.025);
284  caloPID->SetEMCALDPhiCut(0.030);
285 
286  // pT track dependent cuts
287  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
288 
289  // PHOS
290  caloPID->SetPHOSDispersionCut(2.5);
291  caloPID->SetPHOSRCut(2.);
292  //if(kInputData=="AOD") caloPID->SetPHOSRCut(2000.); // Open cut since dX, dZ not stored
293 
294  // Branch AOD settings
295  ana->SetOutputAODName(Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data()));
296  ana->SetOutputAODClassName("AliCaloTrackParticleCorrelation");
297 
298  //Set Histograms name tag, bins and ranges
299  //ana->AddToHistogramsName(Form("AnaPhoton_TM%d_",tm));
300  ana->AddToHistogramsName("AnaPhoton_");
301 
302  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug) ; // see method below
303 
304  if(ana->GetFirstSMCoveredByTRD() > 0)
305  printf("ConfigurePhotonAnalysis() >>> Set first SM covered by TRD, SM=%d <<< year %d \n", ana->GetFirstSMCoveredByTRD(),year);
306 
307  // Number of particle type MC histograms
308  ana->FillNOriginHistograms (17); // 18 max
309  ana->FillNPrimaryHistograms(6); // 6 max
310 
311  return ana;
312 }
313 
332  Bool_t useSSIso, Bool_t useAsy,
333  TString col, Bool_t simulation,
334  TString calorimeter, Int_t year, Int_t tm,
335  Bool_t printSettings, Int_t debug,
336  TString histoString )
337 {
338  // Configuration of pi0 event by event selection
339 
340  AliAnaPi0EbE *ana = new AliAnaPi0EbE();
341 
342  ana->SetDebug(debug);
343 
344  ana->SetAnalysisType((AliAnaPi0EbE::anaTypes)analysis);
345  TString opt = "";
346  if(analysis==AliAnaPi0EbE::kIMCaloTracks) opt = "Conv";
347  if(analysis==AliAnaPi0EbE::kSSCalo) opt = "SS";
348 
351 
353  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
354  //if(!kTime && !simulation) ana->SwitchOnFillEMCALBCHistograms();
355 
356  if(tm) ana->SwitchOnTrackMatchRejection() ;
357  else ana->SwitchOffTrackMatchRejection() ;
358 
359  if ( tm && !kAnaCutsString.Contains("Photon") && !kAnaCutsString.Contains("MultiIso") )
360  ana->SwitchOnTMHistoFill() ;
361  else
362  ana->SwitchOffTMHistoFill() ;
363 
364  ana->SetCalorimeter(calorimeter);
365  if(calorimeter == "DCAL")
366  {
367  TString calo = "EMCAL";
368  ana->SetCalorimeter(calo);
369  }
370 
371  // Branch AOD settings
372  ana->SetOutputAODName(Form("%s%sTrigger_%s",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
373  printf("ConfigurePi0EbEAnalysis() *** Out branch %s***\n",ana->GetOutputAODName().Data());
374  ana->SetOutputAODClassName("AliCaloTrackParticleCorrelation");
375 
376  if(analysis == AliAnaPi0EbE::kIMCaloTracks) ana->SetInputAODGammaConvName("PhotonsCTS");
377 
378  //Set Histograms name tag, bins and ranges
379 
380  //ana->AddToHistogramsName(Form("Ana%s%sEbE_TM%d_",particle.Data(),opt.Data(),tm));
381  ana->AddToHistogramsName(Form("Ana%s%sEbE_",particle.Data(),opt.Data()));
382 
383  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
384 
386  if(analysis!=AliAnaPi0EbE::kSSCalo)
387  {
388  ana->SetInputAODName(Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data()));
389 
390  ana->SetM02CutForInvMass(0.1,0.35); // Loose SS cut
391 
393  ana->SetR(0.4);
395 
396  if(useSSIso)
397  {
399  //ana->AddToHistogramsName(Form("Ana%s%sEbEIsoDecay_TM%d_",particle.Data(),opt.Data(),tm));
400  ana->AddToHistogramsName(Form("Ana%s%sEbEIsoDecay_",particle.Data(),opt.Data()));
401  ana->SetOutputAODName(Form("%s%sIsoDecayTrigger_%s",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
402  }
403 
404  if ( calorimeter.Contains("CAL") && !simulation ) ana->SetPairTimeCut(100);
405 
407  nms->SetParticle(particle);
408 
409  //****
410  nms->SetInvMassCutMaxParameters(0,0,0); // Overrule the setting in SetParticle for Pi0 option
411  //****
412 
413  // Tighten a bit mass cut with respect to default window
414  if(particle=="Pi0") nms->SetInvMassCutRange(0.110,0.160);
415  if(particle=="Eta") nms->SetInvMassCutRange(0.520,0.580);
416 
417  //if(!particle.Contains("SideBand")) nms->SwitchOnAngleSelection();
418  //else nms->SwitchOnAngleSelection();
419 
421 
422  if(particle.Contains("Pi0SideBand")) // For pi0, do not consider left band
423  nms->SetSideBandCutRanges(-1,0,0.190,0.240);
424 
425  if(particle.Contains("EtaSideBand")) // For pi0, do not consider left band
426  nms->SetSideBandCutRanges(0.410,0.470,0.620,0.680);
427 
429  //nms->SetAngleMaxParam(2,0.2);
430  nms->SetHistoERangeAndNBins(0, 20, 80) ;
431  //nms->SetHistoIMRangeAndNBins(0, 1, 400);
432  }
433  else
434  {
435  // cluster splitting settings
436  ana->SetMinEnergy(6);
437  ana->SetMaxEnergy(100.);
438 
439  ana->SetNLMMinEnergy(0, 10);
440  ana->SetNLMMinEnergy(1, 6);
441  ana->SetNLMMinEnergy(2, 6);
442 
443  // NLM cut, used in all, exclude clusters with more than 2 maxima
444  ana->SetNLMCut(1, 2) ;
445 
446  //
447  ana->SetMinDistanceToBadChannel(2, 4, 6);
449  ana->SetTimeCut(-1e10,1e10); // Open time cut
450 
451  AliCaloPID* caloPID = ana->GetCaloPID();
452 
453  // Track matching
454  // tm = 1, fixed cuts
455  caloPID->SetEMCALDEtaCut(0.025);
456  caloPID->SetEMCALDPhiCut(0.030);
457 
458  // pT track dependent cuts
459  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
460 
461  caloPID->SetSplitWidthSigma(3); // cut at 3 sigma of the mean pi0 peak.
462 
463  if(!useSSIso)
464  {
465  printf("ConfigurePi0EbEAnalysis() << Do not apply SS cut on merged pi0 analysis >> \n");
466  caloPID->SwitchOffSplitShowerShapeCut() ;
467  //ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_TM%d_",particle.Data(),opt.Data(),tm));
468  ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_",particle.Data(),opt.Data()));
469  ana->SetOutputAODName(Form("%s%sTrigger_%s_OpenSS",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
470  caloPID->SetClusterSplittingM02Cut(0.1,10);
471  }
472  else
473  {
474  caloPID->SetClusterSplittingM02Cut(0.3,4); // Do the selection in the analysis class and not in the PID method to fill SS histograms
475  caloPID->SwitchOnSplitShowerShapeCut() ;
476  }
477 
478  if(useAsy)
479  {
480  caloPID->SwitchOnSplitAsymmetryCut() ;
482  ana->GetCaloPID()->SetSubClusterEnergyMinimum(1,0.5);
483  ana->GetCaloPID()->SetSubClusterEnergyMinimum(2,0.5);
484  }
485  else
486  {
487  caloPID->SwitchOffSplitAsymmetryCut() ;
488  if(!useSSIso)
489  {
490  //ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_OpenAsy_TM%d_",particle.Data(),opt.Data(),tm));
491  ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_OpenAsy_",particle.Data(),opt.Data()));
492  ana->SetOutputAODName(Form("%s%sTrigger_%s_OpenSS_OpenAsy",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
493  }
494  else
495  {
496  //ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenAsy_TM%d_",particle.Data(),opt.Data(),tm));
497  ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenAsy_",particle.Data(),opt.Data()));
498  ana->SetOutputAODName(Form("%s%sTrigger_%s_OpenAsy",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
499  }
500  }
501 
502  // For Pi0 only if SwitchOnSimpleSplitMassCut()
503  caloPID->SetPi0MassRange(0.10, 0.18);
504  caloPID->SetEtaMassRange(0.50, 0.60);
505  caloPID->SetPhotonMassRange(0.00, 0.08);
506 
507  caloPID->SetClusterSplittingMinNCells(6);
508 
509  //caloPID->SetSplitEnergyFractionMinimum(0, 0.95);
510  //caloPID->SetSplitEnergyFractionMinimum(1, 0.95);
511  //caloPID->SetSplitEnergyFractionMinimum(2, 0.8);
512 
513  if(col=="PbPb" || kAnaCaloTrackCorr.Contains("150"))
514  {
515  caloPID->SetClusterSplittingMinNCells(4);
516  //caloPID->SetPi0MassShiftHighECell(0.005);
517  }
518  }
520 
521  return ana;
522 }
523 
524 
540 (TString col, Bool_t simulation,
541  TString calorimeter, Bool_t bothCalo,
542  Int_t year, Bool_t mixOn,
543  Bool_t printSettings, Int_t debug,
544  TString histoString )
545 {
546  AliAnaPi0 *ana = new AliAnaPi0();
547 
548  ana->SetDebug(debug);
549 
550  // Input delta AOD settings
551  ana->SetInputAODName(Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data()));
552 
553  if(bothCalo)
554  {
556 
557  TString otherDetector = Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data());
558 
559  if ( calorimeter == "EMCAL" )
560  otherDetector.ReplaceAll("PhotonTrigger_EMCAL","PhotonTrigger_PHOS");
561  else
562  otherDetector.ReplaceAll("PhotonTrigger_PHOS","PhotonTrigger_EMCAL");
563 
564  ana->SetOtherDetectorInputName(otherDetector);
565  }
566 
567  // Calorimeter settings
568  ana->SetCalorimeter(calorimeter);
569  if(calorimeter == "DCAL")
570  {
571  TString calo = "EMCAL";
572  ana->SetCalorimeter(calo);
573  }
574 
575  // Acceptance plots
576  ana->SwitchOnFiducialCut();
577  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 80, 187) ; // EMC
578  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 260, 327) ; // DMC
579 
580  if ( calorimeter.Contains("CAL") ) ana->GetFiducialCut()->DoEMCALFiducialCut(kTRUE);
581 
583 
584  // settings for pp collision mixing
585  if(mixOn) ana->SwitchOnOwnMix();
586  else ana->SwitchOffOwnMix();
587 
588  // Cuts
589  if (calorimeter == "EMCAL" )
590  {
591  if(year < 2014) ana->SetPairTimeCut(50);
592  else ana->SetPairTimeCut(200); // REMEMBER to remove this when time calib is on
593  }
594 
595  ana->SetNPIDBits(1);
596  ana->SetNAsymCuts(1); // no asymmetry cut, previous studies showed small effect.
597  // In EMCAL assymetry cut prevents combination of assymetric decays which is the main source of pi0 at high E.
598 
599  if (col == "pp" )
600  {
601  printf("ConfigureInvariantMassAnalysis() - Set pp configuration\n");
602  ana->SetNCentrBin(1);
603  ana->SwitchOffTrackMultBins();
604  ana->SetNZvertBin(10);
605  ana->SetNRPBin(1);
606  ana->SetNMaxEvMix(100);
607  ana->SetMinPt(0.7);
608  }
609  else if(col == "PbPb")
610  {
611  printf("ConfigureInvariantMassAnalysis() - Set PbPb configuration\n");
612  ana->SetNCentrBin(10);
613  ana->SetNZvertBin(10);
614  ana->SetNRPBin(4);
615  ana->SetNMaxEvMix(10);
616  ana->SetMinPt(1.5);
617  }
618  else if(col =="pPb")
619  {
620  printf("ConfigureInvariantMassAnalysis() - Set pPb configuration\n");
621  ana->SetNCentrBin(1);
622  ana->SetNZvertBin(10);
623  ana->SetNRPBin(4);
624  ana->SetNMaxEvMix(100);
625  ana->SetMinPt(0.7);
626  }
627 
628  // Angle cut, avoid pairs with too large angle
629  ana->SwitchOnAngleSelection();
630  ana->SetAngleMaxCut(TMath::DegToRad()*80.); // EMCal: 4 SM in phi, 2 full SMs in eta
631  ana->SetAngleCut(0.017); // Minimum angle open, cell size
632 
633  if ( kAnaCutsString.Contains("PerSM") ) //&& !bothCalo )
634  ana->SwitchOnSMCombinations();
635 
637  ana->SwitchOnFillAngleHisto();
638  ana->SwitchOnFillOriginHisto(); // MC
639 
640  // Set Histograms name tag, bins and ranges
641  if(!bothCalo) ana->AddToHistogramsName(Form("AnaPi0_"));
642  else ana->AddToHistogramsName(Form("AnaPi0_2Det_"));
643 
644  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
645  if(printSettings) ana->Print("");
646 
647  return ana;
648 }
649 
650 
672  Int_t partInCone, Int_t thresType,
673  Float_t cone, Float_t coneMin,
674  Float_t pth, Bool_t multi,
675  TString col, Bool_t simulation,
676  TString calorimeter, Int_t year, Int_t tm,
677  Bool_t printSettings, Int_t debug,
678  TString histoString )
679 {
681 
682  ana->SetDebug(debug);
683 
684  ana->SetMinPt(5);
685  ana->SetCalorimeter(calorimeter);
686  if(calorimeter == "DCAL")
687  {
688  TString calo = "EMCAL";
689  ana->SetCalorimeter(calo);
690  }
691 
693  ana->SwitchOffCellHistoFill() ;
694 
695  ana->SwitchOffLeadingOnly();
697  if( leading > 0 ) ana->SwitchOnLeadingOnly();
698  if( leading == 2 ||
699  leading == 4) ana->SwitchOnCheckNeutralClustersForLeading();
700 
701  // MC
704 
705  ana->SwitchOffSSHistoFill();
706 
707  if(particle.Contains("Photon"))
708  {
709  ana->SwitchOnSSHistoFill();
710 
711  if(kAnaCutsString.Contains("Decay"))
712  {
714  ana->SetNDecayBits(5);
715  }
716  }
717 
718  if ( kAnaCutsString.Contains("PerSM") )
719  {
721  ana->SwitchOnStudyNCellsCut();
722  }
723 
724  if ( kAnaCutsString.Contains("PerTCard") )
726 
727  if(kAnaCutsString.Contains("Bkg"))
728  {
729  printf("ConfigureIsolationAnalysis() *** Activate analysis on PtTrig and Bkg bins >> \n");
731  ana->SetNPtTrigBins(6);
732  //ana->SetPtTrigLimits(0,8); ana->SetPtTrigLimits(1,12); ana->SetPtTrigLimits(2,16); ana->SetPtTrigLimits(3,25);
733 
735  ana->SetNBackgroundBins(11);
736  //ana->SetBackgroundLimits(0,0); ana->SetBackgroundLimits(1,0.2); ana->SetBackgroundLimits(2,3); ana->SetBackgroundLimits(3,0.4);
737  }
738 
739  if(!tm) ana->SwitchOnTMHistoFill();
740  else ana->SwitchOffTMHistoFill();
741 
742  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
743 
744  // Avoid borders of calorimeter
746  ana->SwitchOnFiducialCut();
747  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 86, 174) ;
748  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 266, 314) ;
749  else if ( calorimeter == "PHOS" ) ana->GetFiducialCut()->SetSimplePHOSFiducialCut (0.10, 266, 314) ;
750 
751  // Same Eta as EMCal, cut in phi if EMCAL was triggering
752  if(particle=="Hadron" || particle.Contains("CTS"))
753  {
754  //if(trigger.Contains("EMC"))
755  // ana->GetFiducialCut()->SetSimpleCTSFiducialCut (0.6, 260, 360) ;
756  //else
757  ana->GetFiducialCut()->SetSimpleCTSFiducialCut (0.6, 0, 360) ;
758  }
759 
760  // Branch AOD settings
761 
762  ana->SetInputAODName(Form("%sTrigger_%s",particle.Data(),kAnaCaloTrackCorr.Data()));
763  ana->SetAODObjArrayName(Form("IC%sTrigger_%s_R%1.1f_ThMin%1.1f",particle.Data(),kAnaCaloTrackCorr.Data(),cone,pth));
764 
765  //
766  // Do settings for main isolation cut class
767  //
768  AliIsolationCut * ic = ana->GetIsolationCut();
769  ic->SetDebug(debug);
770  ic->SetParticleTypeInCone(partInCone);
771  ic->SetICMethod(thresType);
772  ic->SetPtFraction(0.1);
773  ic->SetPtThreshold(0.5); // default, change in next lines
774  ic->SetSumPtThreshold(1.0); // default, change in next lines
775 
776  if(cone > 0 && pth > 0)
777  {
778  ic->SetConeSize(cone);
779  ic->SetMinDistToTrigger(coneMin);
780  ic->SetPtThresholdMax(10000);
781 
782  if(thresType == AliIsolationCut::kPtThresIC)
783  {
784  printf("ConfigureIsolationAnalysis() *** Iso *** PtThresMin = %1.1f GeV/c *** R = %1.2f *** R min %1.2f\n",pth,cone,coneMin);
785  ic->SetPtThreshold(pth);
786  }
787 
788  if(thresType == AliIsolationCut::kSumPtIC)
789  {
790  printf("ConfigureIsolationAnalysis() *** Iso *** SumPtMin = %1.1f GeV/c *** R = %1.1f *** R min %1.2f\n",pth,cone,coneMin);
791  ic->SetSumPtThreshold(pth);
792  }
793  }
794  else
795  {
796  if(col=="pp")
797  {
798  ic->SetPtThreshold(0.5);
799  ic->SetSumPtThreshold(1.0) ;
800  ic->SetConeSize(0.4);
801  ic->SetMinDistToTrigger(-1);
802  }
803  if(col=="PbPb")
804  {
805  ic->SetPtThreshold(3.);
806  ic->SetSumPtThreshold(3.0) ;
807  ic->SetConeSize(0.3);
808  ic->SetMinDistToTrigger(-1);
809  }
810  }
811 
812 
813  // Do or not do isolation with previously produced AODs.
814  // No effect if use of SwitchOnSeveralIsolation()
815  ana->SwitchOffReIsolation();
816 
817  // Multiple IC
818  if(multi)
819  {
820  ic->SetConeSize(1.); // Take all for first iteration
821  ic->SetPtThreshold(100);// Take all for first iteration
822  ic->SetMinDistToTrigger(-1);
823 
824  ana->SwitchOnSeveralIsolation() ;
825  //ana->SetAODObjArrayName(Form("MultiIC%sTM%d",particle.Data(),tm));
826  ana->SetAODObjArrayName(Form("MultiIC%s",particle.Data()));
827 
828  ana->SetNCones(3);
829  ana->SetNPtThresFrac(2);
830  ana->SetConeSizes(0,0.3); ana->SetConeSizes(1,0.4); ana->SetConeSizes(2,0.5);
831  ana->SetPtThresholds(0, 0.5); ana->SetPtThresholds(1, 1); ana->SetPtThresholds(2, 1.5); ana->SetPtThresholds(3, 2);
832  ana->SetPtFractions (0, 0.05) ; ana->SetPtFractions (1, 0.1); ana->SetPtFractions (2, 0.2) ; ana->SetPtFractions (3, 0.3) ;
833  ana->SetSumPtThresholds(0, 0.5) ; ana->SetSumPtThresholds(1, 1) ; ana->SetSumPtThresholds(2, 1.5); ana->SetSumPtThresholds(3, 2) ;
834  //ana->SetPtThresholds(0, 0.5);
835 
836  ana->SwitchOffTMHistoFill();
837  ana->SwitchOffSSHistoFill();
838  }
839  else
841 
842  AliCaloPID* caloPID = ana->GetCaloPID();
843 
844  // Track matching
845  // tm = 1, fixed cuts
846  caloPID->SetEMCALDEtaCut(0.025);
847  caloPID->SetEMCALDPhiCut(0.030);
848 
849  // pT track dependent cuts
850  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
851 
852  //Set Histograms name tag, bins and ranges
853 
854 // if(!multi) ana->AddToHistogramsName(Form("AnaIsol%s_TM%d_" ,particle.Data(),tm));
855 // else ana->AddToHistogramsName(Form("AnaMultiIsol%s_TM%d_",particle.Data(),tm));
856  if(!multi) ana->AddToHistogramsName(Form("AnaIsol%s_" ,particle.Data()));
857  else ana->AddToHistogramsName(Form("AnaMultiIsol%s_",particle.Data()));
858 
859  SetAnalysisCommonParameters(ana,histoString, calorimeter,year,col,simulation,printSettings,debug); // see method below
860 
861  if(particle=="Hadron" || particle.Contains("CTS"))
862  {
863  ana->GetHistogramRanges()->SetHistoPhiRangeAndNBins(0, TMath::TwoPi(), 200) ;
864  ana->GetHistogramRanges()->SetHistoEtaRangeAndNBins(-1.5, 1.5, 300) ;
865  }
866 
867  if(printSettings) ic ->Print("");
868 
869  return ana;
870 }
871 
894  Bool_t bIsolated, Float_t shshMax,
895  Int_t partInCone, Int_t thresType,
896  Float_t cone, Float_t coneMin,
897  Float_t pth, Bool_t mixOn,
898  TString col, Bool_t simulation,
899  TString calorimeter, Int_t year, Int_t tm,
900  Bool_t printSettings, Int_t debug,
901  TString histoString )
902 {
904 
905  ana->SetTriggerPtRange(5,100);
906  ana->SetAssociatedPtRange(0.2,100);
907  ana->SetDeltaPhiCutRange (TMath::DegToRad()*120.,TMath::DegToRad()*240.);
908 
909  // Underlying event
910  ana->SetUeDeltaPhiCutRange(TMath::DegToRad()*60. ,TMath::DegToRad()*120.);
912 
913  ana->SwitchOffAbsoluteLeading(); // Select trigger leading particle of all the selected tracks
914  ana->SwitchOffNearSideLeading(); // Select trigger leading particle of all the particles at +-90 degrees, default
916 
917  if(leading > 0 && leading < 3 ) ana->SwitchOnAbsoluteLeading();
918  if(leading > 2 ) ana->SwitchOnNearSideLeading();
919  if(leading == 2 || leading == 4 ) ana->SwitchOnCheckNeutralClustersForLeading();
920 
924 
926 
928 
929  if(particle.Contains("Photon"))
930  {
931  if(kAnaCutsString.Contains("Decay"))
932  {
933  printf("ConfigureHadronCorrelationAnalysis() *** Activate analysis on Tagged clusters as Decay product >> \n");
935  ana->SetNDecayBits(5);
937  if ( kAnaCutsString.Contains("Bkg") && !bIsolated )
939  }
940 
941  //printf("ConfigureHadronCorrelationAnalysis() *** SET M02 limits in correlation task *** \n");
942  ana->SetM02Cut(0.10,shshMax);
943  }
944 
945  if ( kAnaCutsString.Contains("PerSM") )
947 
948  if ( kAnaCutsString.Contains("PerTCard") )
950 
951  ana->SetMCGenType(0,7); // Change to higher to include Tagged decays
952 
953  ana->SwitchOffLeadHadronSelection(); // Open cuts, just fill histograms
955 
956  if ( kAnaCutsString.Contains("Bkg") && !bIsolated )
957  {
958  printf("ConfigureHadronCorrelationAnalysis() *** Activate analysis on PtTrig and Bkg bins,\n"
959  " \t make sure isolation runs first even if not used to select trigger >> \n");
961  }
962 
963  ana->SetLeadHadronPhiCut(TMath::DegToRad()*130, TMath::DegToRad()*230.);
964  ana->SetLeadHadronPtCut(0.5, 1000);
965 
966  // if triggering on PHOS and EMCAL is on
967  ana->SwitchOffNeutralCorr(); // Do only correlation with TPC
968  //ana->SetPi0AODBranchName("Pi0EMCAL_TrigEMC7_Cl_TM1");
969 
971 
973 
974  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
975 
976  ana->SetNAssocPtBins(8);
977  ana->SetAssocPtBinLimit(0, 1) ;
978  ana->SetAssocPtBinLimit(1, 2) ;
979  ana->SetAssocPtBinLimit(2, 3) ;
980  ana->SetAssocPtBinLimit(3, 4) ;
981  ana->SetAssocPtBinLimit(4, 5) ;
982  ana->SetAssocPtBinLimit(5, 8) ;
983  ana->SetAssocPtBinLimit(6, 10) ;
984  ana->SetAssocPtBinLimit(7, 100);
985 
986  ana->SelectIsolated(bIsolated); // do correlation with isolated photons
987 
988  // Mixing with own pool
989  if(mixOn)
990  {
991  ana->SwitchOnOwnMix();
993 
994  if(bIsolated)
995  {
996  //Do settings for main isolation cut class
997  AliIsolationCut * ic = ana->GetIsolationCut();
998  ic->SetDebug(debug);
999 
1000  if(cone >0 && pth > 0)
1001  {
1002  //printf("ConfigureHadronCorrelationAnalysis() *** PtThres = %1.1f GeV/c *** R = %1.1f *** R min = %1.2f\n",pth,cone,coneMin);
1003  ic->SetPtThreshold(pth);
1004  ic->SetConeSize(cone);
1005  ic->SetMinDistToTrigger(coneMin);
1006  }
1007  else
1008  {
1009  if(col=="pp")
1010  {
1011  ic->SetPtThreshold(0.5);
1012  ic->SetConeSize(0.4);
1013  ic->SetMinDistToTrigger(-1);
1014  }
1015  if(col=="PbPb")
1016  {
1017  ic->SetPtThreshold(3.);
1018  //ic->SetPtThreshold(1.);
1019  ic->SetConeSize(0.3);
1020  ic->SetMinDistToTrigger(-1);
1021  }
1022  }
1023 
1024  ic->SetPtFraction(0.1);
1025  ic->SetSumPtThreshold(1.0) ;
1026  ic->SetParticleTypeInCone(partInCone);
1027  ic->SetICMethod(thresType);
1028  }
1029  }
1030  else
1031  ana->SwitchOffOwnMix();
1032 
1033  ana->SetNZvertBin(20);
1034 
1035  if(col=="pp")
1036  {
1037  ana->SetNMaxEvMix(100);
1038  ana->SwitchOnTrackMultBins();
1039  ana->SetNTrackMultBin(10);
1040  ana->SetNRPBin(1);
1041  }
1042  else
1043  {
1044  ana->SetNMaxEvMix(10);
1045  ana->SwitchOffTrackMultBins(); // centrality bins
1046  ana->SetNCentrBin(12);
1047  ana->SetNRPBin(3);
1048  if(kAnaCaloTrackCorr.Contains("60_90"))
1049  {
1050  //printf("ConfigureHadronCorrelationAnalysis() *** Set mixing for peripheral ***\n");
1051  ana->SetNMaxEvMix(50);
1052  ana->SetNCentrBin(2);
1053  }
1054  }
1055 
1056  // Avoid borders of calorimeter, same as for isolation
1057  //
1058  ana->SwitchOnFiducialCut();
1059  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 86, 174) ;
1060  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 266, 314) ;
1061  else if ( calorimeter == "PHOS" ) ana->GetFiducialCut()->SetSimplePHOSFiducialCut (0.10, 266, 314) ;
1062 
1063  // Track matching, in case of mixing and specially in isolation case
1064  //
1065  AliCaloPID* caloPID = ana->GetCaloPID();
1066  // tm = 1, fixed cuts
1067  caloPID->SetEMCALDEtaCut(0.025);
1068  caloPID->SetEMCALDPhiCut(0.030);
1069 
1070  // pT track dependent cuts
1071  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
1072 
1073  // Input / output delta AOD settings
1074  //
1075  ana->SetInputAODName(Form("%sTrigger_%s",particle.Data(),kAnaCaloTrackCorr.Data()));
1076  ana->SetAODObjArrayName(Form("%sHadronCorrIso%dTrigger_%s",particle.Data(),bIsolated,kAnaCaloTrackCorr.Data()));
1077  //ana->SetAODNamepTInConeHisto(Form("IC%s_%s_R%1.1f_ThMin%1.1f" ,particle.Data(),kAnaCaloTrackCorr.Data(),cone,pth));
1078 
1079  //Set Histograms name tag, bins and ranges
1080  //
1081  //ana->AddToHistogramsName(Form("Ana%sHadronCorr_Iso%d_TM%d_",particle.Data(),bIsolated,tm));
1082  ana->AddToHistogramsName(Form("Ana%sHadronCorr_Iso%d_",particle.Data(),bIsolated));
1083 
1084  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1085 
1086  if(particle=="Hadron" || particle.Contains("CTS"))
1087  {
1088  ana->GetHistogramRanges()->SetHistoPhiRangeAndNBins(0, TMath::TwoPi(), 200) ;
1089  ana->GetHistogramRanges()->SetHistoEtaRangeAndNBins(-1.5, 1.5, 300) ;
1090  }
1091 
1092  return ana;
1093 }
1094 
1104 ( Bool_t simulation, Bool_t printSettings, Int_t debug, TString histoString )
1105 {
1107 
1108  ana->SetDebug(debug);
1109 
1110  // selection cuts
1111 
1112  ana->SetMinPt(0.2);
1113  ana->SwitchOnFiducialCut();
1114  ana->GetFiducialCut()->SetSimpleCTSFiducialCut(0.8, 0, 360) ; //more restrictive cut in reader and after in isolation
1115 
1117 
1120 
1121  // Branch AOD settings
1122 
1123  ana->SetOutputAODName(Form("HadronTrigger_%s",kAnaCaloTrackCorr.Data()));
1124  ana->SetOutputAODClassName("AliCaloTrackParticle"); // use if no correlation done
1125 
1126  //Set Histograms name tag, bins and ranges
1127 
1128  ana->AddToHistogramsName("AnaHadrons_");
1129 
1130  SetAnalysisCommonParameters(ana,histoString,"CTS",2012,"pp",simulation,printSettings,debug); // see method below
1131 
1132  return ana;
1133 }
1134 
1148 (Int_t tm, TString col , Bool_t simulation,
1149  TString calorimeter, Int_t year,
1150  Bool_t printSettings, Int_t debug, TString histoString )
1151 {
1153 
1154  ana->SetM02Min(-1);
1155  ana->SetNCellsPerClusterMin(-1);
1156 
1157  ana->SetCalorimeter(calorimeter);
1158  if(calorimeter == "DCAL")
1159  {
1160  TString calo = "EMCAL";
1161  ana->SetCalorimeter(calo);
1162  }
1163 
1164  if(simulation) ana->SetConstantTimeShift(615);
1165 
1166  ana->SwitchOffFiducialCut();
1167 
1169 
1171 
1173 
1174  ana->SwitchOffStudyMatchedPID() ;
1175 
1176  ana->SwitchOffStudyWeight();
1177 
1178  ana->SetNCellBinLimits(-1); // no analysis on predefined bins in nCell
1179 
1181  ana->SwitchOffStudyExotic();
1184  ana->SwitchOffStudyCellTime() ;
1185 
1186  // PID cuts (Track-matching)
1187  ana->SwitchOnCaloPID(); // do PID selection, unless specified in GetCaloPID, selection not based on bayesian
1188  AliCaloPID* caloPID = ana->GetCaloPID();
1189 
1190  if(tm > 1)
1191  {
1192  // track pT dependent cut
1194 
1195  // Begining of histograms name
1196  ana->AddToHistogramsName("Shape_TMDep_");
1197  }
1198  else if ( tm )
1199  {
1200  // Fix
1202  caloPID->SetEMCALDEtaCut(0.025);
1203  caloPID->SetEMCALDPhiCut(0.030);
1204 
1205  // Begining of histograms name
1206  ana->AddToHistogramsName("Shape_TMFix_");
1207  }
1208 
1209  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1210 
1211  AliHistogramRanges* histoRanges = ana->GetHistogramRanges();
1212  histoRanges->SetHistoPtRangeAndNBins(0, 50, 100) ; // Reduce a bit size
1213 
1214  return ana;
1215 }
1216 
1229  TString calorimeter, Int_t year,
1230  Bool_t printSettings, Int_t debug,
1231  TString histoString )
1232 {
1234 
1235  ana->SetCalorimeter(calorimeter);
1236  if(calorimeter == "DCAL")
1237  {
1238  TString calo = "EMCAL";
1239  ana->SetCalorimeter(calo);
1240  }
1241 
1242  ana->SetTimeCut(-1e10,1e10); // Open time cut
1243 
1244  ana->SwitchOffCorrelation(); // make sure you switch in the reader PHOS and EMCAL cells and clusters if option is ON
1245 
1247 
1248  ana->SwitchOffFiducialCut();
1252  ana->SwitchOffStudyBadClusters() ;
1254 
1256 
1257  ana->AddToHistogramsName("QA_"); // Begining of histograms name
1258 
1259  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1260 
1261  return ana;
1262 }
1263 
1280  Float_t cone, Float_t coneMin,
1281  TString col, Bool_t simulation,
1282  TString calorimeter, Int_t year,
1283  Bool_t printSettings, Int_t debug,
1284  TString histoString )
1285 {
1287 
1288  // Trigger detector, acceptance and pT cut
1289  ana->SetTriggerDetector(calorimeter);
1290  if(calorimeter == "DCAL")
1291  {
1292  TString calo = "EMCAL";
1293  ana->SetTriggerDetector(calo);
1294  }
1295 
1296  ana->SetMinPt(2); // Trigger photon, pi0 minimum pT
1297  if ( calorimeter == "EMCAL" ) ana->GetFiducialCutForTrigger()->SetSimpleEMCALFiducialCut(0.60, 86, 174) ;
1298  else if ( calorimeter == "DCAL" ) ana->GetFiducialCutForTrigger()->SetSimpleEMCALFiducialCut(0.60, 266, 314) ;
1299  else if ( calorimeter == "PHOS" ) ana->GetFiducialCutForTrigger()->SetSimplePHOSFiducialCut (0.10, 266, 314) ;
1300 
1301  // Particles associated to trigger or isolation cone acceptance and pT cut
1302  ana->SetCalorimeter(calorimeter);
1303  if(calorimeter == "DCAL")
1304  {
1305  TString calo = "EMCAL";
1306  ana->SetCalorimeter(calo);
1307  }
1308 
1309  ana->SetMinChargedPt(0.2);
1310  ana->SetMinNeutralPt(0.3);
1311 
1312  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.70, 80, 174) ;
1313  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.70, 260, 327) ;
1314  else if ( calorimeter == "PHOS" ) ana->GetFiducialCut()->SetSimplePHOSFiducialCut (0.12, 250, 320) ;
1315  ana->GetFiducialCut()->SetSimpleCTSFiducialCut(0.9, 0, 360);
1316 
1317  // Isolation paramters
1318  AliIsolationCut * ic = ana->GetIsolationCut();
1319  ic->SetDebug(debug);
1320  ic->SetPtThreshold(pth);
1321  ic->SetConeSize(cone);
1322  ic->SetMinDistToTrigger(coneMin);
1323  ic->SetSumPtThreshold(1.0) ;
1324  ic->SetICMethod(thresType);
1325 
1326  ana->AddToHistogramsName("AnaGenKine_");
1327 
1328  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1329 
1330  return ana;
1331 }
1332 
1359  TList* anaList = 0x0,
1360  TString calorimeter = "EMCAL", // "DCAL", "PHOS"
1361  Bool_t simulation = kFALSE,
1362  Int_t year = 2011,
1363  TString col = "pp",
1364  TString analysisString= "Photon_MergedPi0_DecayPi0_Isolation_Correlation_QA_Charged",
1365  TString histoString = "",
1366  Float_t shshMax = 0.27,
1367  Float_t isoCone = 0.4,
1368  Float_t isoConeMin = -1,
1369  Float_t isoPtTh = 2,
1370  Int_t isoMethod = AliIsolationCut::kSumPtIC,
1372  Int_t leading = 0,
1373  Int_t tm = 2,
1374  Bool_t mixOn = kTRUE,
1375  Bool_t printSettings = kFALSE,
1376  Int_t debug = 0
1377 )
1378 {
1379  if ( !anaList )
1380  {
1381  printf("ConfigureCaloTrackCorrAnalysis() << No analysis list passed. Stop >>\n");
1382  return;
1383  }
1384 
1385  // Check the passed variables
1386  //
1387  printf("ConfigureCaloTrackCorrAnalysis() << Settings: Base string <%s>, Analysis string <%s>, "
1388  "\n calorimeter <%s>, simulation <%d>, year <%d>, col <%s>, "
1389  "\n shshMax <%2.2f>, R <%1.2f>, Rmin <%1.2f>, isoPtTh <%2.2f>, isoMethod <%d>,isoContent <%d>,"
1390  "\n leading <%d>, tm <%d>, mixOn <%d>, printSettings <%d>, debug <%d>\n",
1391  anaList->GetName(), analysisString.Data(),
1392  calorimeter.Data(), simulation, year, col.Data(),
1393  shshMax,isoCone,isoConeMin,isoPtTh,isoMethod,isoContent,
1394  leading,tm,mixOn,printSettings,debug);
1395 
1396  kAnaCutsString = analysisString;
1397 
1398  kAnaCaloTrackCorr = Form("%s",anaList->GetName());
1399 
1400  if ( analysisString.Contains("Isolation") )
1401  kAnaCaloTrackCorr+= Form("_Iso_Meth%d_Part%d_Pt%1.2f_R%1.2f",isoMethod,isoContent,isoPtTh,isoCone);
1402  if ( analysisString.Contains("Corr") && analysisString.Contains("Photon") && shshMax > 0)
1403  kAnaCaloTrackCorr+= Form("_CorrM02_%1.2f",shshMax);
1404 
1405  if ( isoConeMin > 0 ) kAnaCaloTrackCorr+=Form("_Rmin%1.2f",isoConeMin);
1406  if ( leading > 0 ) kAnaCaloTrackCorr+=Form("_Lead%d" ,leading);
1407  if ( tm > 0 ) kAnaCaloTrackCorr+=Form("_TM%d" ,tm);
1408 
1409  printf("ConfigureCaloTrackCorrAnalysis() <<<< TMP branch internal NAME: %s >>>>>\n",kAnaCaloTrackCorr.Data());
1410 
1411  // #### Configure analysis ####
1412 
1413 
1414  Int_t n = anaList->GetEntries();//Analysis number, order is important
1415 
1416  //
1417  // Photon analysis
1418  //
1419  if ( analysisString.Contains("Photon") )
1420  {
1421  anaList->AddAt(ConfigurePhotonAnalysis
1422  (col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Photon cluster selection
1423 
1424  if ( analysisString.Contains("InvMass") )
1425  anaList->AddAt(ConfigureInvariantMassAnalysis
1426  (col,simulation,calorimeter,/*bothCalo*/kFALSE,
1427  year,/*mix*/kTRUE,printSettings,debug,histoString), n++);
1428 
1429  if ( analysisString.Contains("DecayPi0") )
1430  {
1431  anaList->AddAt(ConfigurePi0EbEAnalysis
1432  ("Pi0" , AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1433  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 event by event selection, invariant mass and photon tagging from decay
1434 
1435  anaList->AddAt(ConfigurePi0EbEAnalysis
1436  ("Eta" , AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1437  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Eta event by event selection, invariant mass and photon tagging from decay
1438 
1439  anaList->AddAt(ConfigurePi0EbEAnalysis
1440  ("Pi0SideBand", AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1441  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 out of peak event by event selection, and photon tagging from decay
1442 
1443  anaList->AddAt(ConfigurePi0EbEAnalysis
1444  ("EtaSideBand", AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1445  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Eta out of peak event by event selection, and photon tagging from decay
1446  }
1447 
1448  if ( analysisString.Contains("Isolation") )
1449  {
1450  anaList->AddAt(ConfigureIsolationAnalysis
1451  ("Photon", leading, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, kFALSE,
1452  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Photon isolation
1453 
1454  }
1455 
1456  if( analysisString.Contains("Correlation") )
1457  {
1458  if ( !analysisString.Contains("MultiIso") )
1459  {
1460  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1461  ("Photon", leading, kFALSE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1462  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Gamma-hadron correlation
1463  }
1464 
1465  if ( analysisString.Contains("Isolation") )
1466  {
1467  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1468  ("Photon", leading, kTRUE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1469  col,simulation,calorimeter,year,tm,printSettings,debug,histoString) , n++); // Isolated gamma hadron correlation
1470  }
1471  } // correlation
1472  }
1473 
1474  //
1475  // Merged pi0 analysis
1476  //
1477  if ( analysisString.Contains("MergedPi0") )
1478  {
1479  anaList->AddAt(ConfigurePi0EbEAnalysis
1480  ("Pi0", AliAnaPi0EbE::kSSCalo,kTRUE,kTRUE,
1481  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 event by event selection, cluster splitting
1482  if ( analysisString.Contains("Isolation") )
1483  {
1484  anaList->AddAt(ConfigureIsolationAnalysis
1485  ("Pi0SS", leading, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, kFALSE,
1486  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 isolation, cluster splits
1487 
1488  }
1489 
1490  if( analysisString.Contains("Correlation") )
1491  {
1492  if ( !analysisString.Contains("MultiIso") )
1493  {
1494  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1495  ("Pi0SS", leading, kFALSE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1496  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0-hadron correlation
1497  }
1498 
1499  if ( analysisString.Contains("Isolation") )
1500  {
1501  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1502  ("Pi0SS", leading, kTRUE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1503  col,simulation,calorimeter,year,tm,printSettings,debug,histoString) , n++); // Isolated pi0-hadron correlation
1504  }
1505  } // correlation
1506  }
1507 
1508  // Check the generated kinematics
1509  if(simulation && analysisString.Contains("Generator"))
1510  {
1511  anaList->AddAt(ConfigureGenKineAnalysis
1512  (isoMethod,isoPtTh,isoCone,isoConeMin,
1513  col,simulation,calorimeter,year,printSettings,debug,histoString), n++);
1514  }
1515 
1516  // Charged analysis
1517  if ( analysisString.Contains("Charged") )
1518  {
1519  anaList->AddAt(ConfigureChargedAnalysis(simulation,printSettings,debug,histoString), n++); // track selection checks
1520  }
1521 
1522  // Cluster Shape studies
1523  if ( analysisString.Contains("ClusterShape") )
1524  {
1525  anaList->AddAt(ConfigureClusterShape(tm,col,simulation,calorimeter,year,printSettings,debug,histoString) , n++);
1526  }
1527 
1528  // Calo QA
1529  if ( analysisString.Contains("QA") )
1530  {
1531  anaList->AddAt(ConfigureQAAnalysis(col,simulation,calorimeter,year,printSettings,debug,histoString) , n++);
1532  }
1533 
1534  printf("ConfigureCaloTrackCorrAnalysis() << End configuration for %s with total analysis %d>>\n",
1535  kAnaCaloTrackCorr.Data(), n);
1536 }
1537 
1538 
1539 
void SetSumPtThresholds(Int_t i, Float_t pt)
void SwitchOffSelectedClusterHistoFill()
Definition: AliAnaPi0EbE.h:112
void SetPtThreshold(Float_t pt)
void ConfigureCaloTrackCorrAnalysis(TList *anaList=0x0, TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=2011, TString col="pp", TString analysisString="Photon_MergedPi0_DecayPi0_Isolation_Correlation_QA_Charged", TString histoString="", Float_t shshMax=0.27, Float_t isoCone=0.4, Float_t isoConeMin=-1, Float_t isoPtTh=2, Int_t isoMethod=AliIsolationCut::kSumPtIC, Int_t isoContent=AliIsolationCut::kNeutralAndCharged, Int_t leading=0, Int_t tm=2, Bool_t mixOn=kTRUE, Bool_t printSettings=kFALSE, Int_t debug=0)
void SetHistoTrackMultiplicityRangeAndNBins(Int_t min, Int_t max, Int_t n)
TString kAnaCaloTrackCorr
Global name to be composed of the settings, used to set the AOD branch name.
void SetAngleCut(Float_t a)
Definition: AliAnaPi0.h:77
void SwitchOnPairWithOtherDetector()
Definition: AliAnaPi0.h:151
void SwitchOnFillOriginHisto()
Definition: AliAnaPi0.h:135
void SetTimeCut(Double_t min, Double_t max)
void ana(Int_t mode=mGRID)
Definition: ana.C:162
void SetSimpleCTSFiducialCut(Float_t abseta, Float_t phimin, Float_t phimax)
void SetHistoMassRangeAndNBins(Float_t min, Float_t max, Int_t n)
virtual void AddToHistogramsName(TString add)
TString kAnaCutsString
Global name to be composed of the analysis components chain and some internal settings.
void SwitchOnFillAllTrackMatchingHistogram()
void SetSplitWidthSigma(Float_t s)
Definition: AliCaloPID.h:283
const int debug
Definition: scanAll.C:15
void SwitchOnTrackMatchRejection()
Definition: AliAnaPhoton.h:134
void SetHistoXRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetClusterSplittingM02Cut(Float_t min=0, Float_t max=100)
Definition: AliCaloPID.h:264
void SwitchOnSplitShowerShapeCut()
Definition: AliCaloPID.h:260
void SwitchOnTMHistoFill()
Definition: AliAnaPhoton.h:96
void SetAssociatedPtRange(Float_t min, Float_t max)
Class with utils to perform Isolation Cuts.
AliAnaGeneratorKine * ConfigureGenKineAnalysis(Int_t thresType, Float_t pth, Float_t cone, Float_t coneMin, TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString)
void SetNPIDBits(Int_t s)
Definition: AliAnaPi0.h:119
void SetConeSize(Float_t r)
void SetPtFraction(Float_t pt)
void SwitchOnSelectPairInIsolationCone()
Definition: AliAnaPi0EbE.h:127
void SetTimeCut(Double_t min, Double_t max)
Definition: AliAnaPi0EbE.h:142
void FillNPrimaryHistograms(Int_t n)
Definition: AliAnaPhoton.h:145
void SwitchOffSplitShowerShapeCut()
Definition: AliCaloPID.h:261
void SetClusterSplittingMinNCells(Int_t c)
Definition: AliCaloPID.h:267
void SetHistoPtRangeAndNBins(Float_t min, Float_t max, Int_t n)
Selected photon clusters invariant mass analysis.
Definition: AliAnaPi0.h:39
void SetDebug(Int_t d)
void SetMinChargedPt(Float_t pt)
virtual void SetInputAODName(TString name)
void SetM02CutForInvMass(Float_t min=0, Float_t max=10)
Definition: AliAnaPi0EbE.h:117
virtual AliIsolationCut * GetIsolationCut()
void SwitchOnSMCombinations()
Definition: AliAnaPi0.h:90
void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3)
Definition: AliAnaPhoton.h:117
void SetInvMassCutRange(Double_t invmassmin, Double_t invmassmax)
void KeepNeutralMesonSelectionHistos(Bool_t keep)
void SetTriggerDetector(TString det)
Set the calorimeter for the analysis.
void SetSimpleEMCALFiducialCut(Float_t abseta, Float_t phimin, Float_t phimax)
void SwitchOnAngleSelection()
Definition: AliAnaPi0.h:71
virtual void SetOutputAODClassName(TString name)
void SwitchOnTMTrackPtHistoFill()
Definition: AliAnaPhoton.h:99
void SwitchOffFillShowerShapeHistograms()
Definition: AliAnaPhoton.h:74
virtual AliNeutralMesonSelection * GetNeutralMesonSelection()
void SetSumPtThreshold(Float_t s)
void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3)
Definition: AliAnaPi0EbE.h:133
void SwitchOffMultipleCutAnalysis()
Definition: AliAnaPi0.h:111
Class for the Calorimeter QA analysis.
void SwitchOnFillShowerShapeHistogramsPerSM()
Definition: AliAnaPhoton.h:79
void SetHistodRRangeAndNBins(Float_t min, Float_t max, Int_t n)
Get trigger particles/partons/jets and correlations at generator level.
void SwitchOffSplitAsymmetryCut()
Definition: AliCaloPID.h:257
void SetAnalysisType(anaTypes ana)
Definition: AliAnaPi0EbE.h:92
void SwitchOffTMHistoFill()
Definition: AliAnaPi0EbE.h:109
AliAnaCalorimeterQA * ConfigureQAAnalysis(TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString)
void SetNCellCut(Int_t n)
Definition: AliAnaPhoton.h:125
AliAnaPi0 * ConfigureInvariantMassAnalysis(TString col, Bool_t simulation, TString calorimeter, Bool_t bothCalo, Int_t year, Bool_t mixOn, Bool_t printSettings, Int_t debug, TString histoString)
Select cluster pairs or single merged clusters with pi0 or eta invariant mass.
Definition: AliAnaPi0EbE.h:30
AliAnaPhoton * ConfigurePhotonAnalysis(TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
void SetSimplePHOSFiducialCut(Float_t abseta, Float_t phimin, Float_t phimax)
AliAnaChargedParticles * ConfigureChargedAnalysis(Bool_t simulation, Bool_t printSettings, Int_t debug, TString histoString)
void SetPtFractions(Int_t i, Float_t pt)
void SetAngleMaxCut(Float_t a)
Definition: AliAnaPi0.h:78
2 calorimeter clusters invariant mass selection
Definition: AliAnaPi0EbE.h:86
const TString calorimeter
Definition: anaM.C:36
void SetHistoTrackResidualEtaRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetIsolationCandidateMinPt(Float_t min)
Definition: AliAnaPi0EbE.h:122
void SetAnalysisCommonParameters(AliAnaCaloTrackCorrBaseClass *ana, TString histoString, TString calorimeter, Int_t year, TString col, Bool_t simulation, Bool_t printSettings, Int_t debug)
void SetPHOSRCut(Float_t rcut)
Definition: AliCaloPID.h:213
void SetEMCALDPhiCut(Float_t dcut)
Definition: AliCaloPID.h:221
void SetLeadHadronPtCut(Float_t min, Float_t max)
virtual void SetOutputAODName(TString name)
void SetICMethod(Int_t i)
void SwitchOnFillAngleHisto()
Definition: AliAnaPi0.h:80
void SetR(Float_t r)
Definition: AliAnaPi0EbE.h:121
virtual void SetCalorimeter(TString calo)
Set the calorimeter for the analysis. A string.
Correlate trigger particles (photon, pi0, tracks) and charged tracks: Azimuthal correlations, xE distributions.
virtual void SetNTrackMultBin(Int_t n=1)
Number of bins in centrality.
void DoEMCALFiducialCut(Bool_t b)
Base class for CaloTrackCorr analysis algorithms.
void SwitchOffTrackMatchRejection()
Definition: AliAnaPhoton.h:135
void SetDeltaPhiCutRange(Double_t phimin, Double_t phimax)
void SetUeDeltaPhiCutRange(Double_t uephimin, Double_t uephimax)
1 calorimeter cluster and 1 photon conversion pair invariant mass selection
Definition: AliAnaPi0EbE.h:88
void SetHistoPtInConeRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoPOverERangeAndNBins(Float_t min, Float_t max, Int_t n)
virtual AliFiducialCut * GetFiducialCut()
void SetHistoPhiRangeAndNBins(Float_t min, Float_t max, Int_t n)
int Int_t
Definition: External.C:63
void SetSideBandCutRanges(Double_t lmin, Double_t lmax, Double_t rmin, Double_t rmax)
virtual AliHistogramRanges * GetHistogramRanges()
void SwitchOnSplitAsymmetryCut()
Definition: AliCaloPID.h:256
void SetHistoPtSumRangeAndNBins(Float_t min, Float_t max, Int_t n)
float Float_t
Definition: External.C:68
Filter EMCal/PHOS clusters for photon analysis.
Definition: AliAnaPhoton.h:33
void SetHistoTrackResidualPhiRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetConeSizes(Int_t i, Float_t r)
Class for cluster shape, cell T-Card correlation and exoticity.
void SwitchOnSelectIsolatedDecay()
Definition: AliAnaPi0EbE.h:124
void SwitchOnUEBandSubtractionHistoFill(Int_t lev=1)
void SetM02Cut(Float_t min=0, Float_t max=10)
void SwitchOnSplitClusterDistToBad()
Definition: AliAnaPi0EbE.h:160
void SwitchOffTrackMatchRejection()
Definition: AliAnaPi0EbE.h:149
virtual void SetHistoERangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetInputAODGammaConvName(TString name)
Definition: AliAnaPi0EbE.h:98
void SetHistoNClusterCellRangeAndNBins(Int_t min, Int_t max, Int_t n)
void Print(const Option_t *opt) const
Print some relevant parameters set for the analysis.
Definition: AliAnaPi0.cxx:2614
void SetMinNeutralPt(Float_t pt)
anaTypes
Analysis types.
Definition: AliAnaPi0EbE.h:84
void SetParticle(TString particleName)
Set some default parameters for selection of pi0 or eta.
void Print(const Option_t *opt) const
Print some relevant parameters set for the analysis.
void SetHistoYRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetTimeCut(Double_t min, Double_t max)
Definition: AliAnaPhoton.h:120
AliAnaParticleIsolation * ConfigureIsolationAnalysis(TString particle, Int_t leading, Int_t partInCone, Int_t thresType, Float_t cone, Float_t coneMin, Float_t pth, Bool_t multi, TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
AliAnaClusterShapeCorrelStudies * ConfigureClusterShape(Int_t tm, TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString)
virtual TString GetAddedHistogramsStringToName() const
void SetPtThresholdMax(Float_t pt)
AliFiducialCut * GetFiducialCutForTrigger()
void SetEtaMassRange(Float_t min, Float_t max)
Definition: AliCaloPID.h:305
void SwitchOnTMHistoFill()
Definition: AliAnaPi0EbE.h:108
Bool_t Data(TH1F *h, Double_t *rangefit, Bool_t writefit, Double_t &sgn, Double_t &errsgn, Double_t &bkg, Double_t &errbkg, Double_t &sgnf, Double_t &errsgnf, Double_t &sigmafit, Int_t &status)
void SetPi0MassRange(Float_t min, Float_t max)
Definition: AliCaloPID.h:304
Class containing more common histogram axis types.
void SetEMCALLambda0CutMax(Float_t lcut)
Definition: AliCaloPID.h:202
void SwitchOnTrackMatchRejection()
Definition: AliAnaPi0EbE.h:148
virtual void SetNCentrBin(Int_t n=1)
Number of bins in reaction plain.
AliAnaPi0EbE * ConfigurePi0EbEAnalysis(TString particle, Int_t analysis, Bool_t useSSIso, Bool_t useAsy, TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
void SetNAsymCuts(Int_t s)
Definition: AliAnaPi0.h:117
virtual void SetNRPBin(Int_t n=1)
Number of bins for vertex position.
void SetPHOSDispersionCut(Float_t dcut)
Definition: AliCaloPID.h:208
void SetHistoNClustersRangeAndNBins(Int_t min, Int_t max, Int_t n)
void SetNLMCut(Int_t min, Int_t max)
Definition: AliAnaPi0EbE.h:100
Track selection for correlation analysis.
void SetMCGenType(Int_t min=0, Int_t max=6)
void SwitchOnFillShowerShapeHistograms()
Definition: AliAnaPhoton.h:73
Select clusters/tracks with low particle environment in their vecinity, isolated within a cone...
void SetHistoEtaRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SwitchOffFillWeightHistograms()
Definition: AliAnaPi0EbE.h:152
void SetHistoAsymmetryRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoV0MultiplicityRangeAndNBins(Int_t min, Int_t max, Int_t n)
void SwitchOnEMCTrackPtDepResMatching()
Definition: AliCaloPID.h:228
virtual void SetAODObjArrayName(TString name)
AliAnaParticleHadronCorrelation * ConfigureHadronCorrelationAnalysis(TString particle, Int_t leading, Bool_t bIsolated, Float_t shshMax, Int_t partInCone, Int_t thresType, Float_t cone, Float_t coneMin, Float_t pth, Bool_t mixOn, TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
void SetHistoZRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoV0SignalRangeAndNBins(Int_t min, Int_t max, Int_t n)
virtual void Print(const Option_t *) const
Print some relevant parameters set for the analysis.
Class that contains methods to select candidate cluster pairs to neutral meson.
void SetHistoTimeRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoFinePtRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetOtherDetectorInputName(TString name)
Definition: AliAnaPi0.h:153
void SetNAssocPtBins(Int_t n)
Set number of associated charged (neutral) hadrons pT bins.
Class for PID selection with calorimeters.
Definition: AliCaloPID.h:53
1 calorimeter cluster shower shape and split invariatn mass selection
Definition: AliAnaPi0EbE.h:87
void FillNOriginHistograms(Int_t n)
Definition: AliAnaPhoton.h:143
virtual void SetNMaxEvMix(Int_t n=20)
Number of bins in track multiplicity.
void SetNLMMinEnergy(Int_t i, Float_t min)
Definition: AliAnaPi0EbE.h:138
void SetHistoShowerShapeRangeAndNBins(Float_t min, Float_t max, Int_t n)
bool Bool_t
Definition: External.C:53
void SetLeadHadronPhiCut(Float_t min, Float_t max)
void SetHistodEdxRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SwitchOffEMCTrackPtDepResMatching()
Definition: AliCaloPID.h:229
void SetInvMassCutMaxParameters(Float_t a, Float_t b, Float_t c)
void SetHistoHBPRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetEMCALLambda0CutMin(Float_t lcut)
Definition: AliCaloPID.h:205
void SetHistoRRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetParticleTypeInCone(Int_t i)
void SetHistoVertexDistRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetSubClusterEnergyMinimum(Int_t i, Float_t min)
Definition: AliCaloPID.h:273
void SetHistoDiffTimeRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetEMCALDEtaCut(Float_t dcut)
Definition: AliCaloPID.h:218
void SetPhotonMassRange(Float_t min, Float_t max)
Definition: AliCaloPID.h:306
void SetPtThresholds(Int_t i, Float_t pt)
void SetHistoRatioRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SwitchOffAllNLMHistoFill()
Definition: AliAnaPi0EbE.h:106
void SetNLMCut(Int_t min, Int_t max)
Definition: AliAnaPhoton.h:128
void SetMinDistToTrigger(Float_t md)
void SetAssocPtBinLimit(Int_t ibin, Float_t pt)
Set the list of pT limits for the of associated charged (neutral) hadrons.
Int_t GetFirstSMCoveredByTRD() const
Time cut in ns.
void SetTriggerPtRange(Float_t min, Float_t max)