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 "BMTFTokens.h"
0006 
0007 namespace l1t {
0008   namespace stage2 {
0009     BMTFTokens::BMTFTokens(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) {
0010       auto ouputTag = cfg.getParameter<edm::InputTag>("InputLabel");
0011       auto inputTagPh = cfg.getParameter<edm::InputTag>("InputLabel2");
0012       auto inputTagTh = cfg.getParameter<edm::InputTag>("InputLabel2");
0013 
0014       outputMuonToken_ = cc.consumes<RegionalMuonCandBxCollection>(ouputTag);
0015       inputMuonTokenPh_ = cc.consumes<L1MuDTChambPhContainer>(inputTagPh);
0016       inputMuonTokenTh_ = cc.consumes<L1MuDTChambThContainer>(inputTagTh);
0017     }
0018   }  // namespace stage2
0019 }  // namespace l1t