|
|
Go to the documentation of this file.
74 bookClone2D(ibooker, igetter,
"eff_etaphi_dtcsc",
"efficiency DTCSC vs eta and phi",
"etaphi_DTCSC_and_RPC");
84 bookClone2D(ibooker, igetter,
"eff_etaphi_rpc",
"efficiency RPC vs eta and phi",
"etaphi_DTCSC_and_RPC");
105 LogDebug(
"TriggerDQM") <<
"L1TGMTClient: processing..." << std::endl;
128 if (mer ==
nullptr) {
129 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::makeRatio1D: monitoring element zero, not able to retrieve histogram"
136 if (hr && h1 && h2) {
137 hr->Divide(h1, h2, 1., 1.,
" ");
152 if (meeff ==
nullptr) {
153 LogDebug(
"TriggerDQM") <<
"L1TGMTClient::makeEfficiency1D: monitoring element zero, not able to retrieve histogram"
160 if (heff &&
he &&
hi) {
161 TH1F* hall = (TH1F*)
he->Clone(
"hall");
163 heff->Divide(
he, hall, 1., 1.,
"B");
179 if (meeff ==
nullptr) {
181 <<
"\nL1TGMTClient::makeEfficiency2D: monitoring element zero, not able to retrieve histogram" << std::endl;
187 if (heff &&
he &&
hi) {
188 TH2F* hall = (TH2F*)
he->Clone(
"hall");
190 heff->Divide(
he, hall, 1., 1.,
"B");
200 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient: " << meName <<
" NOT FOUND.";
212 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient: " << meName <<
" NOT FOUND.";
229 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::bookClone1D: booking histogram " << hrefName << std::endl;
230 const unsigned nbx =
href->GetNbinsX();
231 const double xmin =
href->GetXaxis()->GetXmin();
232 const double xmax =
href->GetXaxis()->GetXmax();
236 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::bookClone1D: not able to clone histogram " << hrefName << std::endl;
254 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::bookClone1DVB: booking histogram " << hrefName << std::endl;
255 int nbx =
href->GetNbinsX();
259 for (
int i = 0;
i < nbx;
i++) {
262 xbins[nbx] =
href->GetXaxis()->GetXmax();
268 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::bookClone1DVB: not able to clone histogram " << hrefName << std::endl;
286 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::bookClone2D: booking histogram " << hrefName << std::endl;
287 const unsigned nbx =
href->GetNbinsX();
288 const double xmin =
href->GetXaxis()->GetXmin();
289 const double xmax =
href->GetXaxis()->GetXmax();
290 const unsigned nby =
href->GetNbinsY();
291 const double ymin =
href->GetYaxis()->GetXmin();
292 const double ymax =
href->GetYaxis()->GetXmax();
296 LogDebug(
"TriggerDQM") <<
"\nL1TGMTClient::bookClone2D: not able to clone histogram " << hrefName << std::endl;
MonitorElement * eff_etaphi_rpc
MonitorElement * eff_eta_dtcsc
MonitorElement * bookClone1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &name, const std::string &title, const std::string &hrefName)
MonitorElement * eff_phi_dtcsc
~L1TGMTClient() override
Destructor.
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
void makeRatio1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *mer, std::string h1Name, std::string h2Name)
MonitorElement * bookClone1DVB(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &name, const std::string &title, const std::string &hrefName)
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * eff_eta_rpc
virtual TH1F * getTH1F() const
L1TGMTClient(const edm::ParameterSet &)
Constructor.
MonitorElement * bookClone2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &name, const std::string &title, const std::string &hrefName)
TH1F * get1DHisto(std::string meName, DQMStore::IGetter &igetter)
void makeEfficiency2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *meeff, std::string heName, std::string hiName)
void processHistograms(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
TH2F * get2DHisto(std::string meName, DQMStore::IGetter &igetter)
void dqmEndLuminosityBlock(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &evSetup) override
void makeEfficiency1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *meeff, std::string heName, std::string hiName)
MonitorElement * eff_etaphi_dtcsc
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
edm::ParameterSet parameters_
virtual MonitorElement * get(std::string const &fullpath) const
MonitorElement * eff_phi_rpc
virtual void enableSumw2()
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
virtual TH2F * getTH2F() const