Skip to content

Commit 0176e72

Browse files
committed
ITS should check MeanVertex (if enabled) at every TF
1 parent 5817ed1 commit 0176e72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ void ITSTrackingInterface::updateTimeDependentParams(framework::ProcessingContex
361361
{
362362
o2::base::GRPGeomHelper::instance().checkUpdates(pc);
363363
static bool initOnceDone = false;
364+
if (mOverrideBeamEstimation) {
365+
pc.inputs().get<o2::dataformats::MeanVertexObject*>("meanvtx");
366+
}
364367
if (!initOnceDone) { // this params need to be queried only once
365368
initOnceDone = true;
366369
pc.inputs().get<o2::itsmft::TopologyDictionary*>("itscldict"); // just to trigger the finaliseCCDB
@@ -389,9 +392,6 @@ void ITSTrackingInterface::getConfiguration(framework::ProcessingContext& pc)
389392
{
390393
mVertexer->getGlobalConfiguration();
391394
mTracker->getGlobalConfiguration();
392-
if (mOverrideBeamEstimation) {
393-
pc.inputs().get<o2::dataformats::MeanVertexObject*>("meanvtx");
394-
}
395395
}
396396

397397
void ITSTrackingInterface::finaliseCCDB(ConcreteDataMatcher& matcher, void* obj)

0 commit comments

Comments
 (0)