RecoMuon
MuonIdentification
plugins
GlobalMuonToMuonProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_MuonIdentification_GlobalMuonToMuonProducer_H
2
#define RecoMuon_MuonIdentification_GlobalMuonToMuonProducer_H
3
10
#include "
FWCore/Framework/interface/global/EDProducer.h
"
11
//#include "FWCore/Framework/interface/Frameworkfwd.h"
12
#include "
FWCore/Utilities/interface/InputTag.h
"
13
14
namespace
reco
{
15
class
Track;
16
}
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
19
#include "
DataFormats/MuonReco/interface/Muon.h
"
20
#include "
DataFormats/MuonReco/interface/MuonTrackLinks.h
"
21
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
22
23
class
GlobalMuonToMuonProducer
:
public
edm::global::EDProducer
<> {
24
public
:
26
GlobalMuonToMuonProducer
(
const
edm::ParameterSet
&);
27
29
~GlobalMuonToMuonProducer
()
override
;
30
32
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
33
34
protected
:
35
private
:
36
std::string
theAlias
;
37
38
void
setAlias
(
std::string
alias
) {
39
alias
.erase(
alias
.size() - 1,
alias
.size());
40
theAlias
=
alias
;
41
}
42
43
// tmp
44
void
printTrackRecHits
(
const
reco::Track
&
track
,
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry)
const
;
45
46
private
:
47
edm::InputTag
theLinksCollectionLabel
;
48
edm::EDGetTokenT<reco::MuonTrackLinksCollection>
trackLinkToken_
;
49
};
50
#endif
edm::StreamID
Definition:
StreamID.h:30
Muon.h
ESHandle.h
edm::EDGetTokenT< reco::MuonTrackLinksCollection >
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
GlobalMuonToMuonProducer::~GlobalMuonToMuonProducer
~GlobalMuonToMuonProducer() override
Destructor.
Definition:
GlobalMuonToMuonProducer.cc:31
MuonFwd.h
GlobalMuonToMuonProducer
Definition:
GlobalMuonToMuonProducer.h:23
reco::Track
Definition:
Track.h:27
edm::ESHandle< GlobalTrackingGeometry >
GlobalMuonToMuonProducer::printTrackRecHits
void printTrackRecHits(const reco::Track &track, edm::ESHandle< GlobalTrackingGeometry > trackingGeometry) const
Definition:
GlobalMuonToMuonProducer.cc:33
edm::global::EDProducer
Definition:
EDProducer.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
GlobalMuonToMuonProducer::trackLinkToken_
edm::EDGetTokenT< reco::MuonTrackLinksCollection > trackLinkToken_
Definition:
GlobalMuonToMuonProducer.h:48
edm::ParameterSet
Definition:
ParameterSet.h:36
MuonTrackLinks.h
edm::EventSetup
Definition:
EventSetup.h:57
GlobalMuonToMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
GlobalMuonToMuonProducer.h:38
InputTag.h
SiStripOfflineCRack_cfg.alias
alias
Definition:
SiStripOfflineCRack_cfg.py:129
GlobalMuonToMuonProducer::theLinksCollectionLabel
edm::InputTag theLinksCollectionLabel
Definition:
GlobalMuonToMuonProducer.h:47
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
EDProducer.h
GlobalMuonToMuonProducer::theAlias
std::string theAlias
Definition:
GlobalMuonToMuonProducer.h:36
GlobalMuonToMuonProducer::GlobalMuonToMuonProducer
GlobalMuonToMuonProducer(const edm::ParameterSet &)
Constructor.
Definition:
GlobalMuonToMuonProducer.cc:22
GlobalTrackingGeometry.h
edm::Event
Definition:
Event.h:73
GlobalMuonToMuonProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
reconstruct muons
Definition:
GlobalMuonToMuonProducer.cc:51
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16