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) {
41
// empty
42
}
43
44
// destructor
45
L1GtParametersTester::~L1GtParametersTester
() {
46
// empty
47
}
48
49
// loop over events
50
void
L1GtParametersTester::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup) {
51
edm::ESHandle<L1GtParameters>
l1GtPar;
52
evSetup.
get
<
L1GtParametersRcd
>().
get
(l1GtPar);
53
54
LogDebug
(
"L1GtParametersTester"
) << (*l1GtPar) << std::endl;
55
}
L1GtParametersTester.h
MessageLogger.h
ESHandle.h
L1GtParametersRcd.h
L1GtParameters.h
EDAnalyzer.h
L1GtParametersTester::~L1GtParametersTester
~L1GtParametersTester() override
Definition:
L1GtParametersTester.cc:45
edm::EventSetup::get
T get() const
Definition:
EventSetup.h:87
edm::ESHandle
Definition:
DTSurvey.h:22
L1GtParametersRcd
Definition:
L1GtParametersRcd.h:38
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:233
MessageDrop.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
L1GtParametersTester::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1GtParametersTester.cc:50
edm::EventSetup
Definition:
EventSetup.h:58
get
#define get
L1GtParametersTester::L1GtParametersTester
L1GtParametersTester(const edm::ParameterSet &)
Definition:
L1GtParametersTester.cc:40
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16