Skip to content

MuonPrepData: noexcept_moveable for vector optimization

Adam Edward Barton requested to merge abarton/athena:muonprepOpti into master

In some places in the code prepData is used directly in a std::vector, without noexcept move operators this causes copying whenever the vector expands. Making the move operators noexcept allows optimization.

I also make minor changes suggested by clang-tidy

cc @ssnyder, I had to make adjustments to CachedUniquePtrT

Edited by Adam Edward Barton

Merge request reports