CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
XmasToDQMSource.h
Go to the documentation of this file.
1 #ifndef XmasToDQMSource_H
2 #define XmasToDQMSource_H
3 
12 
15 
16 #include "ToDqm.h"
17 #include "xdata/Table.h"
18 
19 //#include <set>
20 #include <map>
21 
22 //#include <fstream>
23 //
24 // class declaration
25 //
26 
27 struct Data
28 {
29  std::string lastTimestamp;
30  //MonitorElement * bxHistogram1D;
31  //MonitorElement * wcHistogram1D;
33 };
34 
36 public:
39 
40 protected:
41 
43  void beginJob();
44 
46  void beginRun(const edm::Run& r, const edm::EventSetup& c);
47 
49  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
50 
51  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
52  const edm::EventSetup& context) ;
53 
55  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
56  const edm::EventSetup& c);
57 
59  void endRun(const edm::Run& r, const edm::EventSetup& c);
60 
62  void endJob();
63 
64 private:
65 
67 
69  std::string monitorName_;
72 
74  // ----------member data ---------------------------
75 
77 
78 
79  //float XMIN; float XMAX;
80 
81  //std::map<std::string, MonitorElement * > HostSlotMap;
82  std::map<std::string, struct Data * > HostSlotMap;
83 
84  std::string previousTimestamp;
85  std::string NBINS;
86  std::string XMIN;
87  std::string XMAX;
88 
89  //ofstream myfile;
90 };
91 
92 #endif
93 
edm::ParameterSet parameters_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
std::map< std::string, struct Data * > HostSlotMap
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
std::string lastTimestamp
MonitorElement * Histogram1D
std::string XMAX
void beginJob()
BeginJob.
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
XmasToDQMSource(const edm::ParameterSet &)
void endJob()
Endjob.
std::string NBINS
std::string previousTimestamp
std::string monitorName_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
std::string XMIN
int prescaleEvt_
counter
MonitorElement * h1
Definition: Run.h:33