CMS 3D CMS Logo

L1TDEMON.h
Go to the documentation of this file.
1 #ifndef L1TDEMON_H
2 #define L1TDEMON_H
3 
4 /*\class L1TDEMON
5  *\description L1 trigger data|emulation comparison DQM interface
6  produces DQM monitorable elements
7  *\author Nuno Leonardo (CERN)
8  *\date 07.07
9  */
10 
11 // system, common includes
12 #include <memory>
13 #include <string>
21 // dqm includes
23 // l1 dataformats, d|e record includes
25 
27 
28 class L1TDEMON : public DQMEDAnalyzer {
29 public:
30  explicit L1TDEMON(const edm::ParameterSet&);
31  ~L1TDEMON() override;
32 
33 protected:
34  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&, edm::EventSetup const&) override;
35  void analyze(const edm::Event&, const edm::EventSetup&) override;
36 
37 private:
38  // input d|e record
40  bool hasRecord_;
41 
42  // debug verbose level
43  int verbose_;
44  int verbose() { return verbose_; }
45 
46  // root output file name
48 
49  // dqm histogram folder
51 
52  // dqm common
54 
55  // running in filter farm? (use reduced set of me's)
56  bool runInFF_;
57 
58  // counters
59  int nEvt_;
62 
63  // system status (enabled / disabled)
64  // similar to COMPARE_COLLS HardwareValidation/L1Comparator, probably a more elegant solution
65  // possible TODO
66 
68 
70 
71  // global
76 
77  // localization
86 
87  // trigger data word
92 
93  //define Token(-s)
95 };
96 
97 #endif
L1TDEMON::histFile_
std::string histFile_
Definition: L1TDEMON.h:47
MessageLogger.h
L1TDEMON::runInFF_
bool runInFF_
Definition: L1TDEMON.h:56
L1TDEMON::phi
MonitorElement * phi[dedefs::DEnsys]
Definition: L1TDEMON.h:80
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< L1DataEmulRecord >
L1TDEMON::errortype
MonitorElement * errortype[dedefs::DEnsys]
Definition: L1TDEMON.h:75
L1TDEMON::nEvt_
int nEvt_
Definition: L1TDEMON.h:59
L1TDEMON::~L1TDEMON
~L1TDEMON() override
Definition: L1TDEMON.cc:55
L1TDEMON::L1TDEMON
L1TDEMON(const edm::ParameterSet &)
Definition: L1TDEMON.cc:7
L1TDEMON::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override
Definition: L1TDEMON.cc:57
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
L1TDEMON::DEsourceToken_
edm::EDGetTokenT< L1DataEmulRecord > DEsourceToken_
Definition: L1TDEMON.h:94
EDAnalyzer.h
L1TDEMON::dword
MonitorElement * dword[dedefs::DEnsys]
Definition: L1TDEMON.h:88
L1TDEMON::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TDEMON.cc:262
MakerMacros.h
L1TDEMON::histFolder_
std::string histFolder_
Definition: L1TDEMON.h:50
L1TDEMON::rnkData
MonitorElement * rnkData[dedefs::DEnsys]
Definition: L1TDEMON.h:85
Service.h
L1TDEMON::x3
MonitorElement * x3[dedefs::DEnsys]
Definition: L1TDEMON.h:81
L1TDEMON::etaData
MonitorElement * etaData[dedefs::DEnsys]
Definition: L1TDEMON.h:82
L1TDEMON::monitorDaemon_
bool monitorDaemon_
Definition: L1TDEMON.h:53
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:36
L1TDEMON::DEsource_
edm::InputTag DEsource_
Definition: L1TDEMON.h:39
L1TDEMON::hasRecord_
bool hasRecord_
Definition: L1TDEMON.h:40
Event.h
L1TDEMON::sysrates
MonitorElement * sysrates
monitoring elements
Definition: L1TDEMON.h:72
DEtrait.h
edm::EventSetup
Definition: EventSetup.h:57
L1TDEMON::sysncand
MonitorElement * sysncand[2]
Definition: L1TDEMON.h:73
L1TDEMON::nEvtWithSys
int nEvtWithSys[dedefs::DEnsys]
Definition: L1TDEMON.h:61
L1TDEMON::x3Data
MonitorElement * x3Data[dedefs::DEnsys]
Definition: L1TDEMON.h:84
dedefs::DEnsys
const int DEnsys
Definition: DEtrait.h:38
L1TDEMON::eta
MonitorElement * eta[dedefs::DEnsys]
Definition: L1TDEMON.h:79
L1TDEMON::masked
MonitorElement * masked[dedefs::DEnsys]
Definition: L1TDEMON.h:91
L1TDEMON::verbose_
int verbose_
Definition: L1TDEMON.h:43
Frameworkfwd.h
L1TDEMON::phiData
MonitorElement * phiData[dedefs::DEnsys]
Definition: L1TDEMON.h:83
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TDEMON::m_doSys
bool m_doSys[dedefs::DEnsys]
Definition: L1TDEMON.h:67
L1TDEMON::errordist
MonitorElement * errordist
Definition: L1TDEMON.h:74
L1TDEMON
Definition: L1TDEMON.h:28
ParameterSet.h
L1TDEMON::eword
MonitorElement * eword[dedefs::DEnsys]
Definition: L1TDEMON.h:89
L1TDEMON::deSysCount
int deSysCount[dedefs::DEnsys]
Definition: L1TDEMON.h:60
L1TDEMON::verbose
int verbose()
Definition: L1TDEMON.h:44
L1TDEMON::deword
MonitorElement * deword[dedefs::DEnsys]
Definition: L1TDEMON.h:90
L1TDEMON::etaphi
MonitorElement * etaphi[dedefs::DEnsys]
Definition: L1TDEMON.h:78
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15