Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
EDProducer.h
GlobalMuonToMuonProducer::trackingGeomToken_
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > trackingGeomToken_
Definition:
GlobalMuonToMuonProducer.h:51
GlobalMuonToMuonProducer::trackLinkToken_
edm::EDGetTokenT< reco::MuonTrackLinksCollection > trackLinkToken_
Definition:
GlobalMuonToMuonProducer.h:50
GlobalMuonToMuonProducer::GlobalMuonToMuonProducer
GlobalMuonToMuonProducer(const edm::ParameterSet &)
Constructor.
Definition:
GlobalMuonToMuonProducer.cc:21
GlobalTrackingGeometryRecord.h
GlobalMuonToMuonProducer
Definition:
GlobalMuonToMuonProducer.h:25
GlobalMuonToMuonProducer::~GlobalMuonToMuonProducer
~GlobalMuonToMuonProducer() override
Destructor.
Definition:
GlobalMuonToMuonProducer.cc:31
HLT_FULL_cff.alias
tuple alias
Definition:
HLT_FULL_cff.py:9825
edm::StreamID
Definition:
StreamID.h:30
HLT_FULL_cff.track
tuple track
Definition:
HLT_FULL_cff.py:11953
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
edm::EDGetTokenT< reco::MuonTrackLinksCollection >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MuonFwd.h
GlobalMuonToMuonProducer::theLinksCollectionLabel
edm::InputTag theLinksCollectionLabel
Definition:
GlobalMuonToMuonProducer.h:49
MuonTrackLinks.h
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord >
GlobalMuonToMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
GlobalMuonToMuonProducer.h:40
ESGetToken.h
edm::ESHandle< GlobalTrackingGeometry >
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
Muon.h
edm::global::EDProducer
Definition:
EDProducer.h:32
GlobalMuonToMuonProducer::printTrackRecHits
void printTrackRecHits(const reco::Track &track, edm::ESHandle< GlobalTrackingGeometry > trackingGeometry) const
Definition:
GlobalMuonToMuonProducer.cc:33
GlobalMuonToMuonProducer::theAlias
std::string theAlias
Definition:
GlobalMuonToMuonProducer.h:38
reco::Track
Definition:
Track.h:27
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
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
GlobalTrackingGeometry.h
Generated for CMSSW Reference Manual by
1.8.5