CMS 3D CMS Logo

DQMLumiMonitor.h
Go to the documentation of this file.
1 /*
2  * \class DQMLumiMonitor
3  *
4  * DQM Luminosity Monitoring
5  *
6  * \author S. Dutta
7  *
8 */
9 
10 #ifndef DQMLUMIMONITOR_H
11 #define DQMLUMIMONITOR_H
12 
13 #include <string>
14 #include <vector>
15 #include <map>
16 
21 
22 //DataFormats
25 
26 //
27 // class declaration
28 //
29 
31 public:
35  ~DQMLumiMonitor() override;
36 
37 protected:
38  void beginJob() override;
39  void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup) override;
40  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
41  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& eSetup) override;
42  void endRun(edm::Run const& iRun, edm::EventSetup const& iSetup) override;
43  void endJob() override;
44 
45 private:
46  void bookHistograms();
47 
49 
54 
55  DQMStore* dbe_;
56 
57  MonitorElement* nClusME_;
58  MonitorElement* intLumiVsLSME_;
59  MonitorElement* nClusVsLSME_;
60  MonitorElement* corrIntLumiAndClusVsLSME_;
61 
62  float intLumi_;
63  int nLumi_;
64  unsigned long long m_cacheID_;
65 };
66 
67 #endif // DQMLUMIMONITOR_H
edm::EDGetTokenT< LumiSummary > lumiRecordName_
MonitorElement * corrIntLumiAndClusVsLSME_
void endRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
edm::ParameterSet parameters_
dqm::legacy::DQMStore DQMStore
void endJob() override
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
DQMStore * dbe_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusterInputTag_
dqm::legacy::MonitorElement MonitorElement
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override
int iEvent
Definition: GenABIO.cc:224
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
MonitorElement * nClusVsLSME_
DQMLumiMonitor(const edm::ParameterSet &)
std::string moduleName_
~DQMLumiMonitor() override
void beginJob() override
MonitorElement * nClusME_
std::string folderName_
MonitorElement * intLumiVsLSME_
Definition: Run.h:45
unsigned long long m_cacheID_