Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
{
36
// empty
37
}
38
39
// destructor
40
L1GtPsbSetupTester::~L1GtPsbSetupTester
()
41
{
42
// empty
43
}
44
45
// loop over events
46
void
L1GtPsbSetupTester::analyze
(
47
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& evSetup)
48
{
49
50
edm::ESHandle< L1GtPsbSetup >
l1GtPsbSet ;
51
evSetup.
get
<
L1GtPsbSetupRcd
>().
get
( l1GtPsbSet ) ;
52
53
l1GtPsbSet->print(
std::cout
);
54
std::cout
<< std::endl;
55
56
}
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:230
edm::ESHandle
Definition:
DTSurvey.h:22
L1GtPsbSetupRcd.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
L1GtPsbSetupTester::~L1GtPsbSetupTester
virtual ~L1GtPsbSetupTester()
Definition:
L1GtPsbSetupTester.cc:40
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:46
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
edm::Event
Definition:
Event.h:61
Generated for CMSSW Reference Manual by
1.8.5