Skip to content

ID and muon tracking: Pass EventContext down

Stewart Martin-Haugh requested to merge smh/athena:eventcontext-passing-fix into 24.0

Following up on @emoon's MR (!73926 (closed))

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

(It was observed that currentContext was frequently called by getCondData which was frequently called by getLorentzShift and getTanLorentzAngle. Hence the original aim is to pass EventContext to getCondData.)

and addressing @christos and @jojungge's comments. In particular I removed changes to NSWCalibTool and (hopefully) removed all default arguments from the function calls.

Merge request reports