CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
12 class L1TGMTClient : public DQMEDHarvester {
13 public:
16 
18  ~L1TGMTClient() override;
19 
20 protected:
21  void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
23  DQMStore::IGetter &igetter,
24  const edm::LuminosityBlock &lumiSeg,
25  const edm::EventSetup &evSetup) override;
26 
27 private:
28  void initialize();
29  void processHistograms(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
30  void makeRatio1D(DQMStore::IBooker &ibooker,
31  DQMStore::IGetter &igetter,
32  MonitorElement *mer,
33  std::string h1Name,
34  std::string h2Name);
35  void makeEfficiency1D(DQMStore::IBooker &ibooker,
36  DQMStore::IGetter &igetter,
37  MonitorElement *meeff,
38  std::string heName,
39  std::string hiName);
40  void makeEfficiency2D(DQMStore::IBooker &ibooker,
41  DQMStore::IGetter &igetter,
42  MonitorElement *meeff,
43  std::string heName,
44  std::string hiName);
45  TH1F *get1DHisto(std::string meName, DQMStore::IGetter &igetter);
46  TH2F *get2DHisto(std::string meName, DQMStore::IGetter &igetter);
47 
49  DQMStore::IGetter &igetter,
50  const std::string &name,
51  const std::string &title,
52  const std::string &hrefName);
54  DQMStore::IGetter &igetter,
55  const std::string &name,
56  const std::string &title,
57  const std::string &hrefName);
59  DQMStore::IGetter &igetter,
60  const std::string &name,
61  const std::string &title,
62  const std::string &hrefName);
63 
68 
73 
74  // -------- member data --------
81 };
82 
83 #endif
void makeEfficiency2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *meeff, std::string heName, std::string hiName)
void processHistograms(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
std::string monitorName_
Definition: L1TGMTClient.h:65
void dqmEndLuminosityBlock(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &evSetup) override
Definition: L1TGMTClient.cc:98
TH2F * get2DHisto(std::string meName, DQMStore::IGetter &igetter)
MonitorElement * eff_eta_rpc
Definition: L1TGMTClient.h:76
void makeEfficiency1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *meeff, std::string heName, std::string hiName)
bool m_runInEndJob
Definition: L1TGMTClient.h:72
MonitorElement * eff_etaphi_dtcsc
Definition: L1TGMTClient.h:79
void initialize()
Definition: L1TGMTClient.cc:18
std::string input_dir_
Definition: L1TGMTClient.h:66
bool m_runInEventLoop
Definition: L1TGMTClient.h:69
bool m_runInEndLumi
Definition: L1TGMTClient.h:70
MonitorElement * eff_etaphi_rpc
Definition: L1TGMTClient.h:80
MonitorElement * eff_phi_rpc
Definition: L1TGMTClient.h:78
MonitorElement * eff_eta_dtcsc
Definition: L1TGMTClient.h:75
MonitorElement * bookClone1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &name, const std::string &title, const std::string &hrefName)
MonitorElement * eff_phi_dtcsc
Definition: L1TGMTClient.h:77
void makeRatio1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *mer, std::string h1Name, std::string h2Name)
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
Definition: L1TGMTClient.cc:36
MonitorElement * bookClone1DVB(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &name, const std::string &title, const std::string &hrefName)
bool m_runInEndRun
Definition: L1TGMTClient.h:71
L1TGMTClient(const edm::ParameterSet &)
Constructor.
Definition: L1TGMTClient.cc:10
~L1TGMTClient() override
Destructor.
Definition: L1TGMTClient.cc:15
std::string output_dir_
Definition: L1TGMTClient.h:67
MonitorElement * bookClone2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &name, const std::string &title, const std::string &hrefName)
TH1F * get1DHisto(std::string meName, DQMStore::IGetter &igetter)
edm::ParameterSet parameters_
Definition: L1TGMTClient.h:64