Main Page
Namespaces
Classes
Package Documentation
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
20
// user include files
21
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
22
#include "
FWCore/Framework/interface/global/EDProducer.h
"
23
#include "
FWCore/Framework/interface/Event.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
26
#include "
DataFormats/MuonReco/interface/Muon.h
"
27
28
class
MuonLinksProducer
:
public
edm::global::EDProducer
<> {
29
public
:
30
explicit
MuonLinksProducer
(
const
edm::ParameterSet
&);
31
32
~MuonLinksProducer
()
override
;
33
34
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
35
36
private
:
37
edm::InputTag
m_inputCollection
;
38
edm::EDGetTokenT<reco::MuonCollection>
muonToken_
;
39
40
};
41
#endif
EDProducer.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
MuonLinksProducer
Definition:
MuonLinksProducer.h:28
edm::EDGetTokenT< reco::MuonCollection >
Frameworkfwd.h
MuonFwd.h
ParameterSet.h
MuonLinksProducer::muonToken_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition:
MuonLinksProducer.h:38
MuonLinksProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
MuonLinksProducer.cc:42
edm::EventSetup
Definition:
EventSetup.h:57
Muon.h
edm::global::EDProducer
Definition:
EDProducer.h:32
MuonLinksProducer::~MuonLinksProducer
~MuonLinksProducer() override
Definition:
MuonLinksProducer.cc:38
edm::InputTag
Definition:
InputTag.h:15
MuonLinksProducer::m_inputCollection
edm::InputTag m_inputCollection
Definition:
MuonLinksProducer.h:37
MuonLinksProducer::MuonLinksProducer
MuonLinksProducer(const edm::ParameterSet &)
Definition:
MuonLinksProducer.cc:31
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
Generated for CMSSW Reference Manual by
1.8.11