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