Definition at line 72 of file ParticleScaleFactorTool.h.
◆ getHist()
Definition at line 225 of file ParticleScaleFactorTool.cxx.
225 {
226
227 std::pair<CP::SystematicVariation,TH1*>
result(CP::SystematicVariation(
""),0);
228 for(
auto& s :
hists) {
229 if(
s.first.basename()!=
set.basename())
continue;
231 else {
232 if(
set.parameter()*
s.first.parameter()>0)
result =
s;
233 }
234 }
236
237 auto it =
hists.find(CP::SystematicVariation(
""));
238 if (it !=
hists.end()){
240 } else {
241 throw std::runtime_error("ParticleScaleFactorTool::Hists::getHist: hist not found!");
242 }
244}
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
std::map< CP::SystematicVariation, TH1 * > hists
◆ axisFuncs
| std::vector<std::function<double(const xAOD::IParticle&)> > ParticleScaleFactorTool::Hists::axisFuncs |
◆ hists
The documentation for this struct was generated from the following files: