File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ struct MultCentTable {
7575 ccdb->setFatalWhenNull (false ); // please never crash on your own, all exceptions captured (as they always should)
7676
7777 // task-specific
78- module .init (opts, initContext);
78+ module .init (metadataInfo, opts, initContext);
7979 }
8080
8181 void processRun2 (soa::Join<aod::Collisions, aod::Run2MatchedSparse> const & collisions,
Original file line number Diff line number Diff 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;
@@ -488,6 +488,11 @@ class MultModule
488488 listOfRequestors[kPVMults ].Append (Form (" %s " , " dependency check" ));
489489 }
490490
491+ // capture the need for PYTHIA calibration in Pb-Pb runs
492+ if (metadataInfo.isMC () && mRunNumber >= 544013 && mRunNumber <= 545367 ) {
493+ internalOpts.generatorName .value = " PYTHIA" ;
494+ }
495+
491496 mRunNumber = 0 ;
492497 mRunNumberCentrality = 0 ;
493498 lCalibLoaded = false ;
You can’t perform that action at this time.
0 commit comments