1 #ifndef Analysis_Tools_BaseAnalyser_h 2 #define Analysis_Tools_BaseAnalyser_h 1 28 #include "boost/program_options.hpp" 35 #include "TGraphAsymmErrors.h" 37 namespace po = boost::program_options;
80 std::map<std::string, std::shared_ptr<TH1F> >
h1_;
82 std::map<std::string, std::shared_ptr<TH2F> >
h2_;
84 std::map<std::string, std::shared_ptr<TGraphAsymmErrors> >
btageff_;
121 std::shared_ptr<Analysis>
analysis();
123 std::shared_ptr<Config>
config();
130 std::map<std::string, std::shared_ptr<TH1F> >
histograms();
132 std::shared_ptr<TH1F>
histogram(
const std::string &);
139 void cutflow(
const std::string & label,
const bool & ok =
true);
143 virtual bool event(
const int &);
145 virtual void histograms(
const std::string &,
const int &);
150 int seed(
const std::string &);
152 void seed(
const int &);
157 void weight(
const float &);
166 std::shared_ptr<TFile>
output();
176 float pileupWeight(
const float & truepu,
const int & var)
const;
186 void scale(
const float &);
189 std::string
basename(
const std::string &);
199 std::map<std::string, std::shared_ptr<TGraphAsymmErrors> >
btagEfficiencies()
const;
207 virtual bool triggerEmulation(
const std::string &,
const int &,
const float &,
const float &,
const std::string & );
220 #endif // Analysis_Tools_BaseAnalyser_h