#include <TopHLTDiMuonDQMClient.h>
Definition at line 25 of file TopHLTDiMuonDQMClient.h.
TopHLTDiMuonDQMClient::TopHLTDiMuonDQMClient | ( | const edm::ParameterSet & | ps | ) |
Definition at line 13 of file TopHLTDiMuonDQMClient.cc.
References edm::ParameterSet::getParameter().
{ monitorName_ = ps.getParameter<string>("monitorName"); }
TopHLTDiMuonDQMClient::~TopHLTDiMuonDQMClient | ( | ) |
Definition at line 20 of file TopHLTDiMuonDQMClient.cc.
{ }
void TopHLTDiMuonDQMClient::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [protected, virtual] |
void TopHLTDiMuonDQMClient::beginJob | ( | void | ) | [protected, virtual] |
void TopHLTDiMuonDQMClient::beginLuminosityBlock | ( | const edm::LuminosityBlock & | lumiSeg, |
const edm::EventSetup & | context | ||
) | [protected, virtual] |
void TopHLTDiMuonDQMClient::beginRun | ( | const edm::Run & | r, |
const edm::EventSetup & | context | ||
) | [protected, virtual] |
void TopHLTDiMuonDQMClient::endJob | ( | void | ) | [protected, virtual] |
void TopHLTDiMuonDQMClient::endLuminosityBlock | ( | const edm::LuminosityBlock & | lumiSeg, |
const edm::EventSetup & | context | ||
) | [protected, virtual] |
void TopHLTDiMuonDQMClient::endRun | ( | const edm::Run & | r, |
const edm::EventSetup & | context | ||
) | [protected, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 50 of file TopHLTDiMuonDQMClient.cc.
References dbe_, DQMStore::get(), MonitorElement::getTH1F(), and cmsCodeRules::cppFunctionSkipper::operator.
{ dbe_ = Service<DQMStore>().operator->(); TriggerEfficiencies_sig = dbe_->get(monitorName_+"TriggerEfficiencies_sig"); TriggerEfficiencies_trig = dbe_->get(monitorName_+"TriggerEfficiencies_trig"); TriggerEfficiencies = dbe_->get(monitorName_+"TriggerEfficiencies"); TriggerEfficiencies_sig->getTH1F()->Sumw2(); TriggerEfficiencies_trig->getTH1F()->Sumw2(); TriggerEfficiencies->getTH1F()->Divide(TriggerEfficiencies_sig->getTH1F(),TriggerEfficiencies_trig->getTH1F(),1.,1.,"B"); MuonEfficiency_pT_sig = dbe_->get(monitorName_+"MuonEfficiency_pT_sig"); MuonEfficiency_pT_trig = dbe_->get(monitorName_+"MuonEfficiency_pT_trig"); MuonEfficiency_pT = dbe_->get(monitorName_+"MuonEfficiency_pT"); MuonEfficiency_pT_sig->getTH1F()->Sumw2(); MuonEfficiency_pT_trig->getTH1F()->Sumw2(); MuonEfficiency_pT->getTH1F()->Divide(MuonEfficiency_pT_sig->getTH1F(),MuonEfficiency_pT_trig->getTH1F(),1.,1.,"B"); MuonEfficiency_pT_LOGX_sig = dbe_->get(monitorName_+"MuonEfficiency_pT_LOGX_sig"); MuonEfficiency_pT_LOGX_trig = dbe_->get(monitorName_+"MuonEfficiency_pT_LOGX_trig"); MuonEfficiency_pT_LOGX = dbe_->get(monitorName_+"MuonEfficiency_pT_LOGX"); MuonEfficiency_pT_LOGX_sig->getTH1F()->Sumw2(); MuonEfficiency_pT_LOGX_trig->getTH1F()->Sumw2(); MuonEfficiency_pT_LOGX->getTH1F()->Divide(MuonEfficiency_pT_LOGX_sig->getTH1F(),MuonEfficiency_pT_LOGX_trig->getTH1F(),1.,1.,"B"); MuonEfficiency_eta_sig = dbe_->get(monitorName_+"MuonEfficiency_eta_sig"); MuonEfficiency_eta_trig = dbe_->get(monitorName_+"MuonEfficiency_eta_trig"); MuonEfficiency_eta = dbe_->get(monitorName_+"MuonEfficiency_eta"); MuonEfficiency_eta_sig->getTH1F()->Sumw2(); MuonEfficiency_eta_trig->getTH1F()->Sumw2(); MuonEfficiency_eta->getTH1F()->Divide(MuonEfficiency_eta_sig->getTH1F(),MuonEfficiency_eta_trig->getTH1F(),1.,1.,"B"); MuonEfficiency_phi_sig = dbe_->get(monitorName_+"MuonEfficiency_phi_sig"); MuonEfficiency_phi_trig = dbe_->get(monitorName_+"MuonEfficiency_phi_trig"); MuonEfficiency_phi = dbe_->get(monitorName_+"MuonEfficiency_phi"); MuonEfficiency_phi_sig->getTH1F()->Sumw2(); MuonEfficiency_phi_trig->getTH1F()->Sumw2(); MuonEfficiency_phi->getTH1F()->Divide(MuonEfficiency_phi_sig->getTH1F(),MuonEfficiency_phi_trig->getTH1F(),1.,1.,"B"); }
DQMStore* TopHLTDiMuonDQMClient::dbe_ [private] |
Definition at line 46 of file TopHLTDiMuonDQMClient.h.
std::string TopHLTDiMuonDQMClient::monitorName_ [private] |
Definition at line 47 of file TopHLTDiMuonDQMClient.h.
Definition at line 61 of file TopHLTDiMuonDQMClient.h.
Definition at line 62 of file TopHLTDiMuonDQMClient.h.
Definition at line 63 of file TopHLTDiMuonDQMClient.h.
Definition at line 65 of file TopHLTDiMuonDQMClient.h.
Definition at line 66 of file TopHLTDiMuonDQMClient.h.
Definition at line 67 of file TopHLTDiMuonDQMClient.h.
Definition at line 53 of file TopHLTDiMuonDQMClient.h.
Definition at line 57 of file TopHLTDiMuonDQMClient.h.
Definition at line 58 of file TopHLTDiMuonDQMClient.h.
Definition at line 59 of file TopHLTDiMuonDQMClient.h.
Definition at line 54 of file TopHLTDiMuonDQMClient.h.
Definition at line 55 of file TopHLTDiMuonDQMClient.h.
Definition at line 49 of file TopHLTDiMuonDQMClient.h.
Definition at line 50 of file TopHLTDiMuonDQMClient.h.
Definition at line 51 of file TopHLTDiMuonDQMClient.h.