CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TGMTClient.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1TGMTCLIENT_H
2 #define DQM_L1TMONITORCLIENT_L1TGMTCLIENT_H
3 
9 
10 #include <string>
11 
13 
14 public:
15 
18 
20  virtual ~L1TGMTClient();
21 
22 protected:
23 
25  void beginJob();
26 
28  void beginRun(const edm::Run&, const edm::EventSetup&);
29 
31  void analyze(const edm::Event&, const edm::EventSetup&);
32 
34  const edm::EventSetup&);
35 
37  void
39 
41  void endRun(const edm::Run&, const edm::EventSetup&);
42 
44  void endJob();
45 
46 private:
47 
48  void initialize();
49  void processHistograms();
50  void makeRatio1D(MonitorElement* mer, std::string h1Name,
51  std::string h2Name);
52  void makeEfficiency1D(MonitorElement *meeff, std::string heName,
53  std::string hiName);
54  void makeEfficiency2D(MonitorElement *meeff, std::string heName,
55  std::string hiName);
56  TH1F * get1DHisto(std::string meName, DQMStore* dbi);
57  TH2F * get2DHisto(std::string meName, DQMStore* dbi);
58 
60  const std::string& title, const std::string& hrefName);
62  const std::string& title, const std::string& hrefName);
64  const std::string& title, const std::string& hrefName);
65 
71 
76 
77  // -------- member data --------
84 
85 };
86 
87 #endif
std::string monitorName_
Definition: L1TGMTClient.h:68
void endJob()
Endjob.
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
DQM Client Diagnostic.
MonitorElement * bookClone1DVB(const std::string &name, const std::string &title, const std::string &hrefName)
void beginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
Definition: L1TGMTClient.cc:58
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
MonitorElement * eff_eta_rpc
Definition: L1TGMTClient.h:79
bool m_runInEndJob
Definition: L1TGMTClient.h:75
MonitorElement * eff_etaphi_dtcsc
Definition: L1TGMTClient.h:82
DQMStore * dbe_
Definition: L1TGMTClient.h:67
virtual ~L1TGMTClient()
Destructor.
Definition: L1TGMTClient.cc:16
void initialize()
Definition: L1TGMTClient.cc:21
std::string input_dir_
Definition: L1TGMTClient.h:69
bool m_runInEventLoop
Definition: L1TGMTClient.h:72
void analyze(const edm::Event &, const edm::EventSetup &)
Fake Analyze.
bool m_runInEndLumi
Definition: L1TGMTClient.h:73
MonitorElement * eff_etaphi_rpc
Definition: L1TGMTClient.h:83
void endRun(const edm::Run &, const edm::EventSetup &)
EndRun.
MonitorElement * eff_phi_rpc
Definition: L1TGMTClient.h:81
MonitorElement * eff_eta_dtcsc
Definition: L1TGMTClient.h:78
MonitorElement * eff_phi_dtcsc
Definition: L1TGMTClient.h:80
void makeEfficiency1D(MonitorElement *meeff, std::string heName, std::string hiName)
bool m_runInEndRun
Definition: L1TGMTClient.h:74
L1TGMTClient(const edm::ParameterSet &)
Constructor.
Definition: L1TGMTClient.cc:11
MonitorElement * bookClone1D(const std::string &name, const std::string &title, const std::string &hrefName)
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
void makeRatio1D(MonitorElement *mer, std::string h1Name, std::string h2Name)
void beginJob()
BeginJob.
Definition: L1TGMTClient.cc:51
MonitorElement * bookClone2D(const std::string &name, const std::string &title, const std::string &hrefName)
std::string output_dir_
Definition: L1TGMTClient.h:70
void makeEfficiency2D(MonitorElement *meeff, std::string heName, std::string hiName)
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
void processHistograms()
edm::ParameterSet parameters_
Definition: L1TGMTClient.h:66
Definition: Run.h:41