Skip to content

Commit 2ff6d21

Browse files
mfasDasawenzel
authored andcommitted
[EMCAL-791] Require CCDB access for EMCAL by default
Option inverted to disable CCDB access on request.
1 parent b302343 commit 2ff6d21

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Steer/DigitizerWorkflow/src/SimpleDigitizerWorkflow.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
195195
workflowOptions.push_back(ConfigParamSpec{"use-ccdb-ft0", o2::framework::VariantType::Bool, false, {"enable access to ccdb ft0 calibration objects"}});
196196

197197
// option to use/not use CCDB for EMCAL
198-
workflowOptions.push_back(ConfigParamSpec{"use-ccdb-emc", o2::framework::VariantType::Bool, false, {"enable access to ccdb EMCAL simulation objects"}});
198+
workflowOptions.push_back(ConfigParamSpec{"no-use-ccdb-emc", o2::framework::VariantType::Bool, false, {"Disable access to ccdb EMCAL simulation objects"}});
199199

200200
// option to use or not use the Trap Simulator after digitisation (debate of digitization or reconstruction is for others)
201201
workflowOptions.push_back(ConfigParamSpec{"disable-trd-trapsim", VariantType::Bool, false, {"disable the trap simulation of the TRD"}});
@@ -650,7 +650,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
650650

651651
// the EMCal part
652652
if (isEnabled(o2::detectors::DetID::EMC)) {
653-
auto useCCDB = configcontext.options().get<bool>("use-ccdb-emc");
653+
auto useCCDB = !configcontext.options().get<bool>("no-use-ccdb-emc");
654654
detList.emplace_back(o2::detectors::DetID::EMC);
655655
// connect the EMCal digitization
656656
digitizerSpecs.emplace_back(o2::emcal::getEMCALDigitizerSpec(fanoutsize++, mctruth, useCCDB));

prodtests/full_system_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ taskwrapper sim.log o2-sim ${FST_BFIELD+--field=}${FST_BFIELD} --seed $O2SIMSEED
140140
if [[ $DO_EMBEDDING == 1 ]]; then
141141
taskwrapper embed.log o2-sim ${FST_BFIELD+--field=}${FST_BFIELD} -j $NJOBS --run ${RUNNUMBER} -n $NEvents -g pythia8pp -e ${FST_MC_ENGINE} -o sig --configKeyValues ${FST_EMBEDDING_CONFIG} --embedIntoFile o2sim_Kine.root
142142
fi
143-
taskwrapper digi.log o2-sim-digitizer-workflow -n $NEvents ${DIGIQED} ${NOMCLABELS} --sims ${SIM_SOURCES} --tpc-lanes $((NJOBS < 36 ? NJOBS : 36)) --shm-segment-size $SHMSIZE ${GLOBALDPLOPT} ${DIGITOPT} --configKeyValues "\"${DIGITOPTKEY}\"" --interactionRate $FST_COLRATE --use-ccdb-emc
143+
taskwrapper digi.log o2-sim-digitizer-workflow -n $NEvents ${DIGIQED} ${NOMCLABELS} --sims ${SIM_SOURCES} --tpc-lanes $((NJOBS < 36 ? NJOBS : 36)) --shm-segment-size $SHMSIZE ${GLOBALDPLOPT} ${DIGITOPT} --configKeyValues "\"${DIGITOPTKEY}\"" --interactionRate $FST_COLRATE
144144
[[ $SPLITTRDDIGI == "1" ]] && taskwrapper digiTRD.log o2-sim-digitizer-workflow -n $NEvents ${NOMCLABELS} --onlyDet TRD --trd-digit-downscaling ${DIGITDOWNSCALINGTRD} --shm-segment-size $SHMSIZE ${GLOBALDPLOPT} --incontext collisioncontext.root --configKeyValues "\"${DIGITOPTKEYTRD}\""
145145
touch digiTRD.log_done
146146

0 commit comments

Comments
 (0)