CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTokens.cc
Go to the documentation of this file.
4 
5 #include "CaloTokens.h"
6 
7 namespace l1t {
8  namespace stage1 {
10  {
11  auto tag = cfg.getParameter<edm::InputTag>("InputLabel");
12  auto tautag = cfg.getParameter<edm::InputTag>("TauInputLabel");
13  auto isotautag = cfg.getParameter<edm::InputTag>("IsoTauInputLabel");
14  auto tagHFBitCounts = cfg.getParameter<edm::InputTag>("HFBitCountsInputLabel");
15  auto tagHFRingSums = cfg.getParameter<edm::InputTag>("HFRingSumsInputLabel");
16  auto tagRegion = cfg.getParameter<edm::InputTag>("RegionInputLabel");
17  auto tagEmCand = cfg.getParameter<edm::InputTag>("EmCandInputLabel");
18 
23  tauToken_ = cc.consumes<TauBxCollection>(tautag);
24  isotauToken_ = cc.consumes<TauBxCollection>(isotautag);
29 
30 
31  }
32  }
33 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
edm::EDGetTokenT< JetBxCollection > jetToken_
Definition: CaloTokens.h:43
std::vector< L1CaloEmCand > L1CaloEmCollection
tuple cfg
Definition: looper.py:293
CaloTokens(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition: CaloTokens.cc:9
edm::EDGetTokenT< CaloSpareBxCollection > calospareHFBitCountsToken_
Definition: CaloTokens.h:46
edm::EDGetTokenT< L1CaloEmCollection > caloemCandToken_
Definition: CaloTokens.h:49
edm::EDGetTokenT< TauBxCollection > isotauToken_
Definition: CaloTokens.h:45
edm::EDGetTokenT< TauBxCollection > tauToken_
Definition: CaloTokens.h:44
edm::EDGetTokenT< L1CaloRegionCollection > caloregionToken_
Definition: CaloTokens.h:48
edm::EDGetTokenT< EtSumBxCollection > etSumToken_
Definition: CaloTokens.h:42
edm::EDGetTokenT< CaloSpareBxCollection > calospareHFRingSumsToken_
Definition: CaloTokens.h:47
edm::EDGetTokenT< EGammaBxCollection > egammaToken_
Definition: CaloTokens.h:41
edm::EDGetTokenT< CaloTowerBxCollection > towerToken_
Definition: CaloTokens.h:37
std::vector< L1CaloRegion > L1CaloRegionCollection