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 "
SimDataFormats/Associations/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<TrackingParticleRefVector>
tpRefVectorToken_
;
27
edm::EDGetTokenT<edm::View<reco::Track>
>
tracksToken_
;
28
29
bool
tpRefVector
;
30
bool
ignoreMissingTrackCollection
;
31
edm::ParameterSet
parset_
;
32
MuonAssociatorByHits
*
associatorByHits
;
33
};
34
35
#endif
MuonAssociatorEDProducer::tpToken_
edm::EDGetTokenT< TrackingParticleCollection > tpToken_
Definition:
MuonAssociatorEDProducer.h:25
MuonAssociatorEDProducer::tpRefVectorToken_
edm::EDGetTokenT< TrackingParticleRefVector > tpRefVectorToken_
Definition:
MuonAssociatorEDProducer.h:26
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:27
MuonAssociatorEDProducer
Definition:
MuonAssociatorEDProducer.h:13
MuonAssociatorEDProducer::parset_
edm::ParameterSet parset_
Definition:
MuonAssociatorEDProducer.h:31
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:30
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
MuonAssociatorEDProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
MuonAssociatorEDProducer.cc:78
MuonAssociatorEDProducer::~MuonAssociatorEDProducer
~MuonAssociatorEDProducer() override
Definition:
MuonAssociatorEDProducer.cc:72
MuonAssociatorEDProducer::endJob
virtual void endJob()
Definition:
MuonAssociatorEDProducer.cc:76
MuonAssociatorByHits.h
InputTag.h
MuonAssociatorEDProducer::associatorByHits
MuonAssociatorByHits * associatorByHits
Definition:
MuonAssociatorEDProducer.h:32
EventSetup.h
ParameterSet.h
MuonAssociatorEDProducer::beginJob
virtual void beginJob()
Definition:
MuonAssociatorEDProducer.cc:74
edm::Event
Definition:
Event.h:73
MuonAssociatorEDProducer::MuonAssociatorEDProducer
MuonAssociatorEDProducer(const edm::ParameterSet &)
Definition:
MuonAssociatorEDProducer.cc:7
edm::InputTag
Definition:
InputTag.h:15
MuonAssociatorEDProducer::tpRefVector
bool tpRefVector
Definition:
MuonAssociatorEDProducer.h:29
Generated for CMSSW Reference Manual by
1.8.16