Skip to content

Commit 647149e

Browse files
authored
Update MultModule.h
1 parent f3acbbf commit 647149e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Common/Tools/MultModule.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ class MultModule
413413
CalibrationInfo nGlobalInfo = CalibrationInfo("NGlobal");
414414
CalibrationInfo mftInfo = CalibrationInfo("MFT");
415415

416-
template <typename TConfigurables, typename TInitContext>
417-
void init(TConfigurables& opts, TInitContext& context)
416+
template <typename TMetadatainfo, typename TConfigurables, typename TInitContext>
417+
void init(TMetadatainfo const& metadataInfo, TConfigurables& opts, TInitContext& context)
418418
{
419419
// read in configurations from the task where it's used
420420
internalOpts = opts;
@@ -484,6 +484,11 @@ class MultModule
484484
listOfRequestors[kMultsGlobal].Append(Form("%s ", "dependency check"));
485485
}
486486

487+
// capture the need for PYTHIA calibration in Pb-Pb runs
488+
if(metadataInfo.isMC() && mRunNumber>=544013 && mRunNumber<=545367){
489+
internalOpts.generatorName.value = "PYTHIA";
490+
}
491+
487492
mRunNumber = 0;
488493
mRunNumberCentrality = 0;
489494
lCalibLoaded = false;

0 commit comments

Comments
 (0)