CMS 3D CMS Logo

L1EmulatorErrorFlagClient.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1EmulatorErrorFlagClient_H
2 #define DQM_L1TMONITORCLIENT_L1EmulatorErrorFlagClient_H
3 
10 
11 #include <memory>
12 #include <iostream>
13 #include <fstream>
14 #include <string>
15 #include <vector>
16 #include <map>
17 
19 public:
22 
24  ~L1EmulatorErrorFlagClient() override;
25 
26 protected:
29  edm::LuminosityBlock const &,
30  edm::EventSetup const &) override; //performed in the endLumi
31  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
32 
33 private:
35 
36  bool m_verbose;
37  std::vector<edm::ParameterSet> m_l1Systems;
38  std::vector<std::string> m_maskL1Systems;
39 
44 
46 
47  void initialize();
48 
49  Float_t setSummary(DQMStore::IGetter &igetter, const unsigned int &) const;
50 
52  size_t m_nrL1Systems;
53 
54  std::vector<std::string> m_systemLabel;
55  std::vector<std::string> m_systemLabelExt;
56  std::vector<int> m_systemMask;
57  std::vector<std::string> m_systemFolder;
58 
59  std::vector<std::string> m_systemErrorFlag;
60 
62 
63  std::vector<Float_t> m_summaryContent;
65 };
66 
67 #endif
L1EmulatorErrorFlagClient::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: L1EmulatorErrorFlagClient.cc:85
DQMEDHarvester.h
L1EmulatorErrorFlagClient::m_verbose
bool m_verbose
input parameters
Definition: L1EmulatorErrorFlagClient.h:36
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
L1EmulatorErrorFlagClient::m_systemFolder
std::vector< std::string > m_systemFolder
Definition: L1EmulatorErrorFlagClient.h:57
L1EmulatorErrorFlagClient::initialize
void initialize()
private methods
Definition: L1EmulatorErrorFlagClient.cc:35
L1EmulatorErrorFlagClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: L1EmulatorErrorFlagClient.cc:71
L1EmulatorErrorFlagClient::m_systemMask
std::vector< int > m_systemMask
Definition: L1EmulatorErrorFlagClient.h:56
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
L1EmulatorErrorFlagClient::m_l1Systems
std::vector< edm::ParameterSet > m_l1Systems
Definition: L1EmulatorErrorFlagClient.h:37
L1EmulatorErrorFlagClient::m_runInEventLoop
bool m_runInEventLoop
Definition: L1EmulatorErrorFlagClient.h:40
L1EmulatorErrorFlagClient::m_summaryContent
std::vector< Float_t > m_summaryContent
summary report
Definition: L1EmulatorErrorFlagClient.h:63
MakerMacros.h
L1EmulatorErrorFlagClient::m_nrL1Systems
size_t m_nrL1Systems
number of L1 trigger systems
Definition: L1EmulatorErrorFlagClient.h:52
L1EmulatorErrorFlagClient::m_meSummaryErrorFlagMap
MonitorElement * m_meSummaryErrorFlagMap
Definition: L1EmulatorErrorFlagClient.h:64
L1EmulatorErrorFlagClient::setSummary
Float_t setSummary(DQMStore::IGetter &igetter, const unsigned int &) const
Definition: L1EmulatorErrorFlagClient.cc:145
L1EmulatorErrorFlagClient::m_systemLabelExt
std::vector< std::string > m_systemLabelExt
Definition: L1EmulatorErrorFlagClient.h:55
L1EmulatorErrorFlagClient::m_systemErrorFlag
std::vector< std::string > m_systemErrorFlag
Definition: L1EmulatorErrorFlagClient.h:59
L1EmulatorErrorFlagClient::m_systemLabel
std::vector< std::string > m_systemLabel
Definition: L1EmulatorErrorFlagClient.h:54
L1EmulatorErrorFlagClient::m_runInEndLumi
bool m_runInEndLumi
Definition: L1EmulatorErrorFlagClient.h:41
L1EmulatorErrorFlagClient::L1EmulatorErrorFlagClient
L1EmulatorErrorFlagClient(const edm::ParameterSet &)
Constructor.
Definition: L1EmulatorErrorFlagClient.cc:24
edm::ParameterSet
Definition: ParameterSet.h:36
L1EmulatorErrorFlagClient::~L1EmulatorErrorFlagClient
~L1EmulatorErrorFlagClient() override
Destructor.
Definition: L1EmulatorErrorFlagClient.cc:31
Event.h
L1EmulatorErrorFlagClient::m_runInEndRun
bool m_runInEndRun
Definition: L1EmulatorErrorFlagClient.h:42
edm::EventSetup
Definition: EventSetup.h:57
L1EmulatorErrorFlagClient::m_maskL1Systems
std::vector< std::string > m_maskL1Systems
Definition: L1EmulatorErrorFlagClient.h:38
DQMEDHarvester
Definition: DQMEDHarvester.py:1
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1EmulatorErrorFlagClient::m_runInEndJob
bool m_runInEndJob
Definition: L1EmulatorErrorFlagClient.h:43
L1EmulatorErrorFlagClient
Definition: L1EmulatorErrorFlagClient.h:18