6#ifndef ELECTRONEFFICIENCYCORRECTION_TELECTRONEFFICIENCYCORRECTIONTOOL_H
7#define ELECTRONEFFICIENCYCORRECTION_TELECTRONEFFICIENCYCORRECTIONTOOL_H
39 using HistArray = std::vector<std::unique_ptr<TH1>>;
47 std::vector<double>
Corr{};
48 std::vector<double>
toys{};
55 const char* name =
"TElectronEfficiencyCorrectionTool");
97 const double cluster_eta,
100 const bool onlyTotal =
false)
const;
104 int getNbins(std::map<
float, std::vector<float>>& ptEta)
const;
123 std::vector<std::vector<TH1*>>& sysObjs,
124 std::vector<std::vector<HistArray>>& uncorrToyMCSyst);
127 const std::vector<TH1*>& sf,
128 const std::vector<TH1*>& eig,
129 const std::vector<TH1*>& stat,
130 const std::vector<TH1*>& uncorr,
131 const std::vector<std::vector<TH1*>>& corr);
136 const std::vector<TH1*>& corr,
142 const std::vector<TH1*>& corr,
147 std::vector<std::vector<TH1*>>& objs,
148 std::vector<std::vector<TH1*>>& sysObjs,
149 int& seenSystematics);
153 int setup(
const std::vector<TH1*>& hists,
154 std::vector<HistArray>& histList,
155 std::vector<unsigned int>& beginRunNumberList,
156 std::vector<unsigned int>& endRunNumberList,
157 const int runNumBegin,
158 const int runNumEnd)
const;
168 static void fillHistEdges(
const std::vector<HistArray>& sfPerPeriodHist,
169 std::vector<std::vector<HistEdge>>& sfPerPeriodEdges) ;
Class mimicking the AthMessaging class from the offline software.
static std::vector< uint32_t > runnumber
Extra patterns decribing particle interation process.