SimMuon
MCTruth
plugins
MuonAssociatorEDProducer.h
Go to the documentation of this file.
1
#ifndef MCTruth_MuonAssociatorEDProducer_h
2
#define MCTruth_MuonAssociatorEDProducer_h
3
4
#include "
DataFormats/RecoCandidate/interface/TrackAssociation.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/Utilities/interface/InputTag.h
"
10
#include "
SimMuon/MCTruth/interface/MuonAssociatorByHits.h
"
11
#include <memory>
12
13
class
MuonAssociatorEDProducer
:
public
edm::stream::EDProducer
<> {
14
public
:
15
explicit
MuonAssociatorEDProducer
(
const
edm::ParameterSet
&);
16
~MuonAssociatorEDProducer
()
override
;
17
18
private
:
19
virtual
void
beginJob
();
20
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
virtual
void
endJob
();
22
23
edm::InputTag
tracksTag
;
24
edm::InputTag
tpTag
;
25
edm::EDGetTokenT<TrackingParticleCollection>
tpToken_
;
26
edm::EDGetTokenT<edm::View<reco::Track>
>
tracksToken_
;
27
28
bool
ignoreMissingTrackCollection
;
29
edm::ParameterSet
parset_
;
30
MuonAssociatorByHits
*
associatorByHits
;
31
};
32
33
#endif
MuonAssociatorEDProducer::tpToken_
edm::EDGetTokenT< TrackingParticleCollection > tpToken_
Definition:
MuonAssociatorEDProducer.h:25
edm::EDGetTokenT< TrackingParticleCollection >
TrackAssociation.h
EDProducer.h
MuonAssociatorEDProducer::tpTag
edm::InputTag tpTag
Definition:
MuonAssociatorEDProducer.h:24
MuonAssociatorEDProducer::tracksToken_
edm::EDGetTokenT< edm::View< reco::Track > > tracksToken_
Definition:
MuonAssociatorEDProducer.h:26
MuonAssociatorEDProducer
Definition:
MuonAssociatorEDProducer.h:13
MuonAssociatorEDProducer::parset_
edm::ParameterSet parset_
Definition:
MuonAssociatorEDProducer.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
MuonAssociatorByHits
Definition:
MuonAssociatorByHits.h:25
Event.h
MuonAssociatorEDProducer::tracksTag
edm::InputTag tracksTag
Definition:
MuonAssociatorEDProducer.h:23
MuonAssociatorEDProducer::ignoreMissingTrackCollection
bool ignoreMissingTrackCollection
Definition:
MuonAssociatorEDProducer.h:28
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
MuonAssociatorEDProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
MuonAssociatorEDProducer.cc:71
MuonAssociatorEDProducer::~MuonAssociatorEDProducer
~MuonAssociatorEDProducer() override
Definition:
MuonAssociatorEDProducer.cc:65
MuonAssociatorEDProducer::endJob
virtual void endJob()
Definition:
MuonAssociatorEDProducer.cc:69
MuonAssociatorByHits.h
InputTag.h
MuonAssociatorEDProducer::associatorByHits
MuonAssociatorByHits * associatorByHits
Definition:
MuonAssociatorEDProducer.h:30
EventSetup.h
ParameterSet.h
MuonAssociatorEDProducer::beginJob
virtual void beginJob()
Definition:
MuonAssociatorEDProducer.cc:67
edm::Event
Definition:
Event.h:73
MuonAssociatorEDProducer::MuonAssociatorEDProducer
MuonAssociatorEDProducer(const edm::ParameterSet &)
Definition:
MuonAssociatorEDProducer.cc:7
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16