EventFilter
L1TRawToDigi
plugins
implementations_stage2
CaloLayer1Tokens.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
2
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
3
#include "
FWCore/Utilities/interface/InputTag.h
"
4
5
#include "
CaloLayer1Tokens.h
"
6
7
namespace
l1t
{
8
namespace
stage2
{
9
CaloLayer1Tokens::CaloLayer1Tokens
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
&
cc
) {
10
auto
ecalTag =
cfg
.getParameter<
edm::InputTag
>(
"ecalDigis"
);
11
auto
hcalTag =
cfg
.getParameter<
edm::InputTag
>(
"hcalDigis"
);
12
auto
regionTag
=
cfg
.getParameter<
edm::InputTag
>(
"caloRegions"
);
13
14
ecalDigiToken_
=
cc
.consumes<
EcalTrigPrimDigiCollection
>(ecalTag);
15
hcalDigiToken_
=
cc
.consumes<
HcalTrigPrimDigiCollection
>(hcalTag);
16
caloRegionToken_
=
cc
.consumes<
L1CaloRegionCollection
>(
regionTag
);
17
}
18
}
// namespace stage2
19
}
// namespace l1t
l1t::stage2::CaloLayer1Tokens::hcalDigiToken_
edm::EDGetTokenT< HcalTrigPrimDigiCollection > hcalDigiToken_
Definition:
CaloLayer1Tokens.h:22
edm::SortedCollection
Definition:
SortedCollection.h:49
CaloLayer1Tokens.h
ValL1Emulator_cff.regionTag
regionTag
Definition:
ValL1Emulator_cff.py:63
l1t::stage2::CaloLayer1Tokens::ecalDigiToken_
edm::EDGetTokenT< EcalTrigPrimDigiCollection > ecalDigiToken_
Definition:
CaloLayer1Tokens.h:18
edm::ParameterSet
Definition:
ParameterSet.h:36
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::stage2::CaloLayer1Tokens::caloRegionToken_
edm::EDGetTokenT< L1CaloRegionCollection > caloRegionToken_
Definition:
CaloLayer1Tokens.h:23
cc
SiStripSourceConfigTier0_cff.stage2
stage2
Definition:
SiStripSourceConfigTier0_cff.py:71
InputTag.h
looper.cfg
cfg
Definition:
looper.py:297
L1CaloRegionCollection
std::vector< L1CaloRegion > L1CaloRegionCollection
Definition:
L1CaloCollections.h:11
ConsumesCollector.h
ParameterSet.h
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
l1t::stage2::CaloLayer1Tokens::CaloLayer1Tokens
CaloLayer1Tokens(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition:
CaloLayer1Tokens.cc:9
Generated for CMSSW Reference Manual by
1.8.16