Skip to content

Commit 909b8f0

Browse files
author
mattia
committed
Add needed protection.
1 parent b822dba commit 909b8f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/Tools/TrackPropagationModule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ class TrackPropagationModule
213213
void fillTrackTables(TConfigurableGroup const& cGroup, TrackTuner& trackTunerObj, TCCDBLoader const& ccdbLoader, TCollisions const& collisions, TTracks const& tracks, TOutputGroup& cursors, THistoRegistry& registry)
214214
{
215215

216-
/// retrieve the graphs *if not done yet*
216+
/// retrieve the TrackTuner calibration graphs *if not done yet*
217217
/// i.e. if autodetect is required
218-
if (autoDetectDcaCalib && !trackTunerObj.areGraphsConfigured) {
218+
if (cGroup.useTrackTuner.value && autoDetectDcaCalib && !trackTunerObj.areGraphsConfigured) {
219219

220220
/// get the run number from the ccdb loader, already initialized
221221
const int runNumber = ccdbLoader.runNumber;

0 commit comments

Comments
 (0)