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