DQM
L1TMonitor
interface
L1TFED.h
Go to the documentation of this file.
1
#ifndef L1TFED_H
2
#define L1TFED_H
3
4
/*
5
* \file L1TFED.h
6
*
7
* \author J. Berryhill
8
*
9
*/
10
11
// system include files
12
#include <memory>
13
#include <unistd.h>
14
15
// user include files
16
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
17
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
23
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
24
#include "
DQMServices/Core/interface/DQMStore.h
"
25
#include "
FWCore/ServiceRegistry/interface/Service.h
"
26
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
27
28
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
29
#include "
DataFormats/FEDRawData/interface/FEDHeader.h
"
30
#include "
DataFormats/FEDRawData/interface/FEDTrailer.h
"
31
#include "
DataFormats/FEDRawData/interface/FEDNumbering.h
"
32
33
#include <iostream>
34
#include <fstream>
35
#include <vector>
36
37
//
38
// class decleration
39
//
40
41
class
L1TFED
:
public
DQMEDAnalyzer
{
42
public
:
43
// Constructor
44
L1TFED
(
const
edm::ParameterSet
& ps);
45
46
// Destructor
47
~L1TFED
()
override
;
48
49
protected
:
50
// Analyze
51
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
52
53
// BeginRun
54
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
55
56
private
:
57
// ----------member data ---------------------------
58
MonitorElement
*
hfedsize
;
59
MonitorElement
*
hfedprof
;
60
61
MonitorElement
*
fedentries
;
62
MonitorElement
*
fedfatal
;
63
MonitorElement
*
fednonfatal
;
64
65
int
nev_
;
// Number of events processed
66
bool
verbose_
;
67
bool
monitorDaemon_
;
68
std::vector<int>
l1feds_
;
69
std::ofstream
logFile_
;
70
edm::InputTag
fedSource_
;
71
edm::EDGetTokenT<FEDRawDataCollection>
rawl_
;
72
std::string
directory_
;
73
bool
stableROConfig_
;
74
};
75
76
#endif
L1TFED::monitorDaemon_
bool monitorDaemon_
Definition:
L1TFED.h:67
FEDNumbering.h
dqm::impl::MonitorElement
Definition:
MonitorElement.h:99
MessageLogger.h
L1TFED
Definition:
L1TFED.h:41
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< FEDRawDataCollection >
L1TFED::L1TFED
L1TFED(const edm::ParameterSet &ps)
Definition:
L1TFED.cc:13
L1TFED::nev_
int nev_
Definition:
L1TFED.h:65
DQMStore.h
L1TFED::directory_
std::string directory_
Definition:
L1TFED.h:72
MakerMacros.h
Service.h
L1TFED::rawl_
edm::EDGetTokenT< FEDRawDataCollection > rawl_
Definition:
L1TFED.h:71
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
L1TFED::verbose_
bool verbose_
Definition:
L1TFED.h:66
L1TFED::hfedprof
MonitorElement * hfedprof
Definition:
L1TFED.h:59
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
L1TFED::fedentries
MonitorElement * fedentries
Definition:
L1TFED.h:61
FEDRawDataCollection.h
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1TFED::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
L1TFED.cc:28
L1TFED::hfedsize
MonitorElement * hfedsize
Definition:
L1TFED.h:58
Frameworkfwd.h
L1TFED::fedSource_
edm::InputTag fedSource_
Definition:
L1TFED.h:70
dqm::implementation::IBooker
Definition:
DQMStore.h:43
L1TFED::fedfatal
MonitorElement * fedfatal
Definition:
L1TFED.h:62
L1TFED::l1feds_
std::vector< int > l1feds_
Definition:
L1TFED.h:68
L1TFED::stableROConfig_
bool stableROConfig_
Definition:
L1TFED.h:73
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
FEDHeader.h
L1TFED::logFile_
std::ofstream logFile_
Definition:
L1TFED.h:69
L1TFED::fednonfatal
MonitorElement * fednonfatal
Definition:
L1TFED.h:63
edm::InputTag
Definition:
InputTag.h:15
L1TFED::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
L1TFED.cc:47
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
L1TFED::~L1TFED
~L1TFED() override
Definition:
L1TFED.cc:26
FEDTrailer.h
Generated for CMSSW Reference Manual by
1.8.16