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