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
// base class
23
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
24
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
28
#include "
FWCore/Framework/interface/EventSetup.h
"
29
#include "
FWCore/Framework/interface/ESHandle.h
"
30
31
#include "
CondFormats/L1TObjects/interface/L1GtParameters.h
"
32
#include "
CondFormats/DataRecord/interface/L1GtParametersRcd.h
"
33
34
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
35
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
36
37
// forward declarations
38
39
// constructor(s)
40
L1GtParametersTester::L1GtParametersTester
(
const
edm::ParameterSet
& parSet) : m_l1GtParToken(
esConsumes
()) {
41
// empty
42
}
43
44
// loop over events
45
void
L1GtParametersTester::analyze
(
edm::StreamID
,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup)
const
{
46
LogDebug
(
"L1GtParametersTester"
) << evSetup.
getData
(
m_l1GtParToken
) << std::endl;
47
}
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
EDAnalyzer.h
L1GtParametersTester::L1GtParametersTester
L1GtParametersTester(const edm::ParameterSet &)
Definition:
L1GtParametersTester.cc:40
edm::ParameterSet
Definition:
ParameterSet.h:47
L1GtParametersTester::analyze
void analyze(edm::StreamID, const edm::Event &, const edm::EventSetup &) const override
Definition:
L1GtParametersTester.cc:45
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