CMS 3D CMS Logo

L1TDTTPGClient.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1TDTTPG_H
2 #define DQM_L1TMONITORCLIENT_L1TDTTPG_H
3 
11 
12 #include <memory>
13 #include <iostream>
14 #include <fstream>
15 #include <string>
16 #include <vector>
17 #include <map>
18 #include <TH1F.h>
19 #include <TH2F.h>
20 #include <TProfile2D.h>
21 
23 
24 public:
25 
28 
30  virtual ~L1TDTTPGClient();
31 
32 protected:
33 
34  virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
35 
36 private:
37 
38  void initialize();
39  void makeRatioHisto(DQMStore::IGetter &igetter,MonitorElement *ratioME, std::string &nName, std::string &dName);
40  void setMapPhLabel(MonitorElement *me);
41  void setMapThLabel(MonitorElement *me);
42  TH1F * get1DHisto(std::string meName, DQMStore::IGetter &igetter);
43  TH2F * get2DHisto(std::string meName, DQMStore::IGetter &igetter);
44  TProfile2D * get2DProfile(std::string meName, DQMStore::IGetter &igetter);
45  TProfile * get1DProfile(std::string meName, DQMStore::IGetter &igetter);
46 
51  int counterLS_;
55 
56  // -------- member data --------
57 // MonitorElement * clientHisto;
63 
64 };
65 
66 #endif
std::string input_dir_
int prescaleEvt_
units of lumi sections
void setMapThLabel(MonitorElement *me)
edm::ParameterSet parameters_
MonitorElement * dttpgphmapcorrf
prescale on number of events
TProfile * get1DProfile(std::string meName, DQMStore::IGetter &igetter)
MonitorElement * dttpgphmapbxf[3]
TH1F * get1DHisto(std::string meName, DQMStore::IGetter &igetter)
virtual ~L1TDTTPGClient()
Destructor.
TProfile2D * get2DProfile(std::string meName, DQMStore::IGetter &igetter)
TH2F * get2DHisto(std::string meName, DQMStore::IGetter &igetter)
virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
MonitorElement * dttpgthmapbxf[3]
L1TDTTPGClient(const edm::ParameterSet &ps)
Constructor.
int prescaleLS_
counter
std::string output_dir_
void makeRatioHisto(DQMStore::IGetter &igetter, MonitorElement *ratioME, std::string &nName, std::string &dName)
MonitorElement * dttpgthmaphf
void setMapPhLabel(MonitorElement *me)
MonitorElement * dttpgphmap2ndf
std::string monitorName_
int counterEvt_
counter