CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 DQMLUMIMONITORH
12 
13 #include <string>
14 #include <vector>
15 #include <map>
16 
22 
23 //DataFormats
26 
27 //
28 // class declaration
29 //
30 
32 public:
35 
36 protected:
37 
38  void beginJob();
39  void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup);
40  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup);
41  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& eSetup);
42  void endRun(edm::Run const& iRun, edm::EventSetup const& iSetup);
43  void endJob();
44 
45 private:
46 
47  void bookHistograms();
48 
50 
55 
57 
62 
63  float intLumi_;
64  int nLumi_;
65  unsigned long long m_cacheID_;
66 };
67 
68 #endif
edm::EDGetTokenT< LumiSummary > lumiRecordName_
MonitorElement * corrIntLumiAndClusVsLSME_
edm::ParameterSet parameters_
DQMStore * dbe_
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusterInputTag_
int iEvent
Definition: GenABIO.cc:230
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup)
MonitorElement * nClusVsLSME_
DQMLumiMonitor(const edm::ParameterSet &)
std::string moduleName_
MonitorElement * nClusME_
std::string folderName_
void endRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
MonitorElement * intLumiVsLSME_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup)
Definition: Run.h:41
unsigned long long m_cacheID_