Main Page
Namespaces
Classes
Package Documentation
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
{
class
ParameterSet
;
class
Event
;
class
EventSetup
;}
28
29
class
MuonTrackFinder
;
30
class
MuonServiceProxy
;
31
32
class
GlobalMuonProducer
:
public
edm::stream::EDProducer
<> {
33
34
public
:
35
37
GlobalMuonProducer
(
const
edm::ParameterSet
&);
38
40
~
GlobalMuonProducer
()
override
;
41
43
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
override
;
44
45
private
:
46
47
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
56
57
58
MuonTrackFinder
*
theTrackFinder
;
59
61
MuonServiceProxy
*
theService
;
62
63
std::string
theAlias
;
64
65
void
setAlias
(
std::string
alias
){
66
alias.erase( alias.size() - 1, alias.size() );
67
theAlias=
alias
;
68
}
69
70
};
71
72
#endif
GlobalMuonProducer::theAlias
std::string theAlias
Definition:
GlobalMuonProducer.h:63
MuonTrackFinder
Definition:
MuonTrackFinder.h:27
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
TrackFwd.h
GlobalMuonProducer::staAssoMapToken
edm::EDGetTokenT< TrajTrackAssociationCollection > staAssoMapToken
Definition:
GlobalMuonProducer.h:52
GlobalMuonProducer::updatedStaAssoMapToken
edm::EDGetTokenT< reco::TrackToTrackMap > updatedStaAssoMapToken
Definition:
GlobalMuonProducer.h:53
edm::EDGetTokenT< reco::TrackCollection >
met_cff.alias
alias
Definition:
met_cff.py:11
MuonFwd.h
GlobalMuonProducer::staMuonsToken
edm::EDGetTokenT< reco::TrackCollection > staMuonsToken
STA Tokens.
Definition:
GlobalMuonProducer.h:50
EDProducer.h
MuonTrackLinks.h
EventSetup
TrackToTrackMap.h
MuonServiceProxy
Definition:
MuonServiceProxy.h:27
edm::EventSetup
Definition:
EventSetup.h:44
GlobalMuonProducer
Definition:
GlobalMuonProducer.h:32
edm::stream::EDProducer
Definition:
EDProducer.h:33
TrajTrackAssociation.h
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
GlobalMuonProducer::theTrackFinder
MuonTrackFinder * theTrackFinder
Definition:
GlobalMuonProducer.h:58
GlobalMuonProducer::theService
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition:
GlobalMuonProducer.h:61
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
Track.h
GlobalMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
GlobalMuonProducer.h:65
GlobalMuonProducer::staMuonsTrajToken
edm::EDGetTokenT< std::vector< Trajectory > > staMuonsTrajToken
Definition:
GlobalMuonProducer.h:51
GlobalMuonProducer::theSTACollectionLabel
edm::InputTag theSTACollectionLabel
Definition:
GlobalMuonProducer.h:48
Generated for CMSSW Reference Manual by
1.8.11