54 TriggerEfficiencies_sig =
dbe_->
get(monitorName_+
"TriggerEfficiencies_sig");
55 TriggerEfficiencies_trig =
dbe_->
get(monitorName_+
"TriggerEfficiencies_trig");
56 TriggerEfficiencies =
dbe_->
get(monitorName_+
"TriggerEfficiencies");
58 TriggerEfficiencies_sig->
getTH1F()->Sumw2();
59 TriggerEfficiencies_trig->getTH1F()->Sumw2();
61 TriggerEfficiencies->getTH1F()->Divide(TriggerEfficiencies_sig->getTH1F(),TriggerEfficiencies_trig->getTH1F(),1.,1.,
"B");
63 MuonEfficiency_pT_sig =
dbe_->
get(monitorName_+
"MuonEfficiency_pT_sig");
64 MuonEfficiency_pT_trig =
dbe_->
get(monitorName_+
"MuonEfficiency_pT_trig");
65 MuonEfficiency_pT =
dbe_->
get(monitorName_+
"MuonEfficiency_pT");
67 MuonEfficiency_pT_sig->
getTH1F()->Sumw2();
68 MuonEfficiency_pT_trig->getTH1F()->Sumw2();
70 MuonEfficiency_pT->getTH1F()->Divide(MuonEfficiency_pT_sig->getTH1F(),MuonEfficiency_pT_trig->getTH1F(),1.,1.,
"B");
72 MuonEfficiency_pT_LOGX_sig =
dbe_->
get(monitorName_+
"MuonEfficiency_pT_LOGX_sig");
73 MuonEfficiency_pT_LOGX_trig =
dbe_->
get(monitorName_+
"MuonEfficiency_pT_LOGX_trig");
74 MuonEfficiency_pT_LOGX =
dbe_->
get(monitorName_+
"MuonEfficiency_pT_LOGX");
76 MuonEfficiency_pT_LOGX_sig->
getTH1F()->Sumw2();
77 MuonEfficiency_pT_LOGX_trig->getTH1F()->Sumw2();
79 MuonEfficiency_pT_LOGX->getTH1F()->Divide(MuonEfficiency_pT_LOGX_sig->getTH1F(),MuonEfficiency_pT_LOGX_trig->getTH1F(),1.,1.,
"B");
81 MuonEfficiency_eta_sig =
dbe_->
get(monitorName_+
"MuonEfficiency_eta_sig");
82 MuonEfficiency_eta_trig =
dbe_->
get(monitorName_+
"MuonEfficiency_eta_trig");
83 MuonEfficiency_eta =
dbe_->
get(monitorName_+
"MuonEfficiency_eta");
85 MuonEfficiency_eta_sig->
getTH1F()->Sumw2();
86 MuonEfficiency_eta_trig->getTH1F()->Sumw2();
88 MuonEfficiency_eta->getTH1F()->Divide(MuonEfficiency_eta_sig->getTH1F(),MuonEfficiency_eta_trig->getTH1F(),1.,1.,
"B");
90 MuonEfficiency_phi_sig =
dbe_->
get(monitorName_+
"MuonEfficiency_phi_sig");
91 MuonEfficiency_phi_trig =
dbe_->
get(monitorName_+
"MuonEfficiency_phi_trig");
92 MuonEfficiency_phi =
dbe_->
get(monitorName_+
"MuonEfficiency_phi");
94 MuonEfficiency_phi_sig->
getTH1F()->Sumw2();
95 MuonEfficiency_phi_trig->getTH1F()->Sumw2();
97 MuonEfficiency_phi->getTH1F()->Divide(MuonEfficiency_phi_sig->getTH1F(),MuonEfficiency_phi_trig->getTH1F(),1.,1.,
"B");
T getParameter(std::string const &) const
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
TopHLTDiMuonDQMClient(const edm::ParameterSet &)
void endRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
TH1F * getTH1F(void) const
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
void analyze(const edm::Event &, const edm::EventSetup &)
void beginRun(const edm::Run &, const edm::EventSetup &)