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 edm::EDConsumerBase

Public Member Functions

 TopHLTDiMuonDQMClient (const edm::ParameterSet &)
 
 ~TopHLTDiMuonDQMClient ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

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::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

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
 
- 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 23 of file TopHLTDiMuonDQMClient.h.

Constructor & Destructor Documentation

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

Definition at line 11 of file TopHLTDiMuonDQMClient.cc.

References edm::ParameterSet::getParameter().

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

Definition at line 18 of file TopHLTDiMuonDQMClient.cc.

18  {
19 
20 }

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 38 of file TopHLTDiMuonDQMClient.cc.

38  {
39 
40 }
void TopHLTDiMuonDQMClient::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 23 of file TopHLTDiMuonDQMClient.cc.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 33 of file TopHLTDiMuonDQMClient.cc.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 28 of file TopHLTDiMuonDQMClient.cc.

28  {
29 
30 }
void TopHLTDiMuonDQMClient::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 100 of file TopHLTDiMuonDQMClient.cc.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 43 of file TopHLTDiMuonDQMClient.cc.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 48 of file TopHLTDiMuonDQMClient.cc.

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

48  {
49 
51 
52  TriggerEfficiencies_sig = dbe_->get(monitorName_+"TriggerEfficiencies_sig");
53  TriggerEfficiencies_trig = dbe_->get(monitorName_+"TriggerEfficiencies_trig");
54  TriggerEfficiencies = dbe_->get(monitorName_+"TriggerEfficiencies");
55 
56  TriggerEfficiencies_sig->getTH1F()->Sumw2();
58 
60 
61  MuonEfficiency_pT_sig = dbe_->get(monitorName_+"MuonEfficiency_pT_sig");
62  MuonEfficiency_pT_trig = dbe_->get(monitorName_+"MuonEfficiency_pT_trig");
63  MuonEfficiency_pT = dbe_->get(monitorName_+"MuonEfficiency_pT");
64 
65  MuonEfficiency_pT_sig->getTH1F()->Sumw2();
66  MuonEfficiency_pT_trig->getTH1F()->Sumw2();
67 
69 
70  MuonEfficiency_pT_LOGX_sig = dbe_->get(monitorName_+"MuonEfficiency_pT_LOGX_sig");
71  MuonEfficiency_pT_LOGX_trig = dbe_->get(monitorName_+"MuonEfficiency_pT_LOGX_trig");
72  MuonEfficiency_pT_LOGX = dbe_->get(monitorName_+"MuonEfficiency_pT_LOGX");
73 
76 
78 
79  MuonEfficiency_eta_sig = dbe_->get(monitorName_+"MuonEfficiency_eta_sig");
80  MuonEfficiency_eta_trig = dbe_->get(monitorName_+"MuonEfficiency_eta_trig");
81  MuonEfficiency_eta = dbe_->get(monitorName_+"MuonEfficiency_eta");
82 
83  MuonEfficiency_eta_sig->getTH1F()->Sumw2();
84  MuonEfficiency_eta_trig->getTH1F()->Sumw2();
85 
87 
88  MuonEfficiency_phi_sig = dbe_->get(monitorName_+"MuonEfficiency_phi_sig");
89  MuonEfficiency_phi_trig = dbe_->get(monitorName_+"MuonEfficiency_phi_trig");
90  MuonEfficiency_phi = dbe_->get(monitorName_+"MuonEfficiency_phi");
91 
92  MuonEfficiency_phi_sig->getTH1F()->Sumw2();
93  MuonEfficiency_phi_trig->getTH1F()->Sumw2();
94 
96 
97 }
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:1623
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 44 of file TopHLTDiMuonDQMClient.h.

std::string TopHLTDiMuonDQMClient::monitorName_
private

Definition at line 45 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_eta
private

Definition at line 59 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_eta_sig
private

Definition at line 60 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_eta_trig
private

Definition at line 61 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_phi
private

Definition at line 63 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_phi_sig
private

Definition at line 64 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_phi_trig
private

Definition at line 65 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT
private

Definition at line 51 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_LOGX
private

Definition at line 55 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_LOGX_sig
private

Definition at line 56 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_LOGX_trig
private

Definition at line 57 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_sig
private

Definition at line 52 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::MuonEfficiency_pT_trig
private

Definition at line 53 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::TriggerEfficiencies
private

Definition at line 47 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::TriggerEfficiencies_sig
private

Definition at line 48 of file TopHLTDiMuonDQMClient.h.

MonitorElement* TopHLTDiMuonDQMClient::TriggerEfficiencies_trig
private

Definition at line 49 of file TopHLTDiMuonDQMClient.h.