3 #include <FWCore/ParameterSet/interface/ParameterSet.h>
5 #include <cp3_llbb/Framework/interface/Histogram.h>
6 #include <cp3_llbb/Framework/interface/BinnedValues.h>
7 #include <cp3_llbb/TreeWrapper/interface/TreeWrapper.h>
9 #include <boost/property_tree/ptree.hpp>
21 virtual void create_branches(
const edm::ParameterSet&)
final;
22 virtual void create_branch(
const std::string& scale_factor,
const std::string& branch_name);
24 virtual void store_scale_factors(
const Parameters&,
bool isData)
final;
26 virtual float get_scale_factor(
const std::string& tag,
size_t index, Variation variation = Variation::Nominal)
final;
29 ROOT::TreeGroup& m_tree;
31 std::map<std::string, std::vector<std::vector<float>>*> m_branches;
32 std::map<std::string, std::unique_ptr<BinnedValues>> m_scale_factors;
Definition: BinnedValues.h:67
Definition: ScaleFactors.h:13