RecoMuon
MuonIdentification
plugins
MuonLinksProducer.h
Go to the documentation of this file.
1
#ifndef MuonIdentification_MuonLinksProducer_h
2
#define MuonIdentification_MuonLinksProducer_h
3
4
// -*- C++ -*-
5
//
6
// Package: MuonIdentification
7
// Class: MuonLinksProducer
8
//
9
/*
10
Simple producer to make reco::MuonTrackLinks collection
11
out of the global muons from "muons" collection to restore
12
dropped links used as input for MuonIdProducer.
13
*/
14
//
15
// Original Author: Dmytro Kovalskyi
16
//
17
//
18
19
// user include files
20
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
21
#include "
FWCore/Framework/interface/global/EDProducer.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
25
#include "
DataFormats/MuonReco/interface/Muon.h
"
26
27
class
MuonLinksProducer
:
public
edm::global::EDProducer
<> {
28
public
:
29
explicit
MuonLinksProducer
(
const
edm::ParameterSet
&);
30
31
~MuonLinksProducer
()
override
;
32
33
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
34
35
private
:
36
edm::InputTag
m_inputCollection
;
37
edm::EDGetTokenT<reco::MuonCollection>
muonToken_
;
38
};
39
#endif
EDProducer.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
MuonLinksProducer
Definition:
MuonLinksProducer.h:27
MuonLinksProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
MuonLinksProducer.cc:38
edm::EDGetTokenT< reco::MuonCollection >
Frameworkfwd.h
MuonFwd.h
ParameterSet.h
MuonLinksProducer::muonToken_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition:
MuonLinksProducer.h:37
edm::EventSetup
Definition:
EventSetup.h:59
Muon.h
edm::global::EDProducer
Definition:
EDProducer.h:32
MuonLinksProducer::~MuonLinksProducer
~MuonLinksProducer() override
Definition:
MuonLinksProducer.cc:36
edm::InputTag
Definition:
InputTag.h:15
MuonLinksProducer::m_inputCollection
edm::InputTag m_inputCollection
Definition:
MuonLinksProducer.h:36
MuonLinksProducer::MuonLinksProducer
MuonLinksProducer(const edm::ParameterSet &)
Definition:
MuonLinksProducer.cc:30
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14