Skip to content

Commit a6af317

Browse files
committed
TPC init: load more params from CCDB for GEMAmpl
1 parent 966097b commit a6af317

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Steer/DigitizerWorkflow/src/SimpleDigitizerWorkflow.cxx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,16 @@ void initTPC(long timestamp)
309309
auto& cdb = o2::tpc::CDBInterface::instance();
310310
cdb.setUseDefaults();
311311

312-
// IMPORTANT: load ParameterGEM from CCDB
312+
// IMPORTANT: load ParameterGEM, ParameterGas and CalPadGainFull from CCDB to correctly init GEMAmplification
313313
auto& ccdbManager = o2::ccdb::BasicCCDBManager::instance();
314314
ccdbManager.getSpecific<o2::tpc::ParameterGEM>(o2::tpc::CDBTypeMap.at(o2::tpc::CDBType::ParGEM), timestamp);
315-
LOGP(info, "initTPC: TPC GEM param updated for time {}", timestamp);
315+
LOGP(info, "initTPC: TPC GEM param, Gas param + CalPadGainFull updated for time {}", timestamp);
316+
ccdbManager.getSpecific<o2::tpc::CalPad>(o2::tpc::CDBTypeMap.at(o2::tpc::CDBType::CalPadGainFull), timestamp);
317+
ccdbManager.getSpecific<o2::tpc::ParameterGas>(o2::tpc::CDBTypeMap.at(o2::tpc::CDBType::ParGas), timestamp);
318+
316319
o2::tpc::ParameterGEM::Instance().printKeyValues(true, true);
320+
o2::tpc::ParameterGas::Instance().printKeyValues(true, true);
321+
317322
// by invoking this constructor we make sure that a common file will be created
318323
// in future we should take this from OCDB and just forward per message
319324
const static auto& ampl = o2::tpc::GEMAmplification::instance();

0 commit comments

Comments
 (0)