File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
PWGCF/MultiparticleCorrelations/Tasks Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,12 @@ struct ThreeParticleCorrelations {
482482 index = 1 ;
483483 }
484484
485- return efficiencies[index]->GetBinContent (efficiencies[index]->FindBin (pT));
485+ double efficiency = efficiencies[index]->GetBinContent (efficiencies[index]->FindBin (pT));
486+ if (efficiency > 0 ) {
487+ return efficiency;
488+ } else {
489+ return 1.0 ;
490+ }
486491 }
487492
488493 template <class V0Cand >
@@ -706,7 +711,7 @@ struct ThreeParticleCorrelations {
706711 }
707712 }
708713
709- if (std::abs (dPhiStar) <= 0.1 ) {
714+ if (std::abs (dPhiStar) < 0.1 ) {
710715 return kFALSE ;
711716 }
712717
@@ -723,12 +728,12 @@ struct ThreeParticleCorrelations {
723728 }
724729};
725730
726- // ==========================================================================================================================================================================================================================================================================
731+ // ============================================================================================================================================================================================================================================================================
727732
728733WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
729734{
730735 WorkflowSpec workflow{adaptAnalysisTask<ThreeParticleCorrelations>(cfgc)};
731736 return workflow;
732737}
733738
734- // ==========================================================================================================================================================================================================================================================================
739+ // ============================================================================================================================================================================================================================================================================
You can’t perform that action at this time.
0 commit comments