Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:45:36

0001 #include "FWCore/Framework/interface/ConsumesCollector.h"
0002 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0003 #include "FWCore/Utilities/interface/InputTag.h"
0004 
0005 #include "EMTFTokens.h"
0006 
0007 namespace l1t {
0008   namespace stage2 {
0009     EMTFTokens::EMTFTokens(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) {
0010       auto tag = cfg.getParameter<edm::InputTag>("InputLabel");
0011 
0012       regionalMuonCandToken_ = cc.consumes<RegionalMuonCandBxCollection>(tag);
0013       regionalMuonShowerToken_ = cc.consumes<RegionalMuonShowerBxCollection>(tag);
0014       EMTFDaqOutToken_ = cc.consumes<EMTFDaqOutCollection>(tag);
0015       EMTFHitToken_ = cc.consumes<EMTFHitCollection>(tag);
0016       EMTFTrackToken_ = cc.consumes<EMTFTrackCollection>(tag);
0017       EMTFLCTToken_ = cc.consumes<CSCCorrelatedLCTDigiCollection>(tag);
0018       EMTFCSCShowerToken_ = cc.consumes<CSCShowerDigiCollection>(tag);
0019       EMTFCPPFToken_ = cc.consumes<CPPFDigiCollection>(tag);
0020       EMTFGEMPadClusterToken_ = cc.consumes<GEMPadDigiClusterCollection>(tag);
0021     }
0022   }  // namespace stage2
0023 }  // namespace l1t