73 if (!meBTLTrackEffEtaTot || !meBTLTrackEffPhiTot || !meBTLTrackEffPtTot || !meBTLTrackEffEtaMtd ||
74 !meBTLTrackEffPhiMtd || !meBTLTrackEffPtMtd || !meETLTrackEffEtaTotZneg || !meETLTrackEffPhiTotZneg ||
75 !meETLTrackEffPtTotZneg || !meETLTrackEffEtaMtdZneg || !meETLTrackEffPhiMtdZneg || !meETLTrackEffPtMtdZneg ||
76 !meETLTrackEffEtaTotZpos || !meETLTrackEffPhiTotZpos || !meETLTrackEffPtTotZpos || !meETLTrackEffEtaMtdZpos ||
77 !meETLTrackEffPhiMtdZpos || !meETLTrackEffPtMtdZpos || !meMVATrackEffPtTot || !meMVATrackMatchedEffPtTot ||
78 !meMVATrackMatchedEffPtMtd || !meMVATrackEffEtaTot || !meMVATrackMatchedEffEtaTot ||
79 !meMVATrackMatchedEffEtaMtd) {
80 edm::LogError(
"MtdTracksHarvester") <<
"Monitoring histograms not found!" << std::endl;
87 " Track Efficiency VS Eta;#eta;Efficiency",
89 meBTLTrackEffEtaTot->
getTH1()->GetXaxis()->GetXmin(),
90 meBTLTrackEffEtaTot->
getTH1()->GetXaxis()->GetXmax());
92 "Track Efficiency VS Phi;#phi [rad];Efficiency",
94 meBTLTrackEffPhiTot->
getTH1()->GetXaxis()->GetXmin(),
95 meBTLTrackEffPhiTot->
getTH1()->GetXaxis()->GetXmax());
97 "Track Efficiency VS Pt;Pt [GeV];Efficiency",
99 meBTLTrackEffPtTot->
getTH1()->GetXaxis()->GetXmin(),
100 meBTLTrackEffPtTot->
getTH1()->GetXaxis()->GetXmax());
102 " Track Efficiency VS Eta (-Z);#eta;Efficiency",
104 meETLTrackEffEtaTotZneg->
getTH1()->GetXaxis()->GetXmin(),
105 meETLTrackEffEtaTotZneg->
getTH1()->GetXaxis()->GetXmax());
107 "Track Efficiency VS Phi (-Z);#phi [rad];Efficiency",
109 meETLTrackEffPhiTotZneg->
getTH1()->GetXaxis()->GetXmin(),
110 meETLTrackEffPhiTotZneg->
getTH1()->GetXaxis()->GetXmax());
112 "Track Efficiency VS Pt (-Z);Pt [GeV];Efficiency",
114 meETLTrackEffPtTotZneg->
getTH1()->GetXaxis()->GetXmin(),
115 meETLTrackEffPtTotZneg->
getTH1()->GetXaxis()->GetXmax());
117 " Track Efficiency VS Eta (+Z);#eta;Efficiency",
119 meETLTrackEffEtaTotZpos->
getTH1()->GetXaxis()->GetXmin(),
120 meETLTrackEffEtaTotZpos->
getTH1()->GetXaxis()->GetXmax());
122 "Track Efficiency VS Phi (+Z);#phi [rad];Efficiency",
124 meETLTrackEffPhiTotZpos->
getTH1()->GetXaxis()->GetXmin(),
125 meETLTrackEffPhiTotZpos->
getTH1()->GetXaxis()->GetXmax());
127 "Track Efficiency VS Pt (+Z);Pt [GeV];Efficiency",
129 meETLTrackEffPtTotZpos->
getTH1()->GetXaxis()->GetXmin(),
130 meETLTrackEffPtTotZpos->
getTH1()->GetXaxis()->GetXmax());
132 "Track selected efficiency VS Pt;Pt [GeV];Efficiency",
134 meMVATrackEffPtTot->
getTH1()->GetXaxis()->GetXmin(),
135 meMVATrackEffPtTot->
getTH1()->GetXaxis()->GetXmax());
137 "Track selected efficiency VS Eta;Eta;Efficiency",
139 meMVATrackEffEtaTot->
getTH1()->GetXaxis()->GetXmin(),
140 meMVATrackEffEtaTot->
getTH1()->GetXaxis()->GetXmax());
142 "Track matched to GEN efficiency VS Pt;Pt [GeV];Efficiency",
144 meMVATrackMatchedEffPtTot->
getTH1()->GetXaxis()->GetXmin(),
145 meMVATrackMatchedEffPtTot->
getTH1()->GetXaxis()->GetXmax());
147 "Track matched to GEN efficiency VS Eta;Eta;Efficiency",
149 meMVATrackMatchedEffEtaTot->
getTH1()->GetXaxis()->GetXmin(),
150 meMVATrackMatchedEffEtaTot->
getTH1()->GetXaxis()->GetXmax());
155 for (
int i = 0;
i < 2;
i++) {
166 for (
int ibin = 1; ibin <= meBTLTrackEffEtaTot->
getNbinsX(); ibin++) {
178 for (
int ibin = 1; ibin <= meBTLTrackEffPhiTot->
getNbinsX(); ibin++) {
190 for (
int ibin = 1; ibin <= meBTLTrackEffPtTot->
getNbinsX(); ibin++) {
203 for (
int ibin = 1; ibin <= meETLTrackEffEtaTotZneg->
getNbinsX(); ibin++) {
217 for (
int ibin = 1; ibin <= meETLTrackEffEtaTotZpos->
getNbinsX(); ibin++) {
231 for (
int ibin = 1; ibin <= meETLTrackEffPhiTotZneg->
getNbinsX(); ibin++) {
245 for (
int ibin = 1; ibin <= meETLTrackEffPhiTotZpos->
getNbinsX(); ibin++) {
259 for (
int ibin = 1; ibin <= meETLTrackEffPtTotZneg->
getNbinsX(); ibin++) {
273 for (
int ibin = 1; ibin <= meETLTrackEffPtTotZpos->
getNbinsX(); ibin++) {
287 for (
int ibin = 1; ibin <= meMVATrackEffPtTot->
getNbinsX(); ibin++) {
300 for (
int ibin = 1; ibin <= meMVATrackEffEtaTot->
getNbinsX(); ibin++) {
314 for (
int ibin = 1; ibin <= meMVATrackMatchedEffPtTot->
getNbinsX(); ibin++) {
328 for (
int ibin = 1; ibin <= meMVATrackMatchedEffEtaTot->
getNbinsX(); ibin++) {
MonitorElement * meMVAEtaMatchEff_
Log< level::Error, false > LogError
virtual int getNbinsX() const
get # of bins in X-axis
MonitorElement * meMVAPtSelEff_
virtual MonitorElement * get(std::string const &fullpath) const
MonitorElement * meEtlPhiEff_[2]
MonitorElement * meMVAPtMatchEff_
MonitorElement * meEtlPtEff_[2]
const std::string folder_
MonitorElement * meBtlPtEff_
virtual double getBinContent(int binx) const
get content of bin (1-D)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * meBtlEtaEff_
MonitorElement * meBtlPhiEff_
virtual void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * meMVAEtaSelEff_
MonitorElement * meEtlEtaEff_[2]
virtual TH1 * getTH1() const
Power< A, B >::type pow(const A &a, const B &b)