CMS 3D CMS Logo

L1TGMTClient.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1TGMTCLIENT_H
2 #define DQM_L1TMONITORCLIENT_L1TGMTCLIENT_H
3 
8 
9 #include <string>
10 
11 class L1TGMTClient : public DQMEDHarvester {
12 public:
15 
17  ~L1TGMTClient() override;
18 
19 protected:
20  void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
22  DQMStore::IGetter &igetter,
23  const edm::LuminosityBlock &lumiSeg,
24  const edm::EventSetup &evSetup) override;
25 
26 private:
27  void initialize();
28  void processHistograms(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
29  void makeRatio1D(DQMStore::IBooker &ibooker,
30  DQMStore::IGetter &igetter,
31  MonitorElement *mer,
32  std::string h1Name,
33  std::string h2Name);
34  void makeEfficiency1D(DQMStore::IBooker &ibooker,
35  DQMStore::IGetter &igetter,
36  MonitorElement *meeff,
37  std::string heName,
38  std::string hiName);
39  void makeEfficiency2D(DQMStore::IBooker &ibooker,
40  DQMStore::IGetter &igetter,
41  MonitorElement *meeff,
42  std::string heName,
43  std::string hiName);
44  TH1F *get1DHisto(std::string meName, DQMStore::IGetter &igetter);
45  TH2F *get2DHisto(std::string meName, DQMStore::IGetter &igetter);
46 
48  DQMStore::IGetter &igetter,
49  const std::string &name,
50  const std::string &title,
51  const std::string &hrefName);
53  DQMStore::IGetter &igetter,
54  const std::string &name,
55  const std::string &title,
56  const std::string &hrefName);
58  DQMStore::IGetter &igetter,
59  const std::string &name,
60  const std::string &title,
61  const std::string &hrefName);
62 
67 
72 
73  // -------- member data --------
80 };
81 
82 #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:64
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:75
void makeEfficiency1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, MonitorElement *meeff, std::string heName, std::string hiName)
bool m_runInEndJob
Definition: L1TGMTClient.h:71
MonitorElement * eff_etaphi_dtcsc
Definition: L1TGMTClient.h:78
void initialize()
Definition: L1TGMTClient.cc:18
std::string input_dir_
Definition: L1TGMTClient.h:65
bool m_runInEventLoop
Definition: L1TGMTClient.h:68
bool m_runInEndLumi
Definition: L1TGMTClient.h:69
MonitorElement * eff_etaphi_rpc
Definition: L1TGMTClient.h:79
MonitorElement * eff_phi_rpc
Definition: L1TGMTClient.h:77
MonitorElement * eff_eta_dtcsc
Definition: L1TGMTClient.h:74
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:76
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:70
L1TGMTClient(const edm::ParameterSet &)
Constructor.
Definition: L1TGMTClient.cc:10
~L1TGMTClient() override
Destructor.
Definition: L1TGMTClient.cc:15
std::string output_dir_
Definition: L1TGMTClient.h:66
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:63