Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1TriggerConfig
GctConfigProducers
src
L1GctConfigDump.cc
Go to the documentation of this file.
1
#include "
L1TriggerConfig/GctConfigProducers/interface/L1GctConfigDump.h
"
2
3
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
4
#include "
FWCore/PluginManager/interface/ModuleDef.h
"
5
#include "
FWCore/Framework/interface/MakerMacros.h
"
6
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/Framework/interface/ESHandle.h
"
12
13
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
14
#include "
FWCore/MessageLogger/interface/MessageDrop.h
"
15
16
#include "
CondFormats/L1TObjects/interface/L1GctJetFinderParams.h
"
17
#include "
CondFormats/L1TObjects/interface/L1GctChannelMask.h
"
18
#include "
CondFormats/L1TObjects/interface/L1CaloEtScale.h
"
19
20
#include "
CondFormats/DataRecord/interface/L1GctJetFinderParamsRcd.h
"
21
#include "
CondFormats/DataRecord/interface/L1GctChannelMaskRcd.h
"
22
#include "
CondFormats/DataRecord/interface/L1JetEtScaleRcd.h
"
23
#include "
CondFormats/DataRecord/interface/L1HtMissScaleRcd.h
"
24
#include "
CondFormats/DataRecord/interface/L1HfRingEtScaleRcd.h
"
25
26
#include <iomanip>
27
28
29
L1GctConfigDump::L1GctConfigDump
(
const
edm::ParameterSet
& pSet)
30
{
31
// empty
32
}
33
34
// destructor
35
L1GctConfigDump::~L1GctConfigDump
()
36
{
37
// empty
38
}
39
40
void
L1GctConfigDump::analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup) {
41
42
// get records
43
44
edm::ESHandle< L1GctJetFinderParams >
jfParams;
45
iSetup.
get
<
L1GctJetFinderParamsRcd
>().
get
( jfParams ) ;
46
47
edm::ESHandle< L1GctChannelMask >
chanMask;
48
iSetup.
get
<
L1GctChannelMaskRcd
>().
get
( chanMask ) ;
49
50
edm::ESHandle< L1CaloEtScale >
jetScale;
51
iSetup.
get
<
L1JetEtScaleRcd
>().
get
( jetScale ) ;
52
53
edm::ESHandle< L1CaloEtScale >
htmScale;
54
iSetup.
get
<
L1HtMissScaleRcd
>().
get
( htmScale ) ;
55
56
edm::ESHandle< L1CaloEtScale >
hfRingScale;
57
iSetup.
get
<
L1HfRingEtScaleRcd
>().
get
( hfRingScale ) ;
58
59
edm::LogInfo
(
"L1GctConfigDump"
) << (*jfParams) << std::endl;
60
edm::LogInfo
(
"L1GctConfigDump"
) << (*chanMask) << std::endl;
61
edm::LogInfo
(
"L1GctConfigDump"
) <<
"GCT jet Et scale : "
<< std::endl << (*jetScale) << std::endl;
62
edm::LogInfo
(
"L1GctConfigDump"
) <<
"GCT HtMiss scale : "
<< std::endl << (*htmScale) << std::endl;
63
edm::LogInfo
(
"L1GctConfigDump"
) <<
"GCT HF ring scale : "
<< std::endl << (*hfRingScale) << std::endl;
64
65
}
66
67
68
69
DEFINE_FWK_MODULE
(
L1GctConfigDump
);
L1CaloEtScale.h
L1GctChannelMaskRcd.h
MessageLogger.h
L1HfRingEtScaleRcd.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
Event.h
L1GctConfigDump::L1GctConfigDump
L1GctConfigDump(const edm::ParameterSet &)
Definition:
L1GctConfigDump.cc:29
MakerMacros.h
EventSetup.h
L1GctJetFinderParams.h
L1GctConfigDump::~L1GctConfigDump
virtual ~L1GctConfigDump()
Definition:
L1GctConfigDump.cc:35
L1GctJetFinderParamsRcd.h
L1GctJetFinderParamsRcd
Definition:
L1GctJetFinderParamsRcd.h:31
L1HfRingEtScaleRcd
Definition:
L1HfRingEtScaleRcd.h:30
ParameterSet.h
L1JetEtScaleRcd
Definition:
L1JetEtScaleRcd.h:30
MessageDrop.h
iEvent
int iEvent
Definition:
GenABIO.cc:243
edm::ESHandle
Definition:
DTSurvey.h:22
L1GctChannelMaskRcd
Definition:
L1GctChannelMaskRcd.h:12
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
EDAnalyzer.h
edm::LogInfo
Definition:
MessageLogger.h:214
edm::EventSetup::get
const T & get() const
Definition:
EventSetup.h:55
L1HtMissScaleRcd.h
L1JetEtScaleRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:35
L1GctConfigDump.h
L1GctChannelMask.h
edm::Event
Definition:
Event.h:50
ModuleDef.h
L1GctConfigDump::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
L1GctConfigDump.cc:40
L1HtMissScaleRcd
Definition:
L1HtMissScaleRcd.h:30
L1GctConfigDump
Definition:
L1GctConfigDump.h:31
Generated for CMSSW Reference Manual by
1.8.5