// Time cuts
if(kSimulation)
{
- reader->SetEMCALTimeCut(-1000,1000); // Open time cut
+ reader->SwitchOffUseTrackTimeCut();
reader->SwitchOffUseParametrizedTimeCut();
+ reader->SwitchOffUseEMCALTimeCut();
+ reader->SetEMCALTimeCut(-1000,1000); // Open time cut
}
else
{
if(kCalibT)
{
- //reader->SetEMCALTimeCut(-20,20);
+ printf("Set time cut parameters for run %d\n",kRunNumber);
+ reader->SwitchOnUseEMCALTimeCut();
reader->SwitchOnUseParametrizedTimeCut();
+
+ //Absolute window
+ reader->SetEMCALTimeCut(-20,20);
+
+ //Parametrization
if (kRunNumber >= 151636 && kRunNumber <= 155384 )
{
printf("Set time parameters for LHC11c");
reader->SetEMCALParametrizedMinTimeCut(0,-5); reader->SetEMCALParametrizedMinTimeCut(1,-1 ); reader->SetEMCALParametrizedMinTimeCut(2, 3.5 ); reader->SetEMCALParametrizedMinTimeCut(3, 1. );
reader->SetEMCALParametrizedMaxTimeCut(0, 5); reader->SetEMCALParametrizedMaxTimeCut(1, 50); reader->SetEMCALParametrizedMaxTimeCut(2, 0.45); reader->SetEMCALParametrizedMaxTimeCut(3, 1.25);
}
- else reader->SetEMCALTimeCut(-20,20);
-
+ else
+ {
+ reader->SwitchOffUseParametrizedTimeCut();
+ }
}
else
{
+ reader->SwitchOffUseParametrizedTimeCut();
+ reader->SwitchOffUseEMCALTimeCut();
reader->SetEMCALTimeCut(-1000,1000); // Open time cut
}
}
else if(kInputDataType=="AOD")
{
reader->SwitchOnAODHybridTrackSelection(); // Check that the AODs have Hybrids!!!!
- reader->SetTrackFilterMask(128); // Filter bit, not mask, use if off hybrid
+ //reader->SwitchOnTrackHitSPDSelection(); // Check that the track has at least a hit on the SPD, not much sense to use for hybrid or TPC only tracks
+ //reader->SetTrackFilterMask(128); // Filter bit, not mask, use if off hybrid
}
// Calorimeter
ana->SetMinPt(0.5);
ana->SwitchOnFiducialCut();
ana->GetFiducialCut()->SetSimpleCTSFiducialCut(0.8, 0, 360) ; //more restrictive cut in reader and after in isolation
+ ana->SwitchOffFillPileUpHistograms();
// Input / output delta AOD settings
ana->SetInputAODName(Form("%s%s%s",particle.Data(),opt.Data(),kName.Data()));
if(analysis == AliAnaPi0EbE::kIMCaloTracks) ana->SetInputAODGammaConvName("PhotonsCTS");
-
- // NLM cut, used in all, exclude clusters with more than 2 maxima
- ana->SetNLMCut(1, 2) ;
-
+
if(analysis!=AliAnaPi0EbE::kSSCalo)
{
AliNeutralMesonSelection *nms = ana->GetNeutralMesonSelection();
ana->SetMinEnergy(5);
ana->SetMaxEnergy(200.);
ana->SetTimeCut(-1000,1000); // Open time cut
+
+ // NLM cut, used in all, exclude clusters with more than 2 maxima
+ ana->SetNLMCut(1, 2) ;
+
AliCaloPID* caloPID = ana->GetCaloPID();
caloPID->SetPi0MassRange(0.10, 0.18);
caloPID->SetEtaMassRange(0.40, 0.60);
caloPID->SetPhotonMassRange(0.00, 0.08);
- caloPID->SetClusterSplittingM02Cut(0.3,3); // Do the selection in the analysis class and not in the PID method to fill SS histograms
+ caloPID->SetClusterSplittingM02Cut(0.3,5); // Do the selection in the analysis class and not in the PID method to fill SS histograms
}
ana->SwitchOffSelectedClusterHistoFill();
//___________________________________________________________________________________
AliAnaParticleHadronCorrelation* ConfigureHadronCorrelationAnalysis(TString particle,
- Int_t bIsolated,
+ Bool_t bIsolated,
Int_t partInCone = AliIsolationCut::kOnlyCharged,
Int_t thresType = AliIsolationCut::kSumPtFracIC,
Float_t cone = 0.3,
ana->SwitchOffNearSideLeading(); // Select trigger leading particle of all the particles at +-90 degrees, default
// Mixing with own pool
- if(kMix)ana->SwitchOnOwnMix();
- else ana->SwitchOffOwnMix();
+ if(kMix)
+ {
+ ana->SwitchOnOwnMix();
+ ana->SwitchOnFillNeutralInMixedEvent();
+ }
+ else
+ ana->SwitchOffOwnMix();
ana->SetNZvertBin(20);
// If trigger is photon, check if it was tagged as decay previously
if(particle!="Hadron" )
{
- if(particle=="Pi0" || particle =="Eta")
+ if(particle.Contains("Pi0") || particle.Contains("Eta"))
{
ana->SwitchOffPi0TriggerDecayCorr();
ana->SwitchOffDecayTriggerDecayCorr();
ana->SwitchOffStudyClustersAsymmetry();
ana->SwitchOffStudyWeight();
ana->SwitchOnFillAllTrackMatchingHistogram();
- ana->SwitchOffFillAllCellTimeHisto() ;
+ ana->SwitchOnFillAllCellTimeHisto() ;
if(kCalorimeter=="EMCAL")
{
}
-//_________________
-Int_t SetTriggerMaskFromName()
+//_____________________________
+UInt_t SetTriggerMaskFromName()
{
if(kTrig=="EMC7")
{