155 LogInfo(
"HLTMonElectronConsumer") <<
" reading histo: " << tmpname;
159 for(
int i = 0;
i<4;
i++){
160 LogInfo(
"HLTMonElectronConsumer") <<
"loop iteration: "<<
i ;
162 LogInfo(
"HLTMonElectronConsumer") <<
"retrieving: " <<
pixeldirname_ +
"/" + refhist->GetXaxis()->GetBinLabel(
i+1) +
"eta";
163 tmpname =
pixeldirname_ +
"/" + refhist->GetXaxis()->GetBinLabel(
i+1) +
"eta";
165 tmpname =
pixeldirname_ +
"/" + refhist->GetXaxis()->GetBinLabel(
i+1) +
"et";
167 tmpname =
pixeldirname_ +
"/" + refhist->GetXaxis()->GetBinLabel(
i+1) +
"phi";
170 LogInfo(
"HLTMonElectronConsumer") <<
"Et ";
172 pixelhistosEtOut[0] =
dbe->
book1D(
"pixel eff et",
"pixel eff et",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
173 pixelhistosEtOut[1] =
dbe->
book1D(
"track eff et",
"track eff et",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
174 LogInfo(
"HLTMonElectronConsumer") <<
"Eta ";
176 pixelhistosEtaOut[0] =
dbe->
book1D(
"pixel eff eta",
"pixel eff eta",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
177 pixelhistosEtaOut[1] =
dbe->
book1D(
"track eff eta",
"track eff eta",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
178 LogInfo(
"HLTMonElectronConsumer") <<
"Phi ";
180 pixelhistosPhiOut[0] =
dbe->
book1D(
"pixel eff phi",
"pixel eff phi",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
181 pixelhistosPhiOut[1] =
dbe->
book1D(
"track eff phi",
"track eff phi",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
183 LogInfo(
"HLTMonElectronConsumer") <<
"pixelhisto doesn't exist during beginJob" ;
192 LogInfo(
"HLTMonElectronConsumer") <<
" reading histo: " << tmpname;
195 isocheck =
dbe->
book1D(
"consistency check",
"consistency check",refhist->GetNbinsX(),refhist->GetXaxis()->GetXmin(),refhist->GetXaxis()->GetXmax());
std::string pixeldirname_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
MonitorElement * pixelEff
MonitorElement * pixelhistosEta[4]
MonitorElement * pixelhistosEtOut[2]
MonitorElement * pixeltotal
MonitorElement * bookFloat(const char *name)
Book float.
MonitorElement * pixelhistosPhiOut[2]
MonitorElement * pixelhistosPhi[4]
MonitorElement * pixelhistosEtaOut[2]
MonitorElement * pixelhistosEt[4]
const std::string & getPathname(void) const
get pathname of parent folder
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * isocheck
TH1F * getTH1F(void) const
MonitorElement * trackEff
MonitorElement * isototal
void setCurrentFolder(const std::string &fullpath)