CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
TopHLTDiMuonDQMClient Class Reference

#include <TopHLTDiMuonDQMClient.h>

Inheritance diagram for TopHLTDiMuonDQMClient:
edm::EDAnalyzer

Public Member Functions

 TopHLTDiMuonDQMClient (const edm::ParameterSet &)
 
 ~TopHLTDiMuonDQMClient ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Protected Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 
void beginJob ()
 
void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
void beginRun (const edm::Run &, const edm::EventSetup &)
 
void endJob ()
 
void endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
void endRun (const edm::Run &, const edm::EventSetup &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Private Attributes

DQMStoredbe_
 
std::string monitorName_
 
MonitorElementMuonEfficiency_eta
 
MonitorElementMuonEfficiency_eta_sig
 
MonitorElementMuonEfficiency_eta_trig
 
MonitorElementMuonEfficiency_phi
 
MonitorElementMuonEfficiency_phi_sig
 
MonitorElementMuonEfficiency_phi_trig
 
MonitorElementMuonEfficiency_pT
 
MonitorElementMuonEfficiency_pT_LOGX
 
MonitorElementMuonEfficiency_pT_LOGX_sig
 
MonitorElementMuonEfficiency_pT_LOGX_trig
 
MonitorElementMuonEfficiency_pT_sig
 
MonitorElementMuonEfficiency_pT_trig
 
MonitorElementTriggerEfficiencies
 
MonitorElementTriggerEfficiencies_sig
 
MonitorElementTriggerEfficiencies_trig
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 25 of file TopHLTDiMuonDQMClient.h.

Constructor & Destructor Documentation

TopHLTDiMuonDQMClient::TopHLTDiMuonDQMClient ( const edm::ParameterSet ps)

Definition at line 13 of file TopHLTDiMuonDQMClient.cc.

References edm::ParameterSet::getParameter().

13  {
14 
15  monitorName_ = ps.getParameter<string>("monitorName");
16 
17 }
T getParameter(std::string const &) const
TopHLTDiMuonDQMClient::~TopHLTDiMuonDQMClient ( )

Definition at line 20 of file TopHLTDiMuonDQMClient.cc.

20  {
21 
22 }

Member Function Documentation

void TopHLTDiMuonDQMClient::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
protectedvirtual

Implements edm::EDAnalyzer.

Definition at line 40 of file TopHLTDiMuonDQMClient.cc.

40  {
41 
42 }
void TopHLTDiMuonDQMClient::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 25 of file TopHLTDiMuonDQMClient.cc.

25  {
26 
27 }
void TopHLTDiMuonDQMClient::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup context 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 35 of file TopHLTDiMuonDQMClient.cc.

35  {
36 
37 }
void TopHLTDiMuonDQMClient::beginRun ( const edm::Run r,
const edm::EventSetup context 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 30 of file TopHLTDiMuonDQMClient.cc.

30  {
31 
32 }
void TopHLTDiMuonDQMClient::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 102 of file TopHLTDiMuonDQMClient.cc.

102  {
103 
104 }
void TopHLTDiMuonDQMClient::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup context 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 45 of file TopHLTDiMuonDQMClient.cc.

45  {
46 
47 }
void TopHLTDiMuonDQMClient::endRun ( const edm::Run r,
const edm::EventSetup context 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 50 of file TopHLTDiMuonDQMClient.cc.

References dbe_, DQMStore::get(), MonitorElement::getTH1F(), and cppFunctionSkipper::operator.

50  {
51 
53 
54  TriggerEfficiencies_sig = dbe_->get(monitorName_+"TriggerEfficiencies_sig");
55  TriggerEfficiencies_trig = dbe_->get(monitorName_+"TriggerEfficiencies_trig");
56  TriggerEfficiencies = dbe_->get(monitorName_+"TriggerEfficiencies");
57 
58  TriggerEfficiencies_sig->getTH1F()->Sumw2();
60 
62 
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");
66 
67  MuonEfficiency_pT_sig->getTH1F()->Sumw2();
68  MuonEfficiency_pT_trig->getTH1F()->Sumw2();
69 
71 
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");
75 
78 
80 
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");
84 
85  MuonEfficiency_eta_sig->getTH1F()->Sumw2();
86  MuonEfficiency_eta_trig->getTH1F()->Sumw2();
87 
89 
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");
93 
94  MuonEfficiency_phi_sig->getTH1F()->Sumw2();
95  MuonEfficiency_phi_trig->getTH1F()->Sumw2();
96 
98 
99 }
MonitorElement * MuonEfficiency_phi_trig
MonitorElement * MuonEfficiency_pT_sig
MonitorElement * MuonEfficiency_phi_sig
MonitorElement * MuonEfficiency_eta
MonitorElement * MuonEfficiency_pT
MonitorElement * TriggerEfficiencies_sig
MonitorElement * TriggerEfficiencies
MonitorElement * MuonEfficiency_eta_trig
MonitorElement * TriggerEfficiencies_trig
MonitorElement * MuonEfficiency_pT_LOGX
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1468
MonitorElement * MuonEfficiency_eta_sig
MonitorElement * MuonEfficiency_pT_trig
MonitorElement * MuonEfficiency_pT_LOGX_sig
TH1F * getTH1F(void) const
MonitorElement * MuonEfficiency_pT_LOGX_trig
MonitorElement * MuonEfficiency_phi

Member Data Documentation

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.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_eta
private

Definition at line 61 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_eta_sig
private

Definition at line 62 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_eta_trig
private

Definition at line 63 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_phi
private

Definition at line 65 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_phi_sig
private

Definition at line 66 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_phi_trig
private

Definition at line 67 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT
private

Definition at line 53 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_LOGX
private

Definition at line 57 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_LOGX_sig
private

Definition at line 58 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_LOGX_trig
private

Definition at line 59 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_sig
private

Definition at line 54 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_trig
private

Definition at line 55 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::TriggerEfficiencies
private

Definition at line 49 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::TriggerEfficiencies_sig
private

Definition at line 50 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::TriggerEfficiencies_trig
private

Definition at line 51 of file TopHLTDiMuonDQMClient.h.