Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Calibration
EcalCalibAlgos
interface
ECALpedestalPCLworker.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Calibration/EcalCalibAlgos
4
// Class: ECALpedestalPCLworker
5
//
12
//
13
// Original Author: Stefano Argiro
14
// Created: Wed, 22 Mar 2017 14:46:48 GMT
15
//
16
//
17
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
20
#include "
DQMServices/Core/interface/DQMStore.h
"
21
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
27
#include "
DataFormats/TCDS/interface/BSTRecord.h
"
28
#include "
DataFormats/TCDS/interface/TCDSRecord.h
"
29
//
30
// class declaration
31
//
32
33
class
ECALpedestalPCLworker
:
public
DQMEDAnalyzer
{
34
public
:
35
explicit
ECALpedestalPCLworker
(
const
edm::ParameterSet
&);
36
37
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
38
39
private
:
40
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
41
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
42
43
edm::EDGetTokenT<EBDigiCollection>
digiTokenEB_
;
44
edm::EDGetTokenT<EEDigiCollection>
digiTokenEE_
;
45
edm::EDGetTokenT<TCDSRecord>
tcdsToken_
;
46
47
std::vector<MonitorElement *>
meEB_
;
48
std::vector<MonitorElement *>
meEE_
;
49
50
uint32_t
pedestalSamples_
;
// number of presamples to be used for pedestal determination
51
bool
checkSignal_
;
// avoid frames containing a signal
52
uint32_t
sThresholdEB_
;
// if checkSignal = true threshold (in adc count) above which we'll assume
53
// there's signal and not just pedestal
54
55
uint32_t
sThresholdEE_
;
56
57
bool
dynamicBooking_
;
// use old pedestal to book histograms
58
int
fixedBookingCenterBin_
;
// if dynamicBooking_ = false, use this as bin center
59
int
nBins_
;
// number of bins per histogram
60
std::string
dqmDir_
;
// DQM directory where histograms are stored
61
62
bool
requireStableBeam_
;
63
64
// compare ADC values
65
static
bool
adc_compare
(uint16_t
a
, uint16_t
b
) {
return
(
a
& 0xFFF) < (
b
& 0xFFF); }
66
};
ECALpedestalPCLworker::nBins_
int nBins_
Definition:
ECALpedestalPCLworker.h:59
BSTRecord.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< EBDigiCollection >
DQMStore.h
ECALpedestalPCLworker::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
ECALpedestalPCLworker.cc:99
ECALpedestalPCLworker::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
ECALpedestalPCLworker.cc:105
MakerMacros.h
ECALpedestalPCLworker
Definition:
ECALpedestalPCLworker.h:33
ECALpedestalPCLworker::digiTokenEB_
edm::EDGetTokenT< EBDigiCollection > digiTokenEB_
Definition:
ECALpedestalPCLworker.h:43
TCDSRecord.h
EcalDigiCollections.h
ECALpedestalPCLworker::tcdsToken_
edm::EDGetTokenT< TCDSRecord > tcdsToken_
Definition:
ECALpedestalPCLworker.h:45
b
double b
Definition:
hdecay.h:118
ECALpedestalPCLworker::meEE_
std::vector< MonitorElement * > meEE_
Definition:
ECALpedestalPCLworker.h:48
DQMEDAnalyzer.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
ECALpedestalPCLworker::meEB_
std::vector< MonitorElement * > meEB_
Definition:
ECALpedestalPCLworker.h:47
edm::ParameterSet
Definition:
ParameterSet.h:36
a
double a
Definition:
hdecay.h:119
ECALpedestalPCLworker::adc_compare
static bool adc_compare(uint16_t a, uint16_t b)
Definition:
ECALpedestalPCLworker.h:65
Event.h
ECALpedestalPCLworker::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
ECALpedestalPCLworker.cc:37
ECALpedestalPCLworker::sThresholdEB_
uint32_t sThresholdEB_
Definition:
ECALpedestalPCLworker.h:52
ECALpedestalPCLworker::requireStableBeam_
bool requireStableBeam_
Definition:
ECALpedestalPCLworker.h:62
edm::EventSetup
Definition:
EventSetup.h:57
ECALpedestalPCLworker::sThresholdEE_
uint32_t sThresholdEE_
Definition:
ECALpedestalPCLworker.h:55
ECALpedestalPCLworker::dqmDir_
std::string dqmDir_
Definition:
ECALpedestalPCLworker.h:60
Frameworkfwd.h
ECALpedestalPCLworker::fixedBookingCenterBin_
int fixedBookingCenterBin_
Definition:
ECALpedestalPCLworker.h:58
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ECALpedestalPCLworker::dynamicBooking_
bool dynamicBooking_
Definition:
ECALpedestalPCLworker.h:57
ParameterSet.h
edm::Event
Definition:
Event.h:73
ECALpedestalPCLworker::pedestalSamples_
uint32_t pedestalSamples_
Definition:
ECALpedestalPCLworker.h:50
ECALpedestalPCLworker::checkSignal_
bool checkSignal_
Definition:
ECALpedestalPCLworker.h:51
ECALpedestalPCLworker::digiTokenEE_
edm::EDGetTokenT< EEDigiCollection > digiTokenEE_
Definition:
ECALpedestalPCLworker.h:44
ECALpedestalPCLworker::ECALpedestalPCLworker
ECALpedestalPCLworker(const edm::ParameterSet &)
Definition:
ECALpedestalPCLworker.cc:12
Generated for CMSSW Reference Manual by
1.8.16