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