CMS 3D CMS Logo

GTTokens.cc
Go to the documentation of this file.
4 
5 #include "GTTokens.h"
6 
7 namespace l1t {
8  namespace stage2 {
10  auto gttag = cfg.getParameter<edm::InputTag>("GtInputTag");
11  auto exttag = cfg.getParameter<edm::InputTag>("ExtInputTag");
12  auto egammatag = cfg.getParameter<edm::InputTag>("EGammaInputTag");
13  auto jettag = cfg.getParameter<edm::InputTag>("JetInputTag");
14  auto tautag = cfg.getParameter<edm::InputTag>("TauInputTag");
15  auto etsumtag = cfg.getParameter<edm::InputTag>("EtSumInputTag");
16  auto muontag = cfg.getParameter<edm::InputTag>("MuonInputTag");
17 
18  //cout << "DEBUG: GmtInputTag" << muontag << "\n";
19 
20  muonToken_ = cc.consumes<MuonBxCollection>(muontag);
21  egammaToken_ = cc.consumes<EGammaBxCollection>(egammatag);
22  etSumToken_ = cc.consumes<EtSumBxCollection>(etsumtag);
23  jetToken_ = cc.consumes<JetBxCollection>(jettag);
24  tauToken_ = cc.consumes<TauBxCollection>(tautag);
25  algToken_ = cc.consumes<GlobalAlgBlkBxCollection>(gttag);
26  extToken_ = cc.consumes<GlobalExtBlkBxCollection>(exttag);
27  }
28  } // namespace stage2
29 } // namespace l1t
l1t::stage2::GTTokens::algToken_
edm::EDGetTokenT< GlobalAlgBlkBxCollection > algToken_
Definition: GTTokens.h:21
l1t::stage2::CommonTokens::muonToken_
edm::EDGetTokenT< MuonBxCollection > muonToken_
Definition: CommonTokens.h:28
GTTokens.h
BXVector
Definition: BXVector.h:15
l1t::stage2::CommonTokens::tauToken_
edm::EDGetTokenT< TauBxCollection > tauToken_
Definition: CommonTokens.h:27
l1t::stage2::CommonTokens::egammaToken_
edm::EDGetTokenT< EGammaBxCollection > egammaToken_
Definition: CommonTokens.h:21
l1t::stage2::GTTokens::extToken_
edm::EDGetTokenT< GlobalExtBlkBxCollection > extToken_
Definition: GTTokens.h:25
l1t::stage2::GTTokens::GTTokens
GTTokens(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition: GTTokens.cc:9
edm::ParameterSet
Definition: ParameterSet.h:36
l1t
delete x;
Definition: CaloConfig.h:22
l1t::stage2::CommonTokens::etSumToken_
edm::EDGetTokenT< EtSumBxCollection > etSumToken_
Definition: CommonTokens.h:25
cc
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
InputTag.h
looper.cfg
cfg
Definition: looper.py:297
ConsumesCollector.h
l1t::stage2::CommonTokens::jetToken_
edm::EDGetTokenT< JetBxCollection > jetToken_
Definition: CommonTokens.h:26
ParameterSet.h
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39