Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
L1TriggerConfig
L1GtConfigProducers
src
L1GtPsbSetupTester.cc
Go to the documentation of this file.
1
15
// this class header
16
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtPsbSetupTester.h
"
17
18
// system include files
19
#include <iostream>
20
#include <iomanip>
21
22
// user include files
23
// base class
24
25
#include "
FWCore/Framework/interface/EventSetup.h
"
26
#include "
FWCore/Framework/interface/ESHandle.h
"
27
28
#include "
CondFormats/L1TObjects/interface/L1GtPsbSetup.h
"
29
#include "
CondFormats/DataRecord/interface/L1GtPsbSetupRcd.h
"
30
31
// forward declarations
32
33
// constructor(s)
34
L1GtPsbSetupTester::L1GtPsbSetupTester
(
const
edm::ParameterSet
& parSet) {
35
// empty
36
}
37
38
// destructor
39
L1GtPsbSetupTester::~L1GtPsbSetupTester
() {
40
// empty
41
}
42
43
// loop over events
44
void
L1GtPsbSetupTester::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup) {
45
edm::ESHandle<L1GtPsbSetup>
l1GtPsbSet;
46
evSetup.
get
<
L1GtPsbSetupRcd
>().
get
(l1GtPsbSet);
47
48
l1GtPsbSet->print(
std::cout
);
49
std::cout
<< std::endl;
50
}
L1GtPsbSetupTester::~L1GtPsbSetupTester
~L1GtPsbSetupTester() override
Definition:
L1GtPsbSetupTester.cc:39
L1GtPsbSetupTester::L1GtPsbSetupTester
L1GtPsbSetupTester(const edm::ParameterSet &)
Definition:
L1GtPsbSetupTester.cc:34
L1GtPsbSetupRcd
Definition:
L1GtPsbSetupRcd.h:39
EventSetup.h
L1GtPsbSetup.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
L1GtPsbSetupTester::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
L1GtPsbSetupTester.cc:44
edm::ESHandle
Definition:
DTSurvey.h:22
L1GtPsbSetupRcd.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
L1GtPsbSetupTester.h
edm::EventSetup::get
T get() const
Definition:
EventSetup.h:82
edm::ParameterSet
Definition:
ParameterSet.h:47
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:144
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.5