RecoMuon
CosmicMuonProducer
src
CosmicMuonLinksProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_CosmicMuonProducer_CosmicMuonLinksProducer_H
2
#define RecoMuon_CosmicMuonProducer_CosmicMuonLinksProducer_H
3
9
#include "
FWCore/Framework/interface/EDProducer.h
"
10
#include "
FWCore/Utilities/interface/InputTag.h
"
11
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
12
#include "
DataFormats/TrackReco/interface/TrackToTrackMap.h
"
13
14
class
MuonServiceProxy
;
15
16
class
CosmicMuonLinksProducer
:
public
edm::EDProducer
{
17
public
:
18
explicit
CosmicMuonLinksProducer
(
const
edm::ParameterSet
&);
19
20
~CosmicMuonLinksProducer
()
override
;
21
22
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
23
24
private
:
25
reco::TrackToTrackMap
mapTracks
(
const
edm::Handle<reco::TrackCollection>
&,
26
const
edm::Handle<reco::TrackCollection>
&)
const
;
27
28
int
sharedHits
(
const
reco::Track
& track1,
const
reco::Track
& track2)
const
;
29
30
MuonServiceProxy
*
theService
;
31
32
std::vector<std::pair<edm::EDGetTokenT<reco::TrackCollection>,
edm::EDGetTokenT<reco::TrackCollection>
> >
33
theTrackLinks
;
34
std::vector<std::pair<std::string, std::string> >
theTrackLinkNames
;
35
36
std::string
category_
;
37
};
38
39
#endif
CosmicMuonLinksProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CosmicMuonLinksProducer.cc:65
EDProducer.h
CosmicMuonLinksProducer::CosmicMuonLinksProducer
CosmicMuonLinksProducer(const edm::ParameterSet &)
Definition:
CosmicMuonLinksProducer.cc:36
edm::EDGetTokenT< reco::TrackCollection >
CosmicMuonLinksProducer::theService
MuonServiceProxy * theService
Definition:
CosmicMuonLinksProducer.h:30
CosmicMuonLinksProducer::category_
std::string category_
Definition:
CosmicMuonLinksProducer.h:36
CosmicMuonLinksProducer::sharedHits
int sharedHits(const reco::Track &track1, const reco::Track &track2) const
Definition:
CosmicMuonLinksProducer.cc:122
CosmicMuonLinksProducer::~CosmicMuonLinksProducer
~CosmicMuonLinksProducer() override
Definition:
CosmicMuonLinksProducer.cc:59
CosmicMuonLinksProducer::theTrackLinks
std::vector< std::pair< edm::EDGetTokenT< reco::TrackCollection >, edm::EDGetTokenT< reco::TrackCollection > > > theTrackLinks
Definition:
CosmicMuonLinksProducer.h:33
edm::Handle< reco::TrackCollection >
TrackFwd.h
reco::Track
Definition:
Track.h:27
CosmicMuonLinksProducer::mapTracks
reco::TrackToTrackMap mapTracks(const edm::Handle< reco::TrackCollection > &, const edm::Handle< reco::TrackCollection > &) const
Definition:
CosmicMuonLinksProducer.cc:103
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::AssociationMap
Definition:
AssociationMap.h:48
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
InputTag.h
CosmicMuonLinksProducer
Definition:
CosmicMuonLinksProducer.h:16
edm::EDProducer
Definition:
EDProducer.h:35
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
CosmicMuonLinksProducer::theTrackLinkNames
std::vector< std::pair< std::string, std::string > > theTrackLinkNames
Definition:
CosmicMuonLinksProducer.h:34
edm::Event
Definition:
Event.h:73
TrackToTrackMap.h
Generated for CMSSW Reference Manual by
1.8.16