DQM
TrigXMonitor
interface
L1TScalersSCAL.h
Go to the documentation of this file.
1
#ifndef L1TScalersSCAL_H
2
#define L1TScalersSCAL_H
3
4
#include <vector>
5
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
DQMServices/Core/interface/DQMStore.h
"
8
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
9
#include "
FWCore/Utilities/interface/InputTag.h
"
10
11
#include "
DataFormats/Scalers/interface/Level1TriggerScalers.h
"
12
#include "
DataFormats/Scalers/interface/LumiScalers.h
"
13
#include "
DataFormats/Scalers/interface/L1AcceptBunchCrossing.h
"
14
15
class
L1TScalersSCAL
:
public
DQMEDAnalyzer
{
16
public
:
17
enum
{
N_LUMISECTION_TIME
= 93 };
18
19
L1TScalersSCAL
(
const
edm::ParameterSet
& ps);
20
~L1TScalersSCAL
()
override
;
21
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
22
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
23
24
private
:
25
edm::EDGetTokenT<Level1TriggerScalersCollection>
l1triggerscalers_
;
26
edm::EDGetTokenT<LumiScalersCollection>
lumiscalers_
;
27
edm::EDGetTokenT<L1AcceptBunchCrossingCollection>
l1acceptBX_
;
28
29
bool
verbose_
,
denomIsTech_
,
monitorDaemon_
;
30
unsigned
int
denomBit_
,
muonBit_
,
egammaBit_
,
jetBit_
;
31
int
nev_
;
// Number of events processed
32
long
reftime_
,
buffertime_
;
33
std::vector<double>
algorithmRates_
;
34
std::vector<double>
bufferAlgoRates_
;
35
std::vector<double>
technicalRates_
;
36
std::vector<double>
bufferTechRates_
;
37
std::vector<double>
integral_algo_
;
38
std::vector<double>
integral_tech_
;
39
double
integral_tech_42_OR_43_
;
40
unsigned
int
bufferLumi_
;
41
42
MonitorElement
*
orbitNum
;
43
MonitorElement
*
trigNum
;
44
MonitorElement
*
eventNum
;
45
MonitorElement
*
physTrig
;
46
MonitorElement
*
randTrig
;
47
MonitorElement
*
numberResets
;
48
MonitorElement
*
deadTime
;
49
MonitorElement
*
lostFinalTriggers
;
50
MonitorElement
*
algoRate
[128];
51
MonitorElement
*
techRate
[64];
52
MonitorElement
*
integralAlgo
[128];
53
MonitorElement
*
integralTech
[64];
54
MonitorElement
*
integralTech_42_OR_43
;
55
MonitorElement
*
techRateRatio_33_over_32
;
56
MonitorElement
*
techRateRatio_8
;
57
MonitorElement
*
techRateRatio_9
;
58
MonitorElement
*
techRateRatio_10
;
59
MonitorElement
*
techRateRatio_36
;
60
MonitorElement
*
techRateRatio_37
;
61
MonitorElement
*
techRateRatio_38
;
62
MonitorElement
*
techRateRatio_39
;
63
MonitorElement
*
techRateRatio_40
;
64
MonitorElement
*
techRateRatio_41
;
65
MonitorElement
*
techRateRatio_42
;
66
MonitorElement
*
techRateRatio_43
;
67
MonitorElement
*
rateRatio_mu
;
68
MonitorElement
*
rateRatio_egamma
;
69
MonitorElement
*
rateRatio_jet
;
70
71
MonitorElement
*
physRate
;
72
MonitorElement
*
randRate
;
73
MonitorElement
*
deadTimePercent
;
74
MonitorElement
*
lostPhysRate
;
75
MonitorElement
*
lostPhysRateBeamActive
;
76
MonitorElement
*
instTrigRate
;
77
MonitorElement
*
instEventRate
;
78
79
MonitorElement
*
instLumi
;
80
MonitorElement
*
instLumiErr
;
81
MonitorElement
*
instLumiQlty
;
82
MonitorElement
*
instEtLumi
;
83
MonitorElement
*
instEtLumiErr
;
84
MonitorElement
*
instEtLumiQlty
;
85
MonitorElement
*
sectionNum
;
86
MonitorElement
*
startOrbit
;
87
MonitorElement
*
numOrbits
;
88
89
MonitorElement
*
orbitNumL1A
[4];
90
MonitorElement
*
bunchCrossingL1A
[4];
91
MonitorElement
*
bunchCrossingCorr
[3];
92
MonitorElement
*
bunchCrossingDiff
[3];
93
MonitorElement
*
bunchCrossingDiff_small
[3];
94
};
95
96
#endif // L1TScalersSCAL_H
dqm::impl::MonitorElement
Definition:
MonitorElement.h:98
LumiScalers.h
L1TScalersSCAL::rateRatio_egamma
MonitorElement * rateRatio_egamma
Definition:
L1TScalersSCAL.h:68
L1TScalersSCAL::rateRatio_mu
MonitorElement * rateRatio_mu
Definition:
L1TScalersSCAL.h:67
edm::Run
Definition:
Run.h:45
L1TScalersSCAL::lostFinalTriggers
MonitorElement * lostFinalTriggers
Definition:
L1TScalersSCAL.h:49
edm::EDGetTokenT< Level1TriggerScalersCollection >
L1TScalersSCAL::instEventRate
MonitorElement * instEventRate
Definition:
L1TScalersSCAL.h:77
L1TScalersSCAL::startOrbit
MonitorElement * startOrbit
Definition:
L1TScalersSCAL.h:86
L1TScalersSCAL::egammaBit_
unsigned int egammaBit_
Definition:
L1TScalersSCAL.h:30
L1AcceptBunchCrossing.h
L1TScalersSCAL::algorithmRates_
std::vector< double > algorithmRates_
Definition:
L1TScalersSCAL.h:33
L1TScalersSCAL::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
L1TScalersSCAL.cc:61
L1TScalersSCAL::instEtLumiQlty
MonitorElement * instEtLumiQlty
Definition:
L1TScalersSCAL.h:84
DQMStore.h
L1TScalersSCAL::integral_tech_42_OR_43_
double integral_tech_42_OR_43_
Definition:
L1TScalersSCAL.h:39
L1TScalersSCAL::numOrbits
MonitorElement * numOrbits
Definition:
L1TScalersSCAL.h:87
L1TScalersSCAL::nev_
int nev_
Definition:
L1TScalersSCAL.h:31
L1TScalersSCAL::integralAlgo
MonitorElement * integralAlgo[128]
Definition:
L1TScalersSCAL.h:52
L1TScalersSCAL
Definition:
L1TScalersSCAL.h:15
L1TScalersSCAL::bufferLumi_
unsigned int bufferLumi_
Definition:
L1TScalersSCAL.h:40
L1TScalersSCAL::technicalRates_
std::vector< double > technicalRates_
Definition:
L1TScalersSCAL.h:35
L1TScalersSCAL::techRate
MonitorElement * techRate[64]
Definition:
L1TScalersSCAL.h:51
L1TScalersSCAL::integralTech_42_OR_43
MonitorElement * integralTech_42_OR_43
Definition:
L1TScalersSCAL.h:54
Level1TriggerScalers.h
L1TScalersSCAL::techRateRatio_8
MonitorElement * techRateRatio_8
Definition:
L1TScalersSCAL.h:56
L1TScalersSCAL::numberResets
MonitorElement * numberResets
Definition:
L1TScalersSCAL.h:47
L1TScalersSCAL::bufferAlgoRates_
std::vector< double > bufferAlgoRates_
Definition:
L1TScalersSCAL.h:34
L1TScalersSCAL::lumiscalers_
edm::EDGetTokenT< LumiScalersCollection > lumiscalers_
Definition:
L1TScalersSCAL.h:26
L1TScalersSCAL::bunchCrossingDiff
MonitorElement * bunchCrossingDiff[3]
Definition:
L1TScalersSCAL.h:92
L1TScalersSCAL::reftime_
long reftime_
Definition:
L1TScalersSCAL.h:32
L1TScalersSCAL::algoRate
MonitorElement * algoRate[128]
Definition:
L1TScalersSCAL.h:50
L1TScalersSCAL::techRateRatio_33_over_32
MonitorElement * techRateRatio_33_over_32
Definition:
L1TScalersSCAL.h:55
L1TScalersSCAL::techRateRatio_36
MonitorElement * techRateRatio_36
Definition:
L1TScalersSCAL.h:59
L1TScalersSCAL::eventNum
MonitorElement * eventNum
Definition:
L1TScalersSCAL.h:44
L1TScalersSCAL::lostPhysRateBeamActive
MonitorElement * lostPhysRateBeamActive
Definition:
L1TScalersSCAL.h:75
L1TScalersSCAL::deadTimePercent
MonitorElement * deadTimePercent
Definition:
L1TScalersSCAL.h:73
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
L1TScalersSCAL::integral_tech_
std::vector< double > integral_tech_
Definition:
L1TScalersSCAL.h:38
L1TScalersSCAL::techRateRatio_9
MonitorElement * techRateRatio_9
Definition:
L1TScalersSCAL.h:57
edm::ParameterSet
Definition:
ParameterSet.h:47
L1TScalersSCAL::physRate
MonitorElement * physRate
Definition:
L1TScalersSCAL.h:71
L1TScalersSCAL::physTrig
MonitorElement * physTrig
Definition:
L1TScalersSCAL.h:45
L1TScalersSCAL::instLumiErr
MonitorElement * instLumiErr
Definition:
L1TScalersSCAL.h:80
L1TScalersSCAL::techRateRatio_39
MonitorElement * techRateRatio_39
Definition:
L1TScalersSCAL.h:62
L1TScalersSCAL::bunchCrossingL1A
MonitorElement * bunchCrossingL1A[4]
Definition:
L1TScalersSCAL.h:90
L1TScalersSCAL::techRateRatio_42
MonitorElement * techRateRatio_42
Definition:
L1TScalersSCAL.h:65
L1TScalersSCAL::instEtLumiErr
MonitorElement * instEtLumiErr
Definition:
L1TScalersSCAL.h:83
L1TScalersSCAL::bunchCrossingDiff_small
MonitorElement * bunchCrossingDiff_small[3]
Definition:
L1TScalersSCAL.h:93
L1TScalersSCAL::jetBit_
unsigned int jetBit_
Definition:
L1TScalersSCAL.h:30
L1TScalersSCAL::instLumiQlty
MonitorElement * instLumiQlty
Definition:
L1TScalersSCAL.h:81
L1TScalersSCAL::instEtLumi
MonitorElement * instEtLumi
Definition:
L1TScalersSCAL.h:82
edm::EventSetup
Definition:
EventSetup.h:58
L1TScalersSCAL::bunchCrossingCorr
MonitorElement * bunchCrossingCorr[3]
Definition:
L1TScalersSCAL.h:91
L1TScalersSCAL::rateRatio_jet
MonitorElement * rateRatio_jet
Definition:
L1TScalersSCAL.h:69
L1TScalersSCAL::denomBit_
unsigned int denomBit_
Definition:
L1TScalersSCAL.h:30
InputTag.h
L1TScalersSCAL::techRateRatio_41
MonitorElement * techRateRatio_41
Definition:
L1TScalersSCAL.h:64
L1TScalersSCAL::bufferTechRates_
std::vector< double > bufferTechRates_
Definition:
L1TScalersSCAL.h:36
L1TScalersSCAL::deadTime
MonitorElement * deadTime
Definition:
L1TScalersSCAL.h:48
L1TScalersSCAL::orbitNum
MonitorElement * orbitNum
Definition:
L1TScalersSCAL.h:42
L1TScalersSCAL::l1acceptBX_
edm::EDGetTokenT< L1AcceptBunchCrossingCollection > l1acceptBX_
Definition:
L1TScalersSCAL.h:27
L1TScalersSCAL::instLumi
MonitorElement * instLumi
Definition:
L1TScalersSCAL.h:79
L1TScalersSCAL::trigNum
MonitorElement * trigNum
Definition:
L1TScalersSCAL.h:43
Frameworkfwd.h
L1TScalersSCAL::N_LUMISECTION_TIME
Definition:
L1TScalersSCAL.h:17
L1TScalersSCAL::integralTech
MonitorElement * integralTech[64]
Definition:
L1TScalersSCAL.h:53
L1TScalersSCAL::lostPhysRate
MonitorElement * lostPhysRate
Definition:
L1TScalersSCAL.h:74
L1TScalersSCAL::instTrigRate
MonitorElement * instTrigRate
Definition:
L1TScalersSCAL.h:76
L1TScalersSCAL::randTrig
MonitorElement * randTrig
Definition:
L1TScalersSCAL.h:46
L1TScalersSCAL::muonBit_
unsigned int muonBit_
Definition:
L1TScalersSCAL.h:30
L1TScalersSCAL::randRate
MonitorElement * randRate
Definition:
L1TScalersSCAL.h:72
L1TScalersSCAL::techRateRatio_37
MonitorElement * techRateRatio_37
Definition:
L1TScalersSCAL.h:60
dqm::implementation::IBooker
Definition:
DQMStore.h:43
L1TScalersSCAL::verbose_
bool verbose_
Definition:
L1TScalersSCAL.h:29
L1TScalersSCAL::techRateRatio_43
MonitorElement * techRateRatio_43
Definition:
L1TScalersSCAL.h:66
L1TScalersSCAL::techRateRatio_38
MonitorElement * techRateRatio_38
Definition:
L1TScalersSCAL.h:61
L1TScalersSCAL::monitorDaemon_
bool monitorDaemon_
Definition:
L1TScalersSCAL.h:29
L1TScalersSCAL::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
L1TScalersSCAL.cc:281
L1TScalersSCAL::denomIsTech_
bool denomIsTech_
Definition:
L1TScalersSCAL.h:29
L1TScalersSCAL::l1triggerscalers_
edm::EDGetTokenT< Level1TriggerScalersCollection > l1triggerscalers_
Definition:
L1TScalersSCAL.h:25
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition:
Event.h:73
L1TScalersSCAL::buffertime_
long buffertime_
Definition:
L1TScalersSCAL.h:32
L1TScalersSCAL::techRateRatio_40
MonitorElement * techRateRatio_40
Definition:
L1TScalersSCAL.h:63
L1TScalersSCAL::~L1TScalersSCAL
~L1TScalersSCAL() override
Definition:
L1TScalersSCAL.cc:59
L1TScalersSCAL::integral_algo_
std::vector< double > integral_algo_
Definition:
L1TScalersSCAL.h:37
L1TScalersSCAL::sectionNum
MonitorElement * sectionNum
Definition:
L1TScalersSCAL.h:85
L1TScalersSCAL::L1TScalersSCAL
L1TScalersSCAL(const edm::ParameterSet &ps)
Definition:
L1TScalersSCAL.cc:29
L1TScalersSCAL::techRateRatio_10
MonitorElement * techRateRatio_10
Definition:
L1TScalersSCAL.h:58
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
L1TScalersSCAL::orbitNumL1A
MonitorElement * orbitNumL1A[4]
Definition:
L1TScalersSCAL.h:89
Generated for CMSSW Reference Manual by
1.8.16