Follow-up from "Jet reconstruction efficiency checker"
The following discussion from !3768 should be addressed:
-
@graven started a discussion: (+5 comments) if you define this instead as:
using BC = Gaudi::Accumulators::BinomialCounter<unsigned int>; mutable std::array< std::pair<const double, BC>, 6 > m_jetrecoeff { std::pair{ 10. * Gaudi::Units::GeV, BC{this, "Jet Reconstruction efficiency min pT 10 GeV"}}, std::pair{ 20. * Gaudi::Units::GeV, BC{this, "Jet Reconstruction efficiency min pT 20 GeV"}}, std::pair{ 30. * Gaudi::Units::GeV, BC{this, "Jet Reconstruction efficiency min pT 30 GeV"}}, std::pair{ 40. * Gaudi::Units::GeV, BC{this, "Jet Reconstruction efficiency min pT 40 GeV"}}, std::pair{ 50. * Gaudi::Units::GeV, BC{this, "Jet Reconstruction efficiency min pT 50 GeV"}}, std::pair{ 60. * Gaudi::Units::GeV, BC{this, "Jet Reconstruction efficiency min pT 60 GeV"}} };
then the code below can be re-written as: