Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:49

0001 #include "FWCore/Framework/interface/ConsumesCollector.h"
0002 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0003 #include "FWCore/Utilities/interface/InputTag.h"
0004 
0005 #include "CaloTokens.h"
0006 
0007 namespace l1t {
0008   namespace stage2 {
0009     CaloTokens::CaloTokens(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) {
0010       auto towtag = cfg.getParameter<edm::InputTag>("TowerInputLabel");
0011       auto tag = cfg.getParameter<edm::InputTag>("InputLabel");
0012       towerToken_ = cc.consumes<CaloTowerBxCollection>(towtag);
0013       egammaToken_ = cc.consumes<EGammaBxCollection>(tag);
0014       etSumToken_ = cc.consumes<EtSumBxCollection>(tag);
0015       jetToken_ = cc.consumes<JetBxCollection>(tag);
0016       tauToken_ = cc.consumes<TauBxCollection>(tag);
0017     }
0018   }  // namespace stage2
0019 }  // namespace l1t