@@ -72,6 +72,7 @@ void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
7272 {" filtered-input" , VariantType::Bool, false , {" Filtered tracks, clusters input, prefix dataDescriptors with F" }},
7373 {" select-ir-frames" , VariantType::Bool, false , {" Subscribe and filter according to external IR Frames" }},
7474 {" tpc-deadMap-sources" , VariantType::Int, -1 , {" Sources to consider for TPC dead channel map creation; -1=all, 0=deactivated" }},
75+ {" tpc-mc-time-gain" , VariantType::Bool, false , {" use time gain calibration for MC (true) or for data (false)" }},
7576 };
7677 o2::tpc::CorrectionMapsLoader::addGlobalOptions (options);
7778 o2::raw::HBFUtilsInitializer::addConfigOption (options);
@@ -185,7 +186,8 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
185186 !cfgc.options ().get <bool >(" ignore-dist-stf" ), //
186187 cfgc.options ().get <bool >(" select-ir-frames" ),
187188 cfgc.options ().get <bool >(" filtered-input" ),
188- cfgc.options ().get <int >(" tpc-deadMap-sources" ));
189+ cfgc.options ().get <int >(" tpc-deadMap-sources" ),
190+ cfgc.options ().get <bool >(" tpc-mc-time-gain" ));
189191
190192 // configure dpl timer to inject correct firstTForbit: start from the 1st orbit of TF containing 1st sampled orbit
191193 o2::raw::HBFUtilsInitializer hbfIni (cfgc, wf);
0 commit comments