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
L1TDTTPGClient::monitorName_
std::string monitorName_
Definition: L1TDTTPGClient.h:43
DQMEDHarvester.h
L1TDTTPGClient::~L1TDTTPGClient
~L1TDTTPGClient() override
Destructor.
Definition: L1TDTTPGClient.cc:26
L1TDTTPGClient::get2DHisto
TH2F * get2DHisto(std::string meName, DQMStore::IGetter &igetter)
Definition: L1TDTTPGClient.cc:151
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
L1TDTTPGClient::initialize
void initialize()
Definition: L1TDTTPGClient.cc:29
EDAnalyzer.h
L1TDTTPGClient::dttpgthmapbxf
MonitorElement * dttpgthmapbxf[3]
Definition: L1TDTTPGClient.h:57
L1TDTTPGClient::parameters_
edm::ParameterSet parameters_
Definition: L1TDTTPGClient.h:42
L1TDTTPGClient::makeRatioHisto
void makeRatioHisto(DQMStore::IGetter &igetter, MonitorElement *ratioME, std::string &nName, std::string &dName)
Definition: L1TDTTPGClient.cc:118
L1TDTTPGClient::dttpgphmapcorrf
MonitorElement * dttpgphmapcorrf
prescale on number of events
Definition: L1TDTTPGClient.h:53
MakerMacros.h
L1TDTTPGClient
Definition: L1TDTTPGClient.h:21
L1TDTTPGClient::prescaleLS_
int prescaleLS_
counter
Definition: L1TDTTPGClient.h:48
L1TDTTPGClient::dttpgphmap2ndf
MonitorElement * dttpgphmap2ndf
Definition: L1TDTTPGClient.h:54
L1TDTTPGClient::counterEvt_
int counterEvt_
counter
Definition: L1TDTTPGClient.h:47
L1TDTTPGClient::input_dir_
std::string input_dir_
Definition: L1TDTTPGClient.h:44
L1TDTTPGClient::counterLS_
int counterLS_
Definition: L1TDTTPGClient.h:46
L1TDTTPGClient::get1DProfile
TProfile * get1DProfile(std::string meName, DQMStore::IGetter &igetter)
Definition: L1TDTTPGClient.cc:173
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
L1TDTTPGClient::get1DHisto
TH1F * get1DHisto(std::string meName, DQMStore::IGetter &igetter)
Definition: L1TDTTPGClient.cc:140
L1TDTTPGClient::prescaleEvt_
int prescaleEvt_
units of lumi sections
Definition: L1TDTTPGClient.h:49
L1TDTTPGClient::dttpgphmapbxf
MonitorElement * dttpgphmapbxf[3]
Definition: L1TDTTPGClient.h:55
L1TDTTPGClient::output_dir_
std::string output_dir_
Definition: L1TDTTPGClient.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TDTTPGClient::dttpgthmaphf
MonitorElement * dttpgthmaphf
Definition: L1TDTTPGClient.h:56
DQMEDHarvester
Definition: DQMEDHarvester.py:1
Frameworkfwd.h
L1TDTTPGClient::L1TDTTPGClient
L1TDTTPGClient(const edm::ParameterSet &ps)
Constructor.
Definition: L1TDTTPGClient.cc:21
L1TDTTPGClient::get2DProfile
TProfile2D * get2DProfile(std::string meName, DQMStore::IGetter &igetter)
Definition: L1TDTTPGClient.cc:162
dqm::implementation::IGetter
Definition: DQMStore.h:484
L1TDTTPGClient::setMapThLabel
void setMapThLabel(MonitorElement *me)
Definition: L1TDTTPGClient.cc:193
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TDTTPGClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
Definition: L1TDTTPGClient.cc:52
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
L1TDTTPGClient::setMapPhLabel
void setMapPhLabel(MonitorElement *me)
Definition: L1TDTTPGClient.cc:184