Skip to content

HepMCWeightSvc+GenInterfaces+GeneratorObjectsTPCnv: Make HepMCWeightSvc thread-safe.

Rework HepMCWeightSvc to be thread-safe.

Interface IHepMCWeightSvc updated: weightNames() now returns the map by value. Add weightNameVec(). Methods take an optional EventContext. Use DeclareInterfaceID.

TPCnv updates: Use weightNameVec() in HEPMC3 case to avoid reformatting on each event. Pass EventContxt to IHepMCWeightSvc methods. Unit tests now need to set up an EventContext.

See ATLASRECTS-6859.

Merge request reports