Skip to content

Commit c11eff3

Browse files
committed
ITS should check MeanVertex (if enabled) at every TF
1 parent f248969 commit c11eff3

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
@@ -374,6 +374,9 @@ void ITSTrackingInterface::updateTimeDependentParams(framework::ProcessingContex
374374
{
375375
o2::base::GRPGeomHelper::instance().checkUpdates(pc);
376376
static bool initOnceDone = false;
377+
if (mOverrideBeamEstimation) {
378+
pc.inputs().get<o2::dataformats::MeanVertexObject*>("meanvtx");
379+
}
377380
if (!initOnceDone) { // this params need to be queried only once
378381
initOnceDone = true;
379382
pc.inputs().get<o2::itsmft::TopologyDictionary*>("itscldict"); // just to trigger the finaliseCCDB
@@ -402,9 +405,6 @@ void ITSTrackingInterface::getConfiguration(framework::ProcessingContext& pc)
402405
{
403406
mVertexer->getGlobalConfiguration();
404407
mTracker->getGlobalConfiguration();
405-
if (mOverrideBeamEstimation) {
406-
pc.inputs().get<o2::dataformats::MeanVertexObject*>("meanvtx");
407-
}
408408
}
409409

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

0 commit comments

Comments
 (0)