RecoMuon
GlobalMuonProducer
src
TevMuonProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_GlobalMuonProducer_TevMuonProducer_H
2
#define RecoMuon_GlobalMuonProducer_TevMuonProducer_H
3
16
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
17
#include "
RecoMuon/GlobalTrackingTools/interface/GlobalMuonRefitter.h
"
18
#include "
RecoMuon/TrackingTools/interface/MuonTrackLoader.h
"
19
20
#include "
DataFormats/TrackReco/interface/Track.h
"
21
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
22
// Input and output collection
23
24
#include "
DataFormats/MuonReco/interface/MuonTrackLinks.h
"
25
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
26
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
27
#include "
DataFormats/TrackReco/interface/TrackToTrackMap.h
"
28
#include "
DataFormats/TrackerCommon/interface/TrackerTopology.h
"
29
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
30
#include "
DataFormats/Common/interface/ValueMap.h
"
31
32
typedef
edm::ValueMap<reco::DYTInfo>
DYTestimators
;
33
34
namespace
edm
{
35
class
ParameterSet
;
36
class
Event
;
37
class
EventSetup
;
38
}
// namespace edm
39
40
class
MuonTrackFinder
;
41
class
MuonServiceProxy
;
42
43
class
TevMuonProducer
:
public
edm::stream::EDProducer
<> {
44
public
:
46
TevMuonProducer
(
const
edm::ParameterSet
&);
47
49
~TevMuonProducer
()
override
;
50
52
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
53
54
private
:
56
edm::InputTag
theGLBCollectionLabel
;
57
edm::EDGetTokenT<reco::TrackCollection>
glbMuonsToken
;
58
edm::EDGetTokenT<std::vector<Trajectory>
>
glbMuonsTrajToken
;
59
61
std::unique_ptr<MuonServiceProxy>
theService
;
62
63
std::unique_ptr<GlobalMuonRefitter>
theRefitter
;
64
65
std::unique_ptr<MuonTrackLoader>
theTrackLoader
;
66
67
std::string
theAlias
;
68
std::vector<std::string>
theRefits
;
69
std::vector<int>
theRefitIndex
;
70
71
void
setAlias
(
std::string
alias
) {
72
alias
.erase(
alias
.size() - 1,
alias
.size());
73
theAlias
=
alias
;
74
}
75
};
76
77
#endif
GlobalMuonRefitter.h
edm::EDGetTokenT< reco::TrackCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
TevMuonProducer::theRefitter
std::unique_ptr< GlobalMuonRefitter > theRefitter
Definition:
TevMuonProducer.h:63
EDProducer.h
TevMuonProducer
Definition:
TevMuonProducer.h:43
TrackerTopology.h
Track.h
TrackFwd.h
MuonTrackLoader.h
MuonFwd.h
Event
TrajTrackAssociation.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TevMuonProducer::theGLBCollectionLabel
edm::InputTag theGLBCollectionLabel
STA Label.
Definition:
TevMuonProducer.h:56
edm::ParameterSet
Definition:
ParameterSet.h:36
MuonTrackLinks.h
ParameterSet
Definition:
Functions.h:16
TevMuonProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
Definition:
TevMuonProducer.cc:82
TevMuonProducer::glbMuonsTrajToken
edm::EDGetTokenT< std::vector< Trajectory > > glbMuonsTrajToken
Definition:
TevMuonProducer.h:58
edm::stream::EDProducer
Definition:
EDProducer.h:38
IdealGeometryRecord.h
edm::EventSetup
Definition:
EventSetup.h:57
TevMuonProducer::TevMuonProducer
TevMuonProducer(const edm::ParameterSet &)
constructor with config
Definition:
TevMuonProducer.cc:36
ValueMap.h
TevMuonProducer::theAlias
std::string theAlias
Definition:
TevMuonProducer.h:67
DYTestimators
edm::ValueMap< reco::DYTInfo > DYTestimators
Definition:
TevMuonProducer.h:32
edm::ValueMap
Definition:
ValueMap.h:107
SiStripOfflineCRack_cfg.alias
alias
Definition:
SiStripOfflineCRack_cfg.py:129
TevMuonProducer::theRefits
std::vector< std::string > theRefits
Definition:
TevMuonProducer.h:68
TevMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
TevMuonProducer.h:71
TevMuonProducer::theRefitIndex
std::vector< int > theRefitIndex
Definition:
TevMuonProducer.h:69
TevMuonProducer::glbMuonsToken
edm::EDGetTokenT< reco::TrackCollection > glbMuonsToken
Definition:
TevMuonProducer.h:57
MuonTrackFinder
Definition:
MuonTrackFinder.h:31
EventSetup
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
TevMuonProducer::~TevMuonProducer
~TevMuonProducer() override
destructor
Definition:
TevMuonProducer.cc:77
edm::InputTag
Definition:
InputTag.h:15
TevMuonProducer::theService
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition:
TevMuonProducer.h:61
TrackToTrackMap.h
TevMuonProducer::theTrackLoader
std::unique_ptr< MuonTrackLoader > theTrackLoader
Definition:
TevMuonProducer.h:65
Generated for CMSSW Reference Manual by
1.8.16