L1TriggerConfig
L1GtConfigProducers
src
L1GtStableParametersTester.cc
Go to the documentation of this file.
1
15
// this class header
16
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtStableParametersTester.h
"
17
18
// system include files
19
#include <iomanip>
20
#include <iostream>
21
22
// user include files
23
// base class
24
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
25
26
#include "
FWCore/Framework/interface/Event.h
"
27
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
28
29
#include "
FWCore/Framework/interface/EventSetup.h
"
30
#include "
FWCore/Framework/interface/ESHandle.h
"
31
32
#include "
CondFormats/L1TObjects/interface/L1GtStableParameters.h
"
33
#include "
CondFormats/DataRecord/interface/L1GtStableParametersRcd.h
"
34
35
// forward declarations
36
37
// constructor(s)
38
L1GtStableParametersTester::L1GtStableParametersTester
(
const
edm::ParameterSet
& parSet) {
39
// empty
40
}
41
42
// destructor
43
L1GtStableParametersTester::~L1GtStableParametersTester
() {
44
// empty
45
}
46
47
// loop over events
48
void
L1GtStableParametersTester::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup) {
49
edm::ESHandle<L1GtStableParameters>
l1GtPar;
50
evSetup.
get
<
L1GtStableParametersRcd
>().
get
(l1GtPar);
51
52
l1GtPar->
print
(
std::cout
);
53
}
L1GtStableParametersTester.h
ESHandle.h
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
L1GtStableParametersRcd.h
EDAnalyzer.h
L1GtStableParametersTester::L1GtStableParametersTester
L1GtStableParametersTester(const edm::ParameterSet &)
Definition:
L1GtStableParametersTester.cc:38
edm::EventSetup::get
T get() const
Definition:
EventSetup.h:80
L1GtStableParametersTester::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1GtStableParametersTester.cc:48
edm::ESHandle
Definition:
DTSurvey.h:22
L1GtStableParameters::print
void print(std::ostream &) const
print all the L1 GT stable parameters
Definition:
L1GtStableParameters.cc:127
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::EventSetup
Definition:
EventSetup.h:57
get
#define get
L1GtStableParametersRcd
Definition:
L1GtStableParametersRcd.h:39
L1GtStableParametersTester::~L1GtStableParametersTester
~L1GtStableParametersTester() override
Definition:
L1GtStableParametersTester.cc:43
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
L1GtStableParameters.h
Generated for CMSSW Reference Manual by
1.8.16