DQM
EcalCommon
interface
EcalMonitorPrescaler.h
Go to the documentation of this file.
1
#ifndef EcalMonitorPrescaler_H
2
#define EcalMonitorPrescaler_H
3
4
#include "
DataFormats/EcalRawData/interface/EcalRawDataCollections.h
"
5
#include "
FWCore/Framework/interface/EDFilter.h
"
6
7
#include <utility>
8
9
class
EcalMonitorPrescaler
:
public
edm::EDFilter
{
10
public
:
11
EcalMonitorPrescaler
(
edm::ParameterSet
const
&);
12
~EcalMonitorPrescaler
()
override
;
13
14
void
beginRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
15
bool
filter
(
edm::Event
&,
edm::EventSetup
const
&)
override
;
16
17
private
:
18
enum
Prescalers
{
kPhysics
,
kCosmics
,
kCalibration
,
kLaser
,
kLed
,
kTestPulse
,
kPedestal
,
nPrescalers
};
19
20
static
uint32_t
filterBits_
[
nPrescalers
];
21
22
edm::EDGetTokenT<EcalRawDataCollection>
EcalRawDataCollection_
;
23
24
std::pair<unsigned, unsigned>
prescalers_
[
nPrescalers
];
25
};
26
27
#endif // EcalMonitorPrescaler_H
edm::Run
Definition:
Run.h:45
EcalMonitorPrescaler::~EcalMonitorPrescaler
~EcalMonitorPrescaler() override
Definition:
EcalMonitorPrescaler.cc:74
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EDFilter.h
EcalMonitorPrescaler::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition:
EcalMonitorPrescaler.cc:76
EcalMonitorPrescaler::kLed
Definition:
EcalMonitorPrescaler.h:18
EcalMonitorPrescaler::kLaser
Definition:
EcalMonitorPrescaler.h:18
EcalMonitorPrescaler::Prescalers
Prescalers
Definition:
EcalMonitorPrescaler.h:18
EcalRawDataCollections.h
EcalMonitorPrescaler::filterBits_
static uint32_t filterBits_[nPrescalers]
Definition:
EcalMonitorPrescaler.h:20
EcalMonitorPrescaler::EcalMonitorPrescaler
EcalMonitorPrescaler(edm::ParameterSet const &)
Definition:
EcalMonitorPrescaler.cc:29
EcalMonitorPrescaler::nPrescalers
Definition:
EcalMonitorPrescaler.h:18
EcalMonitorPrescaler
Definition:
EcalMonitorPrescaler.h:9
EcalMonitorPrescaler::EcalRawDataCollection_
edm::EDGetTokenT< EcalRawDataCollection > EcalRawDataCollection_
Definition:
EcalMonitorPrescaler.h:22
edm::ParameterSet
Definition:
ParameterSet.h:47
EcalMonitorPrescaler::kPhysics
Definition:
EcalMonitorPrescaler.h:18
edm::EDFilter
Definition:
EDFilter.h:38
edm::EventSetup
Definition:
EventSetup.h:58
EcalMonitorPrescaler::kPedestal
Definition:
EcalMonitorPrescaler.h:18
EcalMonitorPrescaler::filter
bool filter(edm::Event &, edm::EventSetup const &) override
Definition:
EcalMonitorPrescaler.cc:81
EcalMonitorPrescaler::kCalibration
Definition:
EcalMonitorPrescaler.h:18
edm::Event
Definition:
Event.h:73
EcalMonitorPrescaler::kCosmics
Definition:
EcalMonitorPrescaler.h:18
EcalMonitorPrescaler::kTestPulse
Definition:
EcalMonitorPrescaler.h:18
EcalMonitorPrescaler::prescalers_
std::pair< unsigned, unsigned > prescalers_[nPrescalers]
Definition:
EcalMonitorPrescaler.h:24
Generated for CMSSW Reference Manual by
1.8.16