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 "
FWCore/Utilities/interface/ESGetToken.h
"
19
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
20
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
21
#include "
DataFormats/MuonReco/interface/Muon.h
"
22
#include "
DataFormats/MuonReco/interface/MuonTrackLinks.h
"
23
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
24
25
class
GlobalMuonToMuonProducer
:
public
edm::global::EDProducer
<> {
26
public
:
28
GlobalMuonToMuonProducer
(
const
edm::ParameterSet
&);
29
31
~GlobalMuonToMuonProducer
()
override
;
32
34
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
35
36
protected
:
37
private
:
38
std::string
theAlias
;
39
40
void
setAlias
(
std::string
alias
) {
41
alias
.erase(
alias
.size() - 1,
alias
.size());
42
theAlias
=
alias
;
43
}
44
45
// tmp
46
void
printTrackRecHits
(
const
reco::Track
&
track
,
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry)
const
;
47
48
private
:
49
edm::InputTag
theLinksCollectionLabel
;
50
edm::EDGetTokenT<reco::MuonTrackLinksCollection>
trackLinkToken_
;
51
edm::ESGetToken<GlobalTrackingGeometry, GlobalTrackingGeometryRecord>
trackingGeomToken_
;
52
};
53
#endif
edm::StreamID
Definition:
StreamID.h:30
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11779
Muon.h
ESHandle.h
edm::EDGetTokenT< reco::MuonTrackLinksCollection >
GlobalMuonToMuonProducer::trackingGeomToken_
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > trackingGeomToken_
Definition:
GlobalMuonToMuonProducer.h:51
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
ESGetToken.h
GlobalMuonToMuonProducer::~GlobalMuonToMuonProducer
~GlobalMuonToMuonProducer() override
Destructor.
Definition:
GlobalMuonToMuonProducer.cc:31
MuonFwd.h
GlobalMuonToMuonProducer
Definition:
GlobalMuonToMuonProducer.h:25
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
GlobalTrackingGeometryRecord.h
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:50
edm::ParameterSet
Definition:
ParameterSet.h:47
MuonTrackLinks.h
edm::EventSetup
Definition:
EventSetup.h:57
GlobalMuonToMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
GlobalMuonToMuonProducer.h:40
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord >
InputTag.h
SiStripOfflineCRack_cfg.alias
alias
Definition:
SiStripOfflineCRack_cfg.py:128
GlobalMuonToMuonProducer::theLinksCollectionLabel
edm::InputTag theLinksCollectionLabel
Definition:
GlobalMuonToMuonProducer.h:49
EDProducer.h
GlobalMuonToMuonProducer::theAlias
std::string theAlias
Definition:
GlobalMuonToMuonProducer.h:38
GlobalMuonToMuonProducer::GlobalMuonToMuonProducer
GlobalMuonToMuonProducer(const edm::ParameterSet &)
Constructor.
Definition:
GlobalMuonToMuonProducer.cc:21
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