#include <MuonSegmentMatcher.h>
Public Member Functions | |
std::vector< const CSCSegment * > | matchCSC (const reco::Track &muon, const edm::Event &event) |
std::vector< const DTRecSegment4D * > | matchDT (const reco::Track &muon, const edm::Event &event) |
perform the matching More... | |
std::vector< const RPCRecHit * > | matchRPC (const reco::Track &muon, const edm::Event &event) |
MuonSegmentMatcher (const edm::ParameterSet &, edm::ConsumesCollector &iC) | |
constructor with Parameter Set and MuonServiceProxy More... | |
virtual | ~MuonSegmentMatcher () |
destructor More... | |
Definition at line 24 of file MuonSegmentMatcher.h.
MuonSegmentMatcher::MuonSegmentMatcher | ( | const edm::ParameterSet & | matchParameters, |
edm::ConsumesCollector & | iC | ||
) |
constructor with Parameter Set and MuonServiceProxy
Definition at line 43 of file MuonSegmentMatcher.cc.
References allSegmentsCSCToken, edm::ConsumesCollector::consumes(), CSCSegmentTags_, dtRecHitsToken, DTSegmentTags_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), RPCHitTags_, and rpcRecHitsToken.
|
virtual |
vector< const CSCSegment * > MuonSegmentMatcher::matchCSC | ( | const reco::Track & | muon, |
const edm::Event & | event | ||
) |
Definition at line 233 of file MuonSegmentMatcher.cc.
References allSegmentsCSCToken, CSCDetId::chamber(), MuonSubdetId::CSC, cscTightMatch, CSCDetId::endcap(), DetId::Muon, DetId::rawId(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), CSCDetId::ring(), CSCDetId::station(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by CSCHaloAlgo::Calculate(), and CSCTimingExtractor::fillTiming().
vector< const DTRecSegment4D * > MuonSegmentMatcher::matchDT | ( | const reco::Track & | muon, |
const edm::Event & | event | ||
) |
perform the matching
Definition at line 65 of file MuonSegmentMatcher.cc.
References MuonSubdetId::DT, dtRadius_, dtRecHitsToken, dtTightMatch, TrackingRecHit::geographicalId(), DetId::Muon, DetId::rawId(), DTRecSegment2D::recHits(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), DTRecSegment2D::specificRecHits(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by DTTimingExtractor::fillTiming().
vector< const RPCRecHit * > MuonSegmentMatcher::matchRPC | ( | const reco::Track & | muon, |
const edm::Event & | event | ||
) |
Definition at line 322 of file MuonSegmentMatcher.cc.
References electronMatch_cfi::matched, DetId::Muon, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), MuonSubdetId::RPC, JetIDParams_cfi::rpcRecHits, rpcRecHitsToken, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 54 of file MuonSegmentMatcher.h.
Referenced by matchCSC(), and MuonSegmentMatcher().
|
private |
Definition at line 50 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 60 of file MuonSegmentMatcher.h.
Referenced by matchCSC().
|
private |
Definition at line 57 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 53 of file MuonSegmentMatcher.h.
Referenced by matchDT(), and MuonSegmentMatcher().
|
private |
Definition at line 49 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 59 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 51 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 55 of file MuonSegmentMatcher.h.
Referenced by matchRPC(), and MuonSegmentMatcher().
|
private |
Definition at line 45 of file MuonSegmentMatcher.h.
|
private |
Definition at line 44 of file MuonSegmentMatcher.h.
|
private |
Definition at line 47 of file MuonSegmentMatcher.h.
|
private |
Definition at line 48 of file MuonSegmentMatcher.h.