RecoMuon
GlobalMuonProducer
src
GlobalMuonProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_GlobalMuonProducer_GlobalMuonProducer_H
2
#define RecoMuon_GlobalMuonProducer_GlobalMuonProducer_H
3
16
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
17
18
// Input and output collection
19
#include "
DataFormats/TrackReco/interface/Track.h
"
20
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
21
22
#include "
DataFormats/MuonReco/interface/MuonTrackLinks.h
"
23
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
24
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
25
#include "
DataFormats/TrackReco/interface/TrackToTrackMap.h
"
26
27
namespace
edm
{
28
class
ParameterSet
;
29
class
Event
;
30
class
EventSetup
;
31
}
// namespace edm
32
33
class
MuonTrackFinder
;
34
class
MuonServiceProxy
;
35
36
class
GlobalMuonProducer
:
public
edm::stream::EDProducer
<> {
37
public
:
39
GlobalMuonProducer
(
const
edm::ParameterSet
&);
40
42
~GlobalMuonProducer
()
override
;
43
45
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
46
47
private
:
48
edm::InputTag
theSTACollectionLabel
;
50
edm::EDGetTokenT<reco::TrackCollection>
staMuonsToken
;
51
edm::EDGetTokenT<std::vector<Trajectory>
>
staMuonsTrajToken
;
52
edm::EDGetTokenT<TrajTrackAssociationCollection>
staAssoMapToken
;
53
edm::EDGetTokenT<reco::TrackToTrackMap>
updatedStaAssoMapToken
;
54
55
MuonTrackFinder
*
theTrackFinder
;
56
58
MuonServiceProxy
*
theService
;
59
60
std::string
theAlias
;
61
62
void
setAlias
(
std::string
alias
) {
63
alias
.erase(
alias
.size() - 1,
alias
.size());
64
theAlias
=
alias
;
65
}
66
};
67
68
#endif
GlobalMuonProducer::updatedStaAssoMapToken
edm::EDGetTokenT< reco::TrackToTrackMap > updatedStaAssoMapToken
Definition:
GlobalMuonProducer.h:53
GlobalMuonProducer::theAlias
std::string theAlias
Definition:
GlobalMuonProducer.h:60
GlobalMuonProducer::theSTACollectionLabel
edm::InputTag theSTACollectionLabel
Definition:
GlobalMuonProducer.h:48
GlobalMuonProducer::theTrackFinder
MuonTrackFinder * theTrackFinder
Definition:
GlobalMuonProducer.h:55
GlobalMuonProducer
Definition:
GlobalMuonProducer.h:36
edm::EDGetTokenT< reco::TrackCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
GlobalMuonProducer::GlobalMuonProducer
GlobalMuonProducer(const edm::ParameterSet &)
constructor with config
Definition:
GlobalMuonProducer.cc:35
EDProducer.h
GlobalMuonProducer::~GlobalMuonProducer
~GlobalMuonProducer() override
destructor
Definition:
GlobalMuonProducer.cc:81
GlobalMuonProducer::staMuonsToken
edm::EDGetTokenT< reco::TrackCollection > staMuonsToken
STA Tokens.
Definition:
GlobalMuonProducer.h:50
GlobalMuonProducer::theService
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition:
GlobalMuonProducer.h:58
Track.h
TrackFwd.h
GlobalMuonProducer::staAssoMapToken
edm::EDGetTokenT< TrajTrackAssociationCollection > staAssoMapToken
Definition:
GlobalMuonProducer.h:52
MuonFwd.h
Event
TrajTrackAssociation.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
GlobalMuonProducer::staMuonsTrajToken
edm::EDGetTokenT< std::vector< Trajectory > > staMuonsTrajToken
Definition:
GlobalMuonProducer.h:51
MuonTrackLinks.h
ParameterSet
Definition:
Functions.h:16
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
SiStripOfflineCRack_cfg.alias
alias
Definition:
SiStripOfflineCRack_cfg.py:129
MuonTrackFinder
Definition:
MuonTrackFinder.h:31
EventSetup
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
GlobalMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
GlobalMuonProducer.h:62
edm::InputTag
Definition:
InputTag.h:15
GlobalMuonProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
Definition:
GlobalMuonProducer.cc:92
TrackToTrackMap.h
Generated for CMSSW Reference Manual by
1.8.16