Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:01

0001 #ifndef MuonIdentification_MuonLinksProducer_h
0002 #define MuonIdentification_MuonLinksProducer_h
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    MuonIdentification
0007 // Class:      MuonLinksProducer
0008 //
0009 /*
0010  Simple producer to make reco::MuonTrackLinks collection 
0011  out of the global muons from "muons" collection to restore
0012  dropped links used as input for MuonIdProducer.
0013  */
0014 //
0015 // Original Author:  Dmytro Kovalskyi
0016 //
0017 //
0018 
0019 // user include files
0020 #include "FWCore/Framework/interface/Frameworkfwd.h"
0021 #include "FWCore/Framework/interface/global/EDProducer.h"
0022 #include "FWCore/Framework/interface/Event.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0024 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0025 #include "DataFormats/MuonReco/interface/Muon.h"
0026 
0027 class MuonLinksProducer : public edm::global::EDProducer<> {
0028 public:
0029   explicit MuonLinksProducer(const edm::ParameterSet&);
0030 
0031   ~MuonLinksProducer() override;
0032 
0033   void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0034 
0035 private:
0036   edm::InputTag m_inputCollection;
0037   edm::EDGetTokenT<reco::MuonCollection> muonToken_;
0038 };
0039 #endif