AliPhysics  2b88e80 (2b88e80)
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  //Set here generator name, default pythia
186  //ana->GetMCAnalysisUtils()->SetMCGenerator("");
187 
188  //
189  // Debug
190  //
191  if(printSettings) ana->Print("");
192 
193  ana->SetDebug(debug); // 10 for lots of messages
194 }
195 
210  TString calorimeter, Int_t year, Int_t tm,
211  Bool_t printSettings, Int_t debug,
212  TString histoString )
213 {
214  AliAnaPhoton *ana = new AliAnaPhoton();
215 
216  // cluster selection cuts
217 
219 
220  ana->SwitchOffFiducialCut();
221 
222  ana->SetCalorimeter(calorimeter);
223  if(calorimeter == "DCAL")
224  {
225  TString calo = "EMCAL";
226  ana->SetCalorimeter(calo);
227  }
228 
229  ana->SwitchOnFillShowerShapeHistograms(); // Filled before photon shower shape selection
230  if( kAnaCutsString.Contains("MultiIso") ) ana->SwitchOffFillShowerShapeHistograms();
231 
232  if ( kAnaCutsString.Contains("PerSM") )
234 
235  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
236 
237  if(tm) ana->SwitchOnTrackMatchRejection() ;
238  else ana->SwitchOffTrackMatchRejection() ;
239 
240  // Fill track matching histograms if track matching activated
241  // and only once in case of multiple analysis
242  if ( tm && !kAnaCutsString.Contains("MultiIso") )
243  {
244  ana->SwitchOnTMHistoFill() ;
245  if(tm > 1) ana->SwitchOnTMTrackPtHistoFill() ;
246  }
247 
248  if(calorimeter == "PHOS")
249  {
250  ana->SetNCellCut(2);// At least 3 cells
251  ana->SetMinPt(0.3);
252  ana->SetMinDistanceToBadChannel(2, 4, 5);
253  ana->SetTimeCut(-1e10,1e10); // open cut
254  }
255  else
256  {//EMCAL
257  ana->SetNCellCut(1);// At least 2 cells
258  ana->SetMinEnergy(0.3); // avoid mip peak at E = 260 MeV
259  ana->SetMaxEnergy(100);
260  ana->SetTimeCut(-1e10,1e10); // open cut, usual time window of [425-825] ns if time recalibration is off
261  // restrict to less than 100 ns when time calibration is on
262  ana->SetMinDistanceToBadChannel(2, 4, 6);
263 
264  // NLM cut, used in all, exclude clusters with more than 2 maxima
265  // Not needed if M02 cut is already strong or clusterizer V2
266  ana->SetNLMCut(1, 2) ;
267  }
268 
269  //PID cuts (shower shape)
270  ana->SwitchOnCaloPID(); // do PID selection, unless specified in GetCaloPID, selection not based on bayesian
271  AliCaloPID* caloPID = ana->GetCaloPID();
272  //Not used in bayesian
273 
274  // EMCAL
275 
276  //caloPID->SetEMCALLambda0CutMax(0.27);
277  caloPID->SetEMCALLambda0CutMax(10); // open, full shower shape needed for isolation studies
278  caloPID->SetEMCALLambda0CutMin(0.10);
279 
280  // Track matching
281  // tm = 1, fixed cuts
282  caloPID->SetEMCALDEtaCut(0.025);
283  caloPID->SetEMCALDPhiCut(0.030);
284 
285  // pT track dependent cuts
286  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
287 
288  // PHOS
289  caloPID->SetPHOSDispersionCut(2.5);
290  caloPID->SetPHOSRCut(2.);
291  //if(kInputData=="AOD") caloPID->SetPHOSRCut(2000.); // Open cut since dX, dZ not stored
292 
293  // Branch AOD settings
294  ana->SetOutputAODName(Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data()));
295  ana->SetOutputAODClassName("AliCaloTrackParticleCorrelation");
296 
297  //Set Histograms name tag, bins and ranges
298  //ana->AddToHistogramsName(Form("AnaPhoton_TM%d_",tm));
299  ana->AddToHistogramsName("AnaPhoton_");
300 
301  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug) ; // see method below
302 
303  if(ana->GetFirstSMCoveredByTRD() > 0)
304  printf("ConfigurePhotonAnalysis() >>> Set first SM covered by TRD, SM=%d <<< year %d \n", ana->GetFirstSMCoveredByTRD(),year);
305 
306  // Number of particle type MC histograms
307  ana->FillNOriginHistograms (17); // 18 max
308  ana->FillNPrimaryHistograms(6); // 6 max
309 
310  return ana;
311 }
312 
331  Bool_t useSSIso, Bool_t useAsy,
332  TString col, Bool_t simulation,
333  TString calorimeter, Int_t year, Int_t tm,
334  Bool_t printSettings, Int_t debug,
335  TString histoString )
336 {
337  // Configuration of pi0 event by event selection
338 
339  AliAnaPi0EbE *ana = new AliAnaPi0EbE();
340 
341  ana->SetDebug(debug);
342 
343  ana->SetAnalysisType((AliAnaPi0EbE::anaTypes)analysis);
344  TString opt = "";
345  if(analysis==AliAnaPi0EbE::kIMCaloTracks) opt = "Conv";
346  if(analysis==AliAnaPi0EbE::kSSCalo) opt = "SS";
347 
350 
352  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
353  //if(!kTime && !simulation) ana->SwitchOnFillEMCALBCHistograms();
354 
355  if(tm) ana->SwitchOnTrackMatchRejection() ;
356  else ana->SwitchOffTrackMatchRejection() ;
357 
358  if ( tm && !kAnaCutsString.Contains("Photon") && !kAnaCutsString.Contains("MultiIso") )
359  ana->SwitchOnTMHistoFill() ;
360  else
361  ana->SwitchOffTMHistoFill() ;
362 
363  ana->SetCalorimeter(calorimeter);
364  if(calorimeter == "DCAL")
365  {
366  TString calo = "EMCAL";
367  ana->SetCalorimeter(calo);
368  }
369 
370  // Branch AOD settings
371  ana->SetOutputAODName(Form("%s%sTrigger_%s",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
372  printf("ConfigurePi0EbEAnalysis() *** Out branch %s***\n",ana->GetOutputAODName().Data());
373  ana->SetOutputAODClassName("AliCaloTrackParticleCorrelation");
374 
375  if(analysis == AliAnaPi0EbE::kIMCaloTracks) ana->SetInputAODGammaConvName("PhotonsCTS");
376 
377  //Set Histograms name tag, bins and ranges
378 
379  //ana->AddToHistogramsName(Form("Ana%s%sEbE_TM%d_",particle.Data(),opt.Data(),tm));
380  ana->AddToHistogramsName(Form("Ana%s%sEbE_",particle.Data(),opt.Data()));
381 
382  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
383 
385  if(analysis!=AliAnaPi0EbE::kSSCalo)
386  {
387  ana->SetInputAODName(Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data()));
388 
389  ana->SetM02CutForInvMass(0.1,0.35); // Loose SS cut
390 
392  ana->SetR(0.4);
394 
395  if(useSSIso)
396  {
398  //ana->AddToHistogramsName(Form("Ana%s%sEbEIsoDecay_TM%d_",particle.Data(),opt.Data(),tm));
399  ana->AddToHistogramsName(Form("Ana%s%sEbEIsoDecay_",particle.Data(),opt.Data()));
400  ana->SetOutputAODName(Form("%s%sIsoDecayTrigger_%s",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
401  }
402 
403  if ( calorimeter.Contains("CAL") && !simulation ) ana->SetPairTimeCut(100);
404 
406  nms->SetParticle(particle);
407 
408  //****
409  nms->SetInvMassCutMaxParameters(0,0,0); // Overrule the setting in SetParticle for Pi0 option
410  //****
411 
412  // Tighten a bit mass cut with respect to default window
413  if(particle=="Pi0") nms->SetInvMassCutRange(0.110,0.160);
414  if(particle=="Eta") nms->SetInvMassCutRange(0.520,0.580);
415 
416  //if(!particle.Contains("SideBand")) nms->SwitchOnAngleSelection();
417  //else nms->SwitchOnAngleSelection();
418 
420 
421  if(particle.Contains("Pi0SideBand")) // For pi0, do not consider left band
422  nms->SetSideBandCutRanges(-1,0,0.190,0.240);
423 
424  if(particle.Contains("EtaSideBand")) // For pi0, do not consider left band
425  nms->SetSideBandCutRanges(0.410,0.470,0.620,0.680);
426 
428  //nms->SetAngleMaxParam(2,0.2);
429  nms->SetHistoERangeAndNBins(0, 20, 80) ;
430  //nms->SetHistoIMRangeAndNBins(0, 1, 400);
431  }
432  else
433  {
434  // cluster splitting settings
435  ana->SetMinEnergy(6);
436  ana->SetMaxEnergy(100.);
437 
438  ana->SetNLMMinEnergy(0, 10);
439  ana->SetNLMMinEnergy(1, 6);
440  ana->SetNLMMinEnergy(2, 6);
441 
442  // NLM cut, used in all, exclude clusters with more than 2 maxima
443  ana->SetNLMCut(1, 2) ;
444 
445  //
446  ana->SetMinDistanceToBadChannel(2, 4, 6);
448  ana->SetTimeCut(-1e10,1e10); // Open time cut
449 
450  AliCaloPID* caloPID = ana->GetCaloPID();
451 
452  // Track matching
453  // tm = 1, fixed cuts
454  caloPID->SetEMCALDEtaCut(0.025);
455  caloPID->SetEMCALDPhiCut(0.030);
456 
457  // pT track dependent cuts
458  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
459 
460  caloPID->SetSplitWidthSigma(3); // cut at 3 sigma of the mean pi0 peak.
461 
462  if(!useSSIso)
463  {
464  printf("ConfigurePi0EbEAnalysis() << Do not apply SS cut on merged pi0 analysis >> \n");
465  caloPID->SwitchOffSplitShowerShapeCut() ;
466  //ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_TM%d_",particle.Data(),opt.Data(),tm));
467  ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_",particle.Data(),opt.Data()));
468  ana->SetOutputAODName(Form("%s%sTrigger_%s_OpenSS",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
469  caloPID->SetClusterSplittingM02Cut(0.1,10);
470  }
471  else
472  {
473  caloPID->SetClusterSplittingM02Cut(0.3,4); // Do the selection in the analysis class and not in the PID method to fill SS histograms
474  caloPID->SwitchOnSplitShowerShapeCut() ;
475  }
476 
477  if(useAsy)
478  {
479  caloPID->SwitchOnSplitAsymmetryCut() ;
481  ana->GetCaloPID()->SetSubClusterEnergyMinimum(1,0.5);
482  ana->GetCaloPID()->SetSubClusterEnergyMinimum(2,0.5);
483  }
484  else
485  {
486  caloPID->SwitchOffSplitAsymmetryCut() ;
487  if(!useSSIso)
488  {
489  //ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_OpenAsy_TM%d_",particle.Data(),opt.Data(),tm));
490  ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenSS_OpenAsy_",particle.Data(),opt.Data()));
491  ana->SetOutputAODName(Form("%s%sTrigger_%s_OpenSS_OpenAsy",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
492  }
493  else
494  {
495  //ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenAsy_TM%d_",particle.Data(),opt.Data(),tm));
496  ana->AddToHistogramsName(Form("Ana%s%sEbE_OpenAsy_",particle.Data(),opt.Data()));
497  ana->SetOutputAODName(Form("%s%sTrigger_%s_OpenAsy",particle.Data(), opt.Data(), kAnaCaloTrackCorr.Data()));
498  }
499  }
500 
501  // For Pi0 only if SwitchOnSimpleSplitMassCut()
502  caloPID->SetPi0MassRange(0.10, 0.18);
503  caloPID->SetEtaMassRange(0.50, 0.60);
504  caloPID->SetPhotonMassRange(0.00, 0.08);
505 
506  caloPID->SetClusterSplittingMinNCells(6);
507 
508  //caloPID->SetSplitEnergyFractionMinimum(0, 0.95);
509  //caloPID->SetSplitEnergyFractionMinimum(1, 0.95);
510  //caloPID->SetSplitEnergyFractionMinimum(2, 0.8);
511 
512  if(col=="PbPb" || kAnaCaloTrackCorr.Contains("150"))
513  {
514  caloPID->SetClusterSplittingMinNCells(4);
515  //caloPID->SetPi0MassShiftHighECell(0.005);
516  }
517  }
519 
520  return ana;
521 }
522 
523 
539 (TString col, Bool_t simulation,
540  TString calorimeter, Bool_t bothCalo,
541  Int_t year, Bool_t mixOn,
542  Bool_t printSettings, Int_t debug,
543  TString histoString )
544 {
545  AliAnaPi0 *ana = new AliAnaPi0();
546 
547  ana->SetDebug(debug);
548 
549  // Input delta AOD settings
550  ana->SetInputAODName(Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data()));
551 
552  if(bothCalo)
553  {
555 
556  TString otherDetector = Form("PhotonTrigger_%s",kAnaCaloTrackCorr.Data());
557 
558  if ( calorimeter == "EMCAL" )
559  otherDetector.ReplaceAll("PhotonTrigger_EMCAL","PhotonTrigger_PHOS");
560  else
561  otherDetector.ReplaceAll("PhotonTrigger_PHOS","PhotonTrigger_EMCAL");
562 
563  ana->SetOtherDetectorInputName(otherDetector);
564  }
565 
566  // Calorimeter settings
567  ana->SetCalorimeter(calorimeter);
568 
569  // Acceptance plots
570  // ana->SwitchOnFiducialCut(); // Needed to fill acceptance plots with predefined calorimeter acceptances
571  // ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 100, 180) ;
572  // ana->GetFiducialCut()->DoEMCALFiducialCut(kTRUE);
573 
574  ana->SwitchOffFiducialCut();
576 
577  // settings for pp collision mixing
578  if(mixOn) ana->SwitchOnOwnMix();
579  else ana->SwitchOffOwnMix();
580 
581  // Cuts
582  if (calorimeter == "EMCAL" )
583  {
584  if(year < 2014) ana->SetPairTimeCut(50);
585  else ana->SetPairTimeCut(200); // REMEMBER to remove this when time calib is on
586  }
587 
588  ana->SetNPIDBits(1);
589  ana->SetNAsymCuts(1); // no asymmetry cut, previous studies showed small effect.
590  // In EMCAL assymetry cut prevents combination of assymetric decays which is the main source of pi0 at high E.
591 
592  if (col == "pp" )
593  {
594  ana->SetNCentrBin(1);
595  ana->SwitchOffTrackMultBins();
596  ana->SetNZvertBin(10);
597  ana->SetNRPBin(1);
598  ana->SetNMaxEvMix(100);
599  ana->SetMinPt(0.7);
600  }
601  else if(col == "PbPb")
602  {
603  ana->SetNCentrBin(10);
604  ana->SetNZvertBin(10);
605  ana->SetNRPBin(4);
606  ana->SetNMaxEvMix(10);
607  ana->SetMinPt(1.5);
608  }
609  else if(col =="pPb")
610  {
611  ana->SetNCentrBin(1);
612  ana->SetNZvertBin(10);
613  ana->SetNRPBin(4);
614  ana->SetNMaxEvMix(100);
615  ana->SetMinPt(0.7);
616  }
617 
618  // Angle cut, avoid pairs with too large angle
619  ana->SwitchOnAngleSelection();
620  ana->SetAngleMaxCut(TMath::DegToRad()*80.); // EMCal: 4 SM in phi, 2 full SMs in eta
621  ana->SetAngleCut(0.017); // Minimum angle open, cell size
622 
623  if ( kAnaCutsString.Contains("PerSM") ) //&& !bothCalo )
624  ana->SwitchOnSMCombinations();
625 
627  ana->SwitchOnFillAngleHisto();
628  ana->SwitchOnFillOriginHisto(); // MC
629 
630  // Set Histograms name tag, bins and ranges
631  if(!bothCalo) ana->AddToHistogramsName(Form("AnaPi0_"));
632  else ana->AddToHistogramsName(Form("AnaPi0_2Det_"));
633 
634  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
635  if(printSettings) ana->Print("");
636 
637  return ana;
638 }
639 
640 
662  Int_t partInCone, Int_t thresType,
663  Float_t cone, Float_t coneMin,
664  Float_t pth, Bool_t multi,
665  TString col, Bool_t simulation,
666  TString calorimeter, Int_t year, Int_t tm,
667  Bool_t printSettings, Int_t debug,
668  TString histoString )
669 {
671 
672  ana->SetDebug(debug);
673 
674  ana->SetMinPt(5);
675  ana->SetCalorimeter(calorimeter);
676  if(calorimeter == "DCAL")
677  {
678  TString calo = "EMCAL";
679  ana->SetCalorimeter(calo);
680  }
681 
683  ana->SwitchOffCellHistoFill() ;
684 
685  ana->SwitchOffLeadingOnly();
687  if( leading > 0 ) ana->SwitchOnLeadingOnly();
688  if( leading == 2 ||
689  leading == 4) ana->SwitchOnCheckNeutralClustersForLeading();
690 
691  // MC
694 
695  ana->SwitchOffSSHistoFill();
696 
697  if(particle.Contains("Photon"))
698  {
699  ana->SwitchOnSSHistoFill();
700 
701  if(kAnaCutsString.Contains("Decay"))
702  {
704  ana->SetNDecayBits(5);
705  }
706  }
707 
708  if ( kAnaCutsString.Contains("PerSM") )
709  {
711  ana->SwitchOnStudyNCellsCut();
712  }
713 
714  if ( kAnaCutsString.Contains("PerTCard") )
716 
717  if(kAnaCutsString.Contains("Bkg"))
718  {
719  printf("ConfigureIsolationAnalysis() *** Activate analysis on PtTrig and Bkg bins >> \n");
721  ana->SetNPtTrigBins(6);
722  //ana->SetPtTrigLimits(0,8); ana->SetPtTrigLimits(1,12); ana->SetPtTrigLimits(2,16); ana->SetPtTrigLimits(3,25);
723 
725  ana->SetNBackgroundBins(11);
726  //ana->SetBackgroundLimits(0,0); ana->SetBackgroundLimits(1,0.2); ana->SetBackgroundLimits(2,3); ana->SetBackgroundLimits(3,0.4);
727  }
728 
729  if(!tm) ana->SwitchOnTMHistoFill();
730  else ana->SwitchOffTMHistoFill();
731 
732  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
733 
734  // Avoid borders of calorimeter
736  ana->SwitchOnFiducialCut();
737  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 86, 174) ;
738  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 266, 314) ;
739  else if ( calorimeter == "PHOS" ) ana->GetFiducialCut()->SetSimplePHOSFiducialCut (0.10, 266, 314) ;
740 
741  // Same Eta as EMCal, cut in phi if EMCAL was triggering
742  if(particle=="Hadron" || particle.Contains("CTS"))
743  {
744  //if(trigger.Contains("EMC"))
745  // ana->GetFiducialCut()->SetSimpleCTSFiducialCut (0.6, 260, 360) ;
746  //else
747  ana->GetFiducialCut()->SetSimpleCTSFiducialCut (0.6, 0, 360) ;
748  }
749 
750  // Branch AOD settings
751 
752  ana->SetInputAODName(Form("%sTrigger_%s",particle.Data(),kAnaCaloTrackCorr.Data()));
753  ana->SetAODObjArrayName(Form("IC%sTrigger_%s_R%1.1f_ThMin%1.1f",particle.Data(),kAnaCaloTrackCorr.Data(),cone,pth));
754 
755  //
756  // Do settings for main isolation cut class
757  //
758  AliIsolationCut * ic = ana->GetIsolationCut();
759  ic->SetDebug(debug);
760  ic->SetParticleTypeInCone(partInCone);
761  ic->SetICMethod(thresType);
762  ic->SetPtFraction(0.1);
763  ic->SetPtThreshold(0.5); // default, change in next lines
764  ic->SetSumPtThreshold(1.0); // default, change in next lines
765 
766  if(cone > 0 && pth > 0)
767  {
768  ic->SetConeSize(cone);
769  ic->SetMinDistToTrigger(coneMin);
770  ic->SetPtThresholdMax(10000);
771 
772  if(thresType == AliIsolationCut::kPtThresIC)
773  {
774  printf("ConfigureIsolationAnalysis() *** Iso *** PtThresMin = %1.1f GeV/c *** R = %1.2f *** R min %1.2f\n",pth,cone,coneMin);
775  ic->SetPtThreshold(pth);
776  }
777 
778  if(thresType == AliIsolationCut::kSumPtIC)
779  {
780  printf("ConfigureIsolationAnalysis() *** Iso *** SumPtMin = %1.1f GeV/c *** R = %1.1f *** R min %1.2f\n",pth,cone,coneMin);
781  ic->SetSumPtThreshold(pth);
782  }
783  }
784  else
785  {
786  if(col=="pp")
787  {
788  ic->SetPtThreshold(0.5);
789  ic->SetSumPtThreshold(1.0) ;
790  ic->SetConeSize(0.4);
791  ic->SetMinDistToTrigger(-1);
792  }
793  if(col=="PbPb")
794  {
795  ic->SetPtThreshold(3.);
796  ic->SetSumPtThreshold(3.0) ;
797  ic->SetConeSize(0.3);
798  ic->SetMinDistToTrigger(-1);
799  }
800  }
801 
802 
803  // Do or not do isolation with previously produced AODs.
804  // No effect if use of SwitchOnSeveralIsolation()
805  ana->SwitchOffReIsolation();
806 
807  // Multiple IC
808  if(multi)
809  {
810  ic->SetConeSize(1.); // Take all for first iteration
811  ic->SetPtThreshold(100);// Take all for first iteration
812  ic->SetMinDistToTrigger(-1);
813 
814  ana->SwitchOnSeveralIsolation() ;
815  //ana->SetAODObjArrayName(Form("MultiIC%sTM%d",particle.Data(),tm));
816  ana->SetAODObjArrayName(Form("MultiIC%s",particle.Data()));
817 
818  ana->SetNCones(3);
819  ana->SetNPtThresFrac(2);
820  ana->SetConeSizes(0,0.3); ana->SetConeSizes(1,0.4); ana->SetConeSizes(2,0.5);
821  ana->SetPtThresholds(0, 0.5); ana->SetPtThresholds(1, 1); ana->SetPtThresholds(2, 1.5); ana->SetPtThresholds(3, 2);
822  ana->SetPtFractions (0, 0.05) ; ana->SetPtFractions (1, 0.1); ana->SetPtFractions (2, 0.2) ; ana->SetPtFractions (3, 0.3) ;
823  ana->SetSumPtThresholds(0, 0.5) ; ana->SetSumPtThresholds(1, 1) ; ana->SetSumPtThresholds(2, 1.5); ana->SetSumPtThresholds(3, 2) ;
824  //ana->SetPtThresholds(0, 0.5);
825 
826  ana->SwitchOffTMHistoFill();
827  ana->SwitchOffSSHistoFill();
828  }
829  else
831 
832  AliCaloPID* caloPID = ana->GetCaloPID();
833 
834  // Track matching
835  // tm = 1, fixed cuts
836  caloPID->SetEMCALDEtaCut(0.025);
837  caloPID->SetEMCALDPhiCut(0.030);
838 
839  // pT track dependent cuts
840  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
841 
842  //Set Histograms name tag, bins and ranges
843 
844 // if(!multi) ana->AddToHistogramsName(Form("AnaIsol%s_TM%d_" ,particle.Data(),tm));
845 // else ana->AddToHistogramsName(Form("AnaMultiIsol%s_TM%d_",particle.Data(),tm));
846  if(!multi) ana->AddToHistogramsName(Form("AnaIsol%s_" ,particle.Data()));
847  else ana->AddToHistogramsName(Form("AnaMultiIsol%s_",particle.Data()));
848 
849  SetAnalysisCommonParameters(ana,histoString, calorimeter,year,col,simulation,printSettings,debug); // see method below
850 
851  if(particle=="Hadron" || particle.Contains("CTS"))
852  {
853  ana->GetHistogramRanges()->SetHistoPhiRangeAndNBins(0, TMath::TwoPi(), 200) ;
854  ana->GetHistogramRanges()->SetHistoEtaRangeAndNBins(-1.5, 1.5, 300) ;
855  }
856 
857  if(printSettings) ic ->Print("");
858 
859  return ana;
860 }
861 
884  Bool_t bIsolated, Float_t shshMax,
885  Int_t partInCone, Int_t thresType,
886  Float_t cone, Float_t coneMin,
887  Float_t pth, Bool_t mixOn,
888  TString col, Bool_t simulation,
889  TString calorimeter, Int_t year, Int_t tm,
890  Bool_t printSettings, Int_t debug,
891  TString histoString )
892 {
894 
895  ana->SetTriggerPtRange(5,100);
896  ana->SetAssociatedPtRange(0.2,100);
897  ana->SetDeltaPhiCutRange (TMath::DegToRad()*120.,TMath::DegToRad()*240.);
898 
899  // Underlying event
900  ana->SetUeDeltaPhiCutRange(TMath::DegToRad()*60. ,TMath::DegToRad()*120.);
902 
903  ana->SwitchOffAbsoluteLeading(); // Select trigger leading particle of all the selected tracks
904  ana->SwitchOffNearSideLeading(); // Select trigger leading particle of all the particles at +-90 degrees, default
906 
907  if(leading > 0 && leading < 3 ) ana->SwitchOnAbsoluteLeading();
908  if(leading > 2 ) ana->SwitchOnNearSideLeading();
909  if(leading == 2 || leading == 4 ) ana->SwitchOnCheckNeutralClustersForLeading();
910 
914 
916 
918 
919  if(particle.Contains("Photon"))
920  {
921  if(kAnaCutsString.Contains("Decay"))
922  {
923  printf("ConfigureHadronCorrelationAnalysis() *** Activate analysis on Tagged clusters as Decay product >> \n");
925  ana->SetNDecayBits(5);
927  if ( kAnaCutsString.Contains("Bkg") && !bIsolated )
929  }
930 
931  //printf("ConfigureHadronCorrelationAnalysis() *** SET M02 limits in correlation task *** \n");
932  ana->SetM02Cut(0.10,shshMax);
933  }
934 
935  if ( kAnaCutsString.Contains("PerSM") )
937 
938  if ( kAnaCutsString.Contains("PerTCard") )
940 
941  ana->SetMCGenType(0,7); // Change to higher to include Tagged decays
942 
943  ana->SwitchOffLeadHadronSelection(); // Open cuts, just fill histograms
945 
946  if ( kAnaCutsString.Contains("Bkg") && !bIsolated )
947  {
948  printf("ConfigureHadronCorrelationAnalysis() *** Activate analysis on PtTrig and Bkg bins,\n"
949  " \t make sure isolation runs first even if not used to select trigger >> \n");
951  }
952 
953  ana->SetLeadHadronPhiCut(TMath::DegToRad()*130, TMath::DegToRad()*230.);
954  ana->SetLeadHadronPtCut(0.5, 1000);
955 
956  // if triggering on PHOS and EMCAL is on
957  ana->SwitchOffNeutralCorr(); // Do only correlation with TPC
958  //ana->SetPi0AODBranchName("Pi0EMCAL_TrigEMC7_Cl_TM1");
959 
961 
963 
964  //if(!simulation) ana->SwitchOnFillPileUpHistograms();
965 
966  ana->SetNAssocPtBins(8);
967  ana->SetAssocPtBinLimit(0, 1) ;
968  ana->SetAssocPtBinLimit(1, 2) ;
969  ana->SetAssocPtBinLimit(2, 3) ;
970  ana->SetAssocPtBinLimit(3, 4) ;
971  ana->SetAssocPtBinLimit(4, 5) ;
972  ana->SetAssocPtBinLimit(5, 8) ;
973  ana->SetAssocPtBinLimit(6, 10) ;
974  ana->SetAssocPtBinLimit(7, 100);
975 
976  ana->SelectIsolated(bIsolated); // do correlation with isolated photons
977 
978  // Mixing with own pool
979  if(mixOn)
980  {
981  ana->SwitchOnOwnMix();
983 
984  if(bIsolated)
985  {
986  //Do settings for main isolation cut class
987  AliIsolationCut * ic = ana->GetIsolationCut();
988  ic->SetDebug(debug);
989 
990  if(cone >0 && pth > 0)
991  {
992  //printf("ConfigureHadronCorrelationAnalysis() *** PtThres = %1.1f GeV/c *** R = %1.1f *** R min = %1.2f\n",pth,cone,coneMin);
993  ic->SetPtThreshold(pth);
994  ic->SetConeSize(cone);
995  ic->SetMinDistToTrigger(coneMin);
996  }
997  else
998  {
999  if(col=="pp")
1000  {
1001  ic->SetPtThreshold(0.5);
1002  ic->SetConeSize(0.4);
1003  ic->SetMinDistToTrigger(-1);
1004  }
1005  if(col=="PbPb")
1006  {
1007  ic->SetPtThreshold(3.);
1008  //ic->SetPtThreshold(1.);
1009  ic->SetConeSize(0.3);
1010  ic->SetMinDistToTrigger(-1);
1011  }
1012  }
1013 
1014  ic->SetPtFraction(0.1);
1015  ic->SetSumPtThreshold(1.0) ;
1016  ic->SetParticleTypeInCone(partInCone);
1017  ic->SetICMethod(thresType);
1018  }
1019  }
1020  else
1021  ana->SwitchOffOwnMix();
1022 
1023  ana->SetNZvertBin(20);
1024 
1025  if(col=="pp")
1026  {
1027  ana->SetNMaxEvMix(100);
1028  ana->SwitchOnTrackMultBins();
1029  ana->SetNTrackMultBin(10);
1030  ana->SetNRPBin(1);
1031  }
1032  else
1033  {
1034  ana->SetNMaxEvMix(10);
1035  ana->SwitchOffTrackMultBins(); // centrality bins
1036  ana->SetNCentrBin(12);
1037  ana->SetNRPBin(3);
1038  if(kAnaCaloTrackCorr.Contains("60_90"))
1039  {
1040  //printf("ConfigureHadronCorrelationAnalysis() *** Set mixing for peripheral ***\n");
1041  ana->SetNMaxEvMix(50);
1042  ana->SetNCentrBin(2);
1043  }
1044  }
1045 
1046  // Avoid borders of calorimeter, same as for isolation
1047  //
1048  ana->SwitchOnFiducialCut();
1049  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 86, 174) ;
1050  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.60, 266, 314) ;
1051  else if ( calorimeter == "PHOS" ) ana->GetFiducialCut()->SetSimplePHOSFiducialCut (0.10, 266, 314) ;
1052 
1053  // Track matching, in case of mixing and specially in isolation case
1054  //
1055  AliCaloPID* caloPID = ana->GetCaloPID();
1056  // tm = 1, fixed cuts
1057  caloPID->SetEMCALDEtaCut(0.025);
1058  caloPID->SetEMCALDPhiCut(0.030);
1059 
1060  // pT track dependent cuts
1061  if(tm > 1) caloPID->SwitchOnEMCTrackPtDepResMatching();
1062 
1063  // Input / output delta AOD settings
1064  //
1065  ana->SetInputAODName(Form("%sTrigger_%s",particle.Data(),kAnaCaloTrackCorr.Data()));
1066  ana->SetAODObjArrayName(Form("%sHadronCorrIso%dTrigger_%s",particle.Data(),bIsolated,kAnaCaloTrackCorr.Data()));
1067  //ana->SetAODNamepTInConeHisto(Form("IC%s_%s_R%1.1f_ThMin%1.1f" ,particle.Data(),kAnaCaloTrackCorr.Data(),cone,pth));
1068 
1069  //Set Histograms name tag, bins and ranges
1070  //
1071  //ana->AddToHistogramsName(Form("Ana%sHadronCorr_Iso%d_TM%d_",particle.Data(),bIsolated,tm));
1072  ana->AddToHistogramsName(Form("Ana%sHadronCorr_Iso%d_",particle.Data(),bIsolated));
1073 
1074  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1075 
1076  if(particle=="Hadron" || particle.Contains("CTS"))
1077  {
1078  ana->GetHistogramRanges()->SetHistoPhiRangeAndNBins(0, TMath::TwoPi(), 200) ;
1079  ana->GetHistogramRanges()->SetHistoEtaRangeAndNBins(-1.5, 1.5, 300) ;
1080  }
1081 
1082  return ana;
1083 }
1084 
1094 ( Bool_t simulation, Bool_t printSettings, Int_t debug, TString histoString )
1095 {
1097 
1098  ana->SetDebug(debug);
1099 
1100  // selection cuts
1101 
1102  ana->SetMinPt(0.2);
1103  ana->SwitchOnFiducialCut();
1104  ana->GetFiducialCut()->SetSimpleCTSFiducialCut(0.8, 0, 360) ; //more restrictive cut in reader and after in isolation
1105 
1107 
1110 
1111  // Branch AOD settings
1112 
1113  ana->SetOutputAODName(Form("HadronTrigger_%s",kAnaCaloTrackCorr.Data()));
1114  ana->SetOutputAODClassName("AliCaloTrackParticle"); // use if no correlation done
1115 
1116  //Set Histograms name tag, bins and ranges
1117 
1118  ana->AddToHistogramsName("AnaHadrons_");
1119 
1120  SetAnalysisCommonParameters(ana,histoString,"CTS",2012,"pp",simulation,printSettings,debug); // see method below
1121 
1122  return ana;
1123 }
1124 
1138 (Int_t tm, TString col , Bool_t simulation,
1139  TString calorimeter, Int_t year,
1140  Bool_t printSettings, Int_t debug, TString histoString )
1141 {
1143 
1144  ana->SetM02Min(-1);
1145  ana->SetNCellsPerClusterMin(-1);
1146 
1147  ana->SetCalorimeter(calorimeter);
1148  if(calorimeter == "DCAL")
1149  {
1150  TString calo = "EMCAL";
1151  ana->SetCalorimeter(calo);
1152  }
1153 
1154  if(simulation) ana->SetConstantTimeShift(615);
1155 
1156  ana->SwitchOffFiducialCut();
1157 
1159 
1161 
1163 
1164  ana->SwitchOffStudyMatchedPID() ;
1165 
1166  ana->SwitchOffStudyWeight();
1167 
1168  ana->SetNCellBinLimits(-1); // no analysis on predefined bins in nCell
1169 
1171  ana->SwitchOffStudyExotic();
1174  ana->SwitchOffStudyCellTime() ;
1175 
1176  // PID cuts (Track-matching)
1177  ana->SwitchOnCaloPID(); // do PID selection, unless specified in GetCaloPID, selection not based on bayesian
1178  AliCaloPID* caloPID = ana->GetCaloPID();
1179 
1180  if(tm > 1)
1181  {
1182  // track pT dependent cut
1184 
1185  // Begining of histograms name
1186  ana->AddToHistogramsName("Shape_TMDep_");
1187  }
1188  else if ( tm )
1189  {
1190  // Fix
1192  caloPID->SetEMCALDEtaCut(0.025);
1193  caloPID->SetEMCALDPhiCut(0.030);
1194 
1195  // Begining of histograms name
1196  ana->AddToHistogramsName("Shape_TMFix_");
1197  }
1198 
1199  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1200 
1201  AliHistogramRanges* histoRanges = ana->GetHistogramRanges();
1202  histoRanges->SetHistoPtRangeAndNBins(0, 50, 100) ; // Reduce a bit size
1203 
1204  return ana;
1205 }
1206 
1219  TString calorimeter, Int_t year,
1220  Bool_t printSettings, Int_t debug,
1221  TString histoString )
1222 {
1224 
1225  ana->SetCalorimeter(calorimeter);
1226  if(calorimeter == "DCAL")
1227  {
1228  TString calo = "EMCAL";
1229  ana->SetCalorimeter(calo);
1230  }
1231 
1232  ana->SetTimeCut(-1e10,1e10); // Open time cut
1233 
1234  ana->SwitchOffCorrelation(); // make sure you switch in the reader PHOS and EMCAL cells and clusters if option is ON
1235 
1237 
1238  ana->SwitchOffFiducialCut();
1242  ana->SwitchOffStudyBadClusters() ;
1244 
1246 
1247  ana->AddToHistogramsName("QA_"); // Begining of histograms name
1248 
1249  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1250 
1251  return ana;
1252 }
1253 
1270  Float_t cone, Float_t coneMin,
1271  TString col, Bool_t simulation,
1272  TString calorimeter, Int_t year,
1273  Bool_t printSettings, Int_t debug,
1274  TString histoString )
1275 {
1277 
1278  // Trigger detector, acceptance and pT cut
1279  ana->SetTriggerDetector(calorimeter);
1280  if(calorimeter == "DCAL")
1281  {
1282  TString calo = "EMCAL";
1283  ana->SetTriggerDetector(calo);
1284  }
1285 
1286  ana->SetMinPt(2); // Trigger photon, pi0 minimum pT
1287  if ( calorimeter == "EMCAL" ) ana->GetFiducialCutForTrigger()->SetSimpleEMCALFiducialCut(0.60, 86, 174) ;
1288  else if ( calorimeter == "DCAL" ) ana->GetFiducialCutForTrigger()->SetSimpleEMCALFiducialCut(0.60, 266, 314) ;
1289  else if ( calorimeter == "PHOS" ) ana->GetFiducialCutForTrigger()->SetSimplePHOSFiducialCut (0.10, 266, 314) ;
1290 
1291  // Particles associated to trigger or isolation cone acceptance and pT cut
1292  ana->SetCalorimeter(calorimeter);
1293  if(calorimeter == "DCAL")
1294  {
1295  TString calo = "EMCAL";
1296  ana->SetCalorimeter(calo);
1297  }
1298 
1299  ana->SetMinChargedPt(0.2);
1300  ana->SetMinNeutralPt(0.3);
1301 
1302  if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.70, 80, 174) ;
1303  else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.70, 260, 327) ;
1304  else if ( calorimeter == "PHOS" ) ana->GetFiducialCut()->SetSimplePHOSFiducialCut (0.12, 250, 320) ;
1305  ana->GetFiducialCut()->SetSimpleCTSFiducialCut(0.9, 0, 360);
1306 
1307  // Isolation paramters
1308  AliIsolationCut * ic = ana->GetIsolationCut();
1309  ic->SetDebug(debug);
1310  ic->SetPtThreshold(pth);
1311  ic->SetConeSize(cone);
1312  ic->SetMinDistToTrigger(coneMin);
1313  ic->SetSumPtThreshold(1.0) ;
1314  ic->SetICMethod(thresType);
1315 
1316  ana->AddToHistogramsName("AnaGenKine_");
1317 
1318  SetAnalysisCommonParameters(ana,histoString,calorimeter,year,col,simulation,printSettings,debug); // see method below
1319 
1320  return ana;
1321 }
1322 
1349  TList* anaList = 0x0,
1350  TString calorimeter = "EMCAL", // "DCAL", "PHOS"
1351  Bool_t simulation = kFALSE,
1352  Int_t year = 2011,
1353  TString col = "pp",
1354  TString analysisString= "Photon_MergedPi0_DecayPi0_Isolation_Correlation_QA_Charged",
1355  TString histoString = "",
1356  Float_t shshMax = 0.27,
1357  Float_t isoCone = 0.4,
1358  Float_t isoConeMin = -1,
1359  Float_t isoPtTh = 2,
1360  Int_t isoMethod = AliIsolationCut::kSumPtIC,
1362  Int_t leading = 0,
1363  Int_t tm = 2,
1364  Bool_t mixOn = kTRUE,
1365  Bool_t printSettings = kFALSE,
1366  Int_t debug = 0
1367 )
1368 {
1369  if ( !anaList )
1370  {
1371  printf("ConfigureCaloTrackCorrAnalysis() << No analysis list passed. Stop >>\n");
1372  return;
1373  }
1374 
1375  // Check the passed variables
1376  //
1377  printf("ConfigureCaloTrackCorrAnalysis() << Settings: Base string <%s>, Analysis string <%s>, "
1378  "\n calorimeter <%s>, simulation <%d>, year <%d>, col <%s>, "
1379  "\n shshMax <%2.2f>, R <%1.2f>, Rmin <%1.2f>, isoPtTh <%2.2f>, isoMethod <%d>,isoContent <%d>,"
1380  "\n leading <%d>, tm <%d>, mixOn <%d>, printSettings <%d>, debug <%d>\n",
1381  anaList->GetName(), analysisString.Data(),
1382  calorimeter.Data(), simulation, year, col.Data(),
1383  shshMax,isoCone,isoConeMin,isoPtTh,isoMethod,isoContent,
1384  leading,tm,mixOn,printSettings,debug);
1385 
1386  kAnaCutsString = analysisString;
1387 
1388  kAnaCaloTrackCorr = Form("%s",anaList->GetName());
1389 
1390  if ( analysisString.Contains("Isolation") )
1391  kAnaCaloTrackCorr+= Form("_Iso_Meth%d_Part%d_Pt%1.2f_R%1.2f",isoMethod,isoContent,isoPtTh,isoCone);
1392  if ( analysisString.Contains("Corr") && analysisString.Contains("Photon") && shshMax > 0)
1393  kAnaCaloTrackCorr+= Form("_CorrM02_%1.2f",shshMax);
1394 
1395  if ( isoConeMin > 0 ) kAnaCaloTrackCorr+=Form("_Rmin%1.2f",isoConeMin);
1396  if ( leading > 0 ) kAnaCaloTrackCorr+=Form("_Lead%d" ,leading);
1397  if ( tm > 0 ) kAnaCaloTrackCorr+=Form("_TM%d" ,tm);
1398 
1399  printf("ConfigureCaloTrackCorrAnalysis() <<<< TMP branch internal NAME: %s >>>>>\n",kAnaCaloTrackCorr.Data());
1400 
1401  // #### Configure analysis ####
1402 
1403 
1404  Int_t n = anaList->GetEntries();//Analysis number, order is important
1405 
1406  //
1407  // Photon analysis
1408  //
1409  if ( analysisString.Contains("Photon") )
1410  {
1411  anaList->AddAt(ConfigurePhotonAnalysis
1412  (col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Photon cluster selection
1413 
1414  if ( analysisString.Contains("InvMass") )
1415  anaList->AddAt(ConfigureInvariantMassAnalysis
1416  (col,simulation,calorimeter,/*bothCalo*/kFALSE,
1417  year,/*mix*/kTRUE,printSettings,debug,histoString), n++);
1418 
1419  if ( analysisString.Contains("DecayPi0") )
1420  {
1421  anaList->AddAt(ConfigurePi0EbEAnalysis
1422  ("Pi0" , AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1423  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 event by event selection, invariant mass and photon tagging from decay
1424 
1425  anaList->AddAt(ConfigurePi0EbEAnalysis
1426  ("Eta" , AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1427  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Eta event by event selection, invariant mass and photon tagging from decay
1428 
1429  anaList->AddAt(ConfigurePi0EbEAnalysis
1430  ("Pi0SideBand", AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1431  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 out of peak event by event selection, and photon tagging from decay
1432 
1433  anaList->AddAt(ConfigurePi0EbEAnalysis
1434  ("EtaSideBand", AliAnaPi0EbE::kIMCalo,kFALSE,kFALSE,
1435  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Eta out of peak event by event selection, and photon tagging from decay
1436  }
1437 
1438  if ( analysisString.Contains("Isolation") )
1439  {
1440  anaList->AddAt(ConfigureIsolationAnalysis
1441  ("Photon", leading, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, kFALSE,
1442  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Photon isolation
1443 
1444  }
1445 
1446  if( analysisString.Contains("Correlation") )
1447  {
1448  if ( !analysisString.Contains("MultiIso") )
1449  {
1450  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1451  ("Photon", leading, kFALSE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1452  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Gamma-hadron correlation
1453  }
1454 
1455  if ( analysisString.Contains("Isolation") )
1456  {
1457  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1458  ("Photon", leading, kTRUE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1459  col,simulation,calorimeter,year,tm,printSettings,debug,histoString) , n++); // Isolated gamma hadron correlation
1460  }
1461  } // correlation
1462  }
1463 
1464  //
1465  // Merged pi0 analysis
1466  //
1467  if ( analysisString.Contains("MergedPi0") )
1468  {
1469  anaList->AddAt(ConfigurePi0EbEAnalysis
1470  ("Pi0", AliAnaPi0EbE::kSSCalo,kTRUE,kTRUE,
1471  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 event by event selection, cluster splitting
1472  if ( analysisString.Contains("Isolation") )
1473  {
1474  anaList->AddAt(ConfigureIsolationAnalysis
1475  ("Pi0SS", leading, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, kFALSE,
1476  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0 isolation, cluster splits
1477 
1478  }
1479 
1480  if( analysisString.Contains("Correlation") )
1481  {
1482  if ( !analysisString.Contains("MultiIso") )
1483  {
1484  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1485  ("Pi0SS", leading, kFALSE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1486  col,simulation,calorimeter,year,tm,printSettings,debug,histoString), n++); // Pi0-hadron correlation
1487  }
1488 
1489  if ( analysisString.Contains("Isolation") )
1490  {
1491  anaList->AddAt(ConfigureHadronCorrelationAnalysis
1492  ("Pi0SS", leading, kTRUE, shshMax, isoContent,isoMethod,isoCone,isoConeMin,isoPtTh, mixOn,
1493  col,simulation,calorimeter,year,tm,printSettings,debug,histoString) , n++); // Isolated pi0-hadron correlation
1494  }
1495  } // correlation
1496  }
1497 
1498  // Check the generated kinematics
1499  if(simulation && analysisString.Contains("Generator"))
1500  {
1501  anaList->AddAt(ConfigureGenKineAnalysis
1502  (isoMethod,isoPtTh,isoCone,isoConeMin,
1503  col,simulation,calorimeter,year,printSettings,debug,histoString), n++);
1504  }
1505 
1506  // Charged analysis
1507  if ( analysisString.Contains("Charged") )
1508  {
1509  anaList->AddAt(ConfigureChargedAnalysis(simulation,printSettings,debug,histoString), n++); // track selection checks
1510  }
1511 
1512  // Cluster Shape studies
1513  if ( analysisString.Contains("ClusterShape") )
1514  {
1515  anaList->AddAt(ConfigureClusterShape(tm,col,simulation,calorimeter,year,printSettings,debug,histoString) , n++);
1516  }
1517 
1518  // Calo QA
1519  if ( analysisString.Contains("QA") )
1520  {
1521  anaList->AddAt(ConfigureQAAnalysis(col,simulation,calorimeter,year,printSettings,debug,histoString) , n++);
1522  }
1523 
1524  printf("ConfigureCaloTrackCorrAnalysis() << End configuration for %s with total analysis %d>>\n",
1525  kAnaCaloTrackCorr.Data(), n);
1526 }
1527 
1528 
1529 
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 SetCalorimeter(TString &calo)
Set the calorimeter for the analysis. A string.
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 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
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.
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 SetTriggerDetector(TString &det)
Set the calorimeter for the analysis.
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)