Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
L1TRawToDigi
src
implementations_stage2
EMTFTokens.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 "
EMTFTokens.h
"
6
7
namespace
l1t {
8
namespace
stage2 {
9
EMTFTokens::EMTFTokens
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& cc) :
PackerTokens
(cfg, cc)
10
{
11
auto
tag
= cfg.
getParameter
<
edm::InputTag
>(
"InputLabel"
);
12
13
// EMTFMuonCandToken_ = cc.consumes<EMTFMuonCandBxCollection>(tag); // Does this need a tag? which one? - AWB 11.01.15
14
EMTFOutputToken_
= cc.
consumes
<
EMTFOutputCollection
>(
tag
);
// Does this need a tag? which one? - AWB 11.01.15
15
}
16
}
17
}
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition:
ConsumesCollector.h:52
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
looper.cfg
tuple cfg
Definition:
looper.py:293
l1t::stage2::EMTFTokens::EMTFTokens
EMTFTokens(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition:
EMTFTokens.cc:9
ParameterSet.h
l1t::stage2::EMTFTokens::EMTFOutputToken_
edm::EDGetTokenT< EMTFOutputCollection > EMTFOutputToken_
Definition:
EMTFTokens.h:17
GlobalPosition_Frontier_DevDB_cff.tag
tuple tag
Definition:
GlobalPosition_Frontier_DevDB_cff.py:11
l1t::EMTFOutputCollection
std::vector< EMTFOutput > EMTFOutputCollection
Definition:
EMTFOutput.h:102
EMTFTokens.h
edm::InputTag
Definition:
InputTag.h:15
l1t::PackerTokens
Definition:
PackerTokens.h:10
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.5