Skip to content

egamma : Use std::array when the size is exactly known

  • For the deltaEta,deltaPhi,deltaPhiRescaled we know the size == 4.

  • Actually we were always resizing (not just reserve) to size 4 and not checking much afterwards

  • Modify egammaRecEvent/egammaRec.h to this effect.

  • Since I was touching it, move inline function inside an .icc since it fits better with the ATLAS style guidelines.

Had to do small changes in the 4 clients setting the deltaEta,deltaPhi,deltaPhiRescaled back to the xAODEgamma

Merge request reports