Main Page
Namespaces
Classes
Package Documentation
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
(
39
const
edm::ParameterSet
& parSet) {
40
// empty
41
}
42
43
// destructor
44
L1GtStableParametersTester::~L1GtStableParametersTester
() {
45
// empty
46
}
47
48
// loop over events
49
void
L1GtStableParametersTester::analyze
(
const
edm::Event
&
iEvent
,
50
const
edm::EventSetup
& evSetup) {
51
52
edm::ESHandle< L1GtStableParameters>
l1GtPar;
53
evSetup.
get
<
L1GtStableParametersRcd
>().
get
(l1GtPar) ;
54
55
l1GtPar->
print
(
std::cout
);
56
57
}
L1GtStableParametersRcd.h
Event.h
EventSetup.h
ParameterSet.h
L1GtStableParameters::print
void print(std::ostream &) const
print all the L1 GT stable parameters
Definition:
L1GtStableParameters.cc:184
iEvent
int iEvent
Definition:
GenABIO.cc:230
L1GtStableParametersRcd
Definition:
L1GtStableParametersRcd.h:39
edm::ESHandle
Definition:
DTSurvey.h:22
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
EDAnalyzer.h
L1GtStableParametersTester::~L1GtStableParametersTester
virtual ~L1GtStableParametersTester()
Definition:
L1GtStableParametersTester.cc:44
edm::EventSetup::get
const T & get() const
Definition:
EventSetup.h:56
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
cout
Definition:
gather_cfg.py:145
L1GtStableParametersTester.h
edm::Event
Definition:
Event.h:66
L1GtStableParametersTester::L1GtStableParametersTester
L1GtStableParametersTester(const edm::ParameterSet &)
Definition:
L1GtStableParametersTester.cc:38
L1GtStableParameters.h
L1GtStableParametersTester::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
L1GtStableParametersTester.cc:49
Generated for CMSSW Reference Manual by
1.8.11