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 
9 
10 #include <memory>
11 #include <iostream>
12 #include <fstream>
13 #include <string>
14 #include <vector>
15 #include <map>
16 #include <TH1F.h>
17 #include <TH2F.h>
18 #include <TProfile2D.h>
19 
21 public:
24 
26  ~L1TDTTPGClient() override;
27 
28 protected:
29  void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
30 
31 private:
32  void initialize();
33  void makeRatioHisto(DQMStore::IGetter &igetter, MonitorElement *ratioME, std::string &nName, std::string &dName);
36  TH1F *get1DHisto(std::string meName, DQMStore::IGetter &igetter);
37  TH2F *get2DHisto(std::string meName, DQMStore::IGetter &igetter);
38  TProfile2D *get2DProfile(std::string meName, DQMStore::IGetter &igetter);
39  TProfile *get1DProfile(std::string meName, DQMStore::IGetter &igetter);
40 
45  int counterLS_;
49 
50  // -------- member data --------
51  // MonitorElement * clientHisto;
57 };
58 
59 #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)
TProfile2D * get2DProfile(std::string meName, DQMStore::IGetter &igetter)
TH2F * get2DHisto(std::string meName, DQMStore::IGetter &igetter)
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
~L1TDTTPGClient() override
Destructor.
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