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