Skip to content

Commit a444beb

Browse files
committed
fix initialisation in some process paths in twoParticleCorrelationsMpi.cxx
1 parent 3c23e7d commit a444beb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGCF/TwoParticleCorrelations/Tasks/twoParticleCorrelationsMpi.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ struct TwoParticleCorrelationsMpi {
367367
if (cfgFillAcceptanceWeights && !cfgAcceptance.value.empty()) {
368368
LOGF(fatal, "cfgFillAcceptanceWeights and cfgAcceptance are mutually exclusive: produce and apply acceptance weights in separate jobs");
369369
}
370-
if (cfgFillAcceptanceWeights && !(doprocessSameDerived || doprocessSameDerivedMultSet || doprocessMCSameDerived)) {
370+
if (cfgFillAcceptanceWeights && !(doprocessSameDerived || doprocessSameDerivedCorrected || doprocessSameDerivedMultSet || doprocessSameDerivedMultSetCorrected || doprocessMCSameDerived)) {
371371
LOGF(fatal, "cfgFillAcceptanceWeights requires a reconstructed derived same-event process");
372372
}
373373
if (cfgAcceptancePhiBins < 1 || cfgAcceptanceEtaBins < 1) {
@@ -655,7 +655,7 @@ struct TwoParticleCorrelationsMpi {
655655
++nPtPtSubevents;
656656
}
657657

658-
if (!cfgFillAcceptanceWeights && (doprocessMCSameDerived || doprocessSameDerived || doprocessSameDerivedMultSet)) {
658+
if (!cfgFillAcceptanceWeights && (doprocessMCSameDerived || doprocessSameDerived || doprocessSameDerivedCorrected || doprocessSameDerivedMultSet || doprocessSameDerivedMultSetCorrected)) {
659659
auto recoProfiles = std::make_unique<TObjArray>();
660660
addConfigObjectsToObjArray(recoProfiles.get(), mCorrConfigs, cfgUserAxis == EventSeedAxis && eventClassifierPercentileAxisEnabled);
661661
fFC.setObject(new FlowContainer("FlowContainer"));

0 commit comments

Comments
 (0)