Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
FWCore/Framework/interface/EDAnalyzer.h
"
8
9
#include "
DQMServices/Core/interface/DQMStore.h
"
10
11
#include "
DQMServices/Core/interface/MonitorElement.h
"
12
#include "
FWCore/Utilities/interface/InputTag.h
"
13
14
class
L1TScalersSCAL
:
public
edm::EDAnalyzer
15
{
16
public
:
17
18
enum
{
N_LUMISECTION_TIME
= 93 };
19
21
L1TScalersSCAL
(
const
edm::ParameterSet
& ps);
22
24
virtual
~L1TScalersSCAL
();
25
27
void
beginJob
(
void
);
28
30
void
endJob
(
void
);
31
33
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&
c
);
34
36
void
endRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&
c
);
37
38
// /// Begin LumiBlock
39
// void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
40
// const edm::EventSetup& c) ;
41
44
void
endLuminosityBlock
(
const
edm::LuminosityBlock
& lumiSeg,
45
const
edm::EventSetup
&
c
);
46
47
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
) ;
48
49
50
private
:
51
DQMStore
*
dbe_
;
52
edm::InputTag
scalersSource_
;
53
54
std::string
outputFile_
;
//file name for ROOT ouput
55
bool
verbose_
,
denomIsTech_
,
monitorDaemon_
;
56
unsigned
int
denomBit_
,
muonBit_
,
egammaBit_
,
jetBit_
;
57
int
nev_
;
// Number of events processed
58
long
reftime_
,
buffertime_
;
59
std::vector<double>
algorithmRates_
;
60
std::vector<double>
bufferAlgoRates_
;
61
std::vector<double>
technicalRates_
;
62
std::vector<double>
bufferTechRates_
;
63
std::vector<double>
integral_algo_
;
64
std::vector<double>
integral_tech_
;
65
double
integral_tech_42_OR_43_
;
66
unsigned
int
bufferLumi_
;
67
68
MonitorElement
*
orbitNum
;
69
MonitorElement
*
trigNum
;
70
MonitorElement
*
eventNum
;
71
MonitorElement
*
physTrig
;
72
MonitorElement
*
randTrig
;
73
MonitorElement
*
numberResets
;
74
MonitorElement
*
deadTime
;
75
MonitorElement
*
lostFinalTriggers
;
76
MonitorElement
*
algoRate
[128];
77
MonitorElement
*
techRate
[64];
78
MonitorElement
*
integralAlgo
[128];
79
MonitorElement
*
integralTech
[64];
80
MonitorElement
*
integralTech_42_OR_43
;
81
MonitorElement
*
techRateRatio_33_over_32
;
82
MonitorElement
*
techRateRatio_8
;
83
MonitorElement
*
techRateRatio_9
;
84
MonitorElement
*
techRateRatio_10
;
85
MonitorElement
*
techRateRatio_36
;
86
MonitorElement
*
techRateRatio_37
;
87
MonitorElement
*
techRateRatio_38
;
88
MonitorElement
*
techRateRatio_39
;
89
MonitorElement
*
techRateRatio_40
;
90
MonitorElement
*
techRateRatio_41
;
91
MonitorElement
*
techRateRatio_42
;
92
MonitorElement
*
techRateRatio_43
;
93
MonitorElement
*
rateRatio_mu
;
94
MonitorElement
*
rateRatio_egamma
;
95
MonitorElement
*
rateRatio_jet
;
96
97
98
MonitorElement
*
physRate
;
99
MonitorElement
*
randRate
;
100
MonitorElement
*
deadTimePercent
;
101
MonitorElement
*
lostPhysRate
;
102
MonitorElement
*
lostPhysRateBeamActive
;
103
MonitorElement
*
instTrigRate
;
104
MonitorElement
*
instEventRate
;
105
106
107
MonitorElement
*
instLumi
;
108
MonitorElement
*
instLumiErr
;
109
MonitorElement
*
instLumiQlty
;
110
MonitorElement
*
instEtLumi
;
111
MonitorElement
*
instEtLumiErr
;
112
MonitorElement
*
instEtLumiQlty
;
113
MonitorElement
*
sectionNum
;
114
MonitorElement
*
startOrbit
;
115
MonitorElement
*
numOrbits
;
116
117
118
MonitorElement
*
orbitNumL1A
[4];
119
MonitorElement
*
bunchCrossingL1A
[4];
120
MonitorElement
*
bunchCrossingCorr
[3];
121
MonitorElement
*
bunchCrossingDiff
[3];
122
MonitorElement
*
bunchCrossingDiff_small
[3];
123
124
125
};
126
127
#endif // L1TScalersSCAL_H
128
L1TScalersSCAL::endRun
void endRun(const edm::Run &run, const edm::EventSetup &c)
EndRun.
Definition:
L1TScalersSCAL.cc:579
L1TScalersSCAL::instEventRate
MonitorElement * instEventRate
Definition:
L1TScalersSCAL.h:104
L1TScalersSCAL::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition:
L1TScalersSCAL.cc:299
L1TScalersSCAL::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &c)
BeginRun.
Definition:
L1TScalersSCAL.cc:574
L1TScalersSCAL::techRateRatio_43
MonitorElement * techRateRatio_43
Definition:
L1TScalersSCAL.h:92
L1TScalersSCAL::integralTech_42_OR_43
MonitorElement * integralTech_42_OR_43
Definition:
L1TScalersSCAL.h:80
L1TScalersSCAL::reftime_
long reftime_
Definition:
L1TScalersSCAL.h:58
L1TScalersSCAL::integralAlgo
MonitorElement * integralAlgo[128]
Definition:
L1TScalersSCAL.h:78
L1TScalersSCAL::muonBit_
unsigned int muonBit_
Definition:
L1TScalersSCAL.h:56
L1TScalersSCAL::randRate
MonitorElement * randRate
Definition:
L1TScalersSCAL.h:99
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
L1TScalersSCAL::endJob
void endJob(void)
Endjob.
Definition:
L1TScalersSCAL.cc:565
L1TScalersSCAL::bufferLumi_
unsigned int bufferLumi_
Definition:
L1TScalersSCAL.h:66
L1TScalersSCAL::trigNum
MonitorElement * trigNum
Definition:
L1TScalersSCAL.h:69
L1TScalersSCAL::bunchCrossingDiff_small
MonitorElement * bunchCrossingDiff_small[3]
Definition:
L1TScalersSCAL.h:122
L1TScalersSCAL::bufferTechRates_
std::vector< double > bufferTechRates_
Definition:
L1TScalersSCAL.h:62
L1TScalersSCAL::algorithmRates_
std::vector< double > algorithmRates_
Definition:
L1TScalersSCAL.h:59
L1TScalersSCAL::deadTimePercent
MonitorElement * deadTimePercent
Definition:
L1TScalersSCAL.h:100
L1TScalersSCAL::nev_
int nev_
Definition:
L1TScalersSCAL.h:57
Frameworkfwd.h
L1TScalersSCAL::integral_tech_42_OR_43_
double integral_tech_42_OR_43_
Definition:
L1TScalersSCAL.h:65
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
L1TScalersSCAL::algoRate
MonitorElement * algoRate[128]
Definition:
L1TScalersSCAL.h:76
L1TScalersSCAL::instEtLumi
MonitorElement * instEtLumi
Definition:
L1TScalersSCAL.h:110
L1TScalersSCAL::lostFinalTriggers
MonitorElement * lostFinalTriggers
Definition:
L1TScalersSCAL.h:75
L1TScalersSCAL::rateRatio_egamma
MonitorElement * rateRatio_egamma
Definition:
L1TScalersSCAL.h:94
L1TScalersSCAL::techRateRatio_38
MonitorElement * techRateRatio_38
Definition:
L1TScalersSCAL.h:87
L1TScalersSCAL::bunchCrossingCorr
MonitorElement * bunchCrossingCorr[3]
Definition:
L1TScalersSCAL.h:120
L1TScalersSCAL::scalersSource_
edm::InputTag scalersSource_
Definition:
L1TScalersSCAL.h:52
DQMStore
Definition:
DQMStore.h:73
L1TScalersSCAL::integralTech
MonitorElement * integralTech[64]
Definition:
L1TScalersSCAL.h:79
L1TScalersSCAL::instTrigRate
MonitorElement * instTrigRate
Definition:
L1TScalersSCAL.h:103
L1TScalersSCAL::startOrbit
MonitorElement * startOrbit
Definition:
L1TScalersSCAL.h:114
L1TScalersSCAL::instLumi
MonitorElement * instLumi
Definition:
L1TScalersSCAL.h:107
L1TScalersSCAL::techRateRatio_36
MonitorElement * techRateRatio_36
Definition:
L1TScalersSCAL.h:85
L1TScalersSCAL::techRateRatio_37
MonitorElement * techRateRatio_37
Definition:
L1TScalersSCAL.h:86
L1TScalersSCAL::eventNum
MonitorElement * eventNum
Definition:
L1TScalersSCAL.h:70
DQMStore.h
L1TScalersSCAL::techRateRatio_10
MonitorElement * techRateRatio_10
Definition:
L1TScalersSCAL.h:84
L1TScalersSCAL::outputFile_
std::string outputFile_
Definition:
L1TScalersSCAL.h:54
L1TScalersSCAL
Definition:
L1TScalersSCAL.h:14
L1TScalersSCAL::N_LUMISECTION_TIME
Definition:
L1TScalersSCAL.h:18
L1TScalersSCAL::techRateRatio_41
MonitorElement * techRateRatio_41
Definition:
L1TScalersSCAL.h:90
L1TScalersSCAL::orbitNumL1A
MonitorElement * orbitNumL1A[4]
Definition:
L1TScalersSCAL.h:118
L1TScalersSCAL::orbitNum
MonitorElement * orbitNum
Definition:
L1TScalersSCAL.h:68
L1TScalersSCAL::dbe_
DQMStore * dbe_
Definition:
L1TScalersSCAL.h:51
L1TScalersSCAL::instEtLumiQlty
MonitorElement * instEtLumiQlty
Definition:
L1TScalersSCAL.h:112
L1TScalersSCAL::techRateRatio_9
MonitorElement * techRateRatio_9
Definition:
L1TScalersSCAL.h:83
edm::EventSetup
Definition:
EventSetup.h:44
L1TScalersSCAL::denomIsTech_
bool denomIsTech_
Definition:
L1TScalersSCAL.h:55
L1TScalersSCAL::deadTime
MonitorElement * deadTime
Definition:
L1TScalersSCAL.h:74
L1TScalersSCAL::techRateRatio_42
MonitorElement * techRateRatio_42
Definition:
L1TScalersSCAL.h:91
L1TScalersSCAL::integral_algo_
std::vector< double > integral_algo_
Definition:
L1TScalersSCAL.h:63
L1TScalersSCAL::techRateRatio_39
MonitorElement * techRateRatio_39
Definition:
L1TScalersSCAL.h:88
DTTTrigCorrFirst.run
run
Definition:
DTTTrigCorrFirst.py:63
edm::EDAnalyzer
Definition:
EDAnalyzer.h:25
EDAnalyzer.h
L1TScalersSCAL::lostPhysRate
MonitorElement * lostPhysRate
Definition:
L1TScalersSCAL.h:101
L1TScalersSCAL::randTrig
MonitorElement * randTrig
Definition:
L1TScalersSCAL.h:72
L1TScalersSCAL::integral_tech_
std::vector< double > integral_tech_
Definition:
L1TScalersSCAL.h:64
MonitorElement
Definition:
MonitorElement.h:34
L1TScalersSCAL::~L1TScalersSCAL
virtual ~L1TScalersSCAL()
Destructor.
Definition:
L1TScalersSCAL.cc:286
L1TScalersSCAL::instEtLumiErr
MonitorElement * instEtLumiErr
Definition:
L1TScalersSCAL.h:111
L1TScalersSCAL::instLumiErr
MonitorElement * instLumiErr
Definition:
L1TScalersSCAL.h:108
L1TScalersSCAL::lostPhysRateBeamActive
MonitorElement * lostPhysRateBeamActive
Definition:
L1TScalersSCAL.h:102
L1TScalersSCAL::denomBit_
unsigned int denomBit_
Definition:
L1TScalersSCAL.h:56
L1TScalersSCAL::numOrbits
MonitorElement * numOrbits
Definition:
L1TScalersSCAL.h:115
L1TScalersSCAL::technicalRates_
std::vector< double > technicalRates_
Definition:
L1TScalersSCAL.h:61
trackerHits.c
tuple c
Definition:
trackerHits.py:26
L1TScalersSCAL::bunchCrossingDiff
MonitorElement * bunchCrossingDiff[3]
Definition:
L1TScalersSCAL.h:121
MonitorElement.h
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
L1TScalersSCAL::techRate
MonitorElement * techRate[64]
Definition:
L1TScalersSCAL.h:77
L1TScalersSCAL::rateRatio_mu
MonitorElement * rateRatio_mu
Definition:
L1TScalersSCAL.h:93
L1TScalersSCAL::verbose_
bool verbose_
Definition:
L1TScalersSCAL.h:55
L1TScalersSCAL::techRateRatio_8
MonitorElement * techRateRatio_8
Definition:
L1TScalersSCAL.h:82
L1TScalersSCAL::rateRatio_jet
MonitorElement * rateRatio_jet
Definition:
L1TScalersSCAL.h:95
L1TScalersSCAL::physRate
MonitorElement * physRate
Definition:
L1TScalersSCAL.h:98
L1TScalersSCAL::techRateRatio_33_over_32
MonitorElement * techRateRatio_33_over_32
Definition:
L1TScalersSCAL.h:81
edm::InputTag
Definition:
InputTag.h:17
L1TScalersSCAL::techRateRatio_40
MonitorElement * techRateRatio_40
Definition:
L1TScalersSCAL.h:89
InputTag.h
L1TScalersSCAL::jetBit_
unsigned int jetBit_
Definition:
L1TScalersSCAL.h:56
edm::ParameterSet
Definition:
ParameterSet.h:35
L1TScalersSCAL::physTrig
MonitorElement * physTrig
Definition:
L1TScalersSCAL.h:71
L1TScalersSCAL::bunchCrossingL1A
MonitorElement * bunchCrossingL1A[4]
Definition:
L1TScalersSCAL.h:119
L1TScalersSCAL::buffertime_
long buffertime_
Definition:
L1TScalersSCAL.h:58
edm::Event
Definition:
Event.h:62
L1TScalersSCAL::egammaBit_
unsigned int egammaBit_
Definition:
L1TScalersSCAL.h:56
L1TScalersSCAL::monitorDaemon_
bool monitorDaemon_
Definition:
L1TScalersSCAL.h:55
L1TScalersSCAL::instLumiQlty
MonitorElement * instLumiQlty
Definition:
L1TScalersSCAL.h:109
L1TScalersSCAL::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
Definition:
L1TScalersSCAL.cc:569
L1TScalersSCAL::beginJob
void beginJob(void)
BeginJob.
Definition:
L1TScalersSCAL.cc:558
L1TScalersSCAL::sectionNum
MonitorElement * sectionNum
Definition:
L1TScalersSCAL.h:113
edm::Run
Definition:
Run.h:41
L1TScalersSCAL::L1TScalersSCAL
L1TScalersSCAL(const edm::ParameterSet &ps)
Constructors.
Definition:
L1TScalersSCAL.cc:32
L1TScalersSCAL::numberResets
MonitorElement * numberResets
Definition:
L1TScalersSCAL.h:73
L1TScalersSCAL::bufferAlgoRates_
std::vector< double > bufferAlgoRates_
Definition:
L1TScalersSCAL.h:60
Generated for CMSSW Reference Manual by
1.8.5