src
L1TriggerConfig
L1GtConfigProducers
src
L1GtParametersTester.cc
Go to the documentation of this file.
1
15
// this class header
16
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtParametersTester.h
"
17
18
// system include files
19
#include <iomanip>
20
21
// user include files
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
25
#include "
FWCore/Framework/interface/EventSetup.h
"
26
#include "
FWCore/Framework/interface/ESHandle.h
"
27
28
#include "
CondFormats/L1TObjects/interface/L1GtParameters.h
"
29
#include "
CondFormats/DataRecord/interface/L1GtParametersRcd.h
"
30
31
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
32
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
33
34
// forward declarations
35
36
// constructor(s)
37
L1GtParametersTester::L1GtParametersTester
(
const
edm::ParameterSet
& parSet) : m_l1GtParToken(
esConsumes
()) {
38
// empty
39
}
40
41
// loop over events
42
void
L1GtParametersTester::analyze
(
edm::StreamID
,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup)
const
{
43
LogDebug
(
"L1GtParametersTester"
) << evSetup.
getData
(
m_l1GtParToken
) << std::endl;
44
}
L1GtParametersTester::m_l1GtParToken
const edm::ESGetToken< L1GtParameters, L1GtParametersRcd > m_l1GtParToken
Definition:
L1GtParametersTester.h:43
L1GtParametersTester.h
deDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition:
DeDxTools.cc:283
L1GtParametersRcd.h
MessageLogger.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
EventSetup.h
ParameterSet.h
MessageDrop.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition:
EventSetup.h:122
L1GtParametersTester::L1GtParametersTester
L1GtParametersTester(const edm::ParameterSet &)
Definition:
L1GtParametersTester.cc:37
edm::ParameterSet
Definition:
ParameterSet.h:47
L1GtParametersTester::analyze
void analyze(edm::StreamID, const edm::Event &, const edm::EventSetup &) const override
Definition:
L1GtParametersTester.cc:42
edm::Event
Definition:
Event.h:73
L1GtParameters.h
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:233
Generated for CMSSW Reference Manual by
1.8.14