Skip to content

InnerDetector and Muon: Pass EventContext down

Eunju Moon requested to merge emoon/athena:eventcontext-passing into 24.0

Passing event context to avoid calling Gaudi::Hive::currentContext function. An abstract interface header IRIO_OnTrackCreator.h should be changed to pass the event context, which resulted in change of many header files.

Similar to ! 7c932cc5

(currentContext function iss frequently called by getCondData, which is frequently called by getLorentzShift and getTanLorentzAngle. Hence the main aim of this commit is to pass EventContext to getCondData.)

Main passing path

TrigInDetTrackFitter::fit -> TrigInDetTrackFitter::fitTrack -> TrigInDetTrackFitter::createTrackStateOnSurface -> InDet::PixelClusterOnTrackTool::correct -> correctNN or correctDefault -> SiLorentzAngleTool::getLorentzShift or getTanLorentzAngle -> SiLorentzAngleTool::getCondData

Muon::NSWCalibTool::calibrateStrip -> Muon::NSWCalibTool::localStripPosition

Edited by Eunju Moon

Merge request reports