#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 29 of file MuonSegmentMatcher.h.
MuonSegmentMatcher::MuonSegmentMatcher | ( | const edm::ParameterSet & | matchParameters, |
edm::ConsumesCollector & | iC | ||
) |
constructor with Parameter Set and MuonServiceProxy
Definition at line 42 of file MuonSegmentMatcher.cc.
References allSegmentsCSCToken, edm::ConsumesCollector::consumes(), CSCSegmentTags_, dtRecHitsToken, DTSegmentTags_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, RPCHitTags_, and rpcRecHitsToken.
|
virtual |
vector< const CSCSegment * > MuonSegmentMatcher::matchCSC | ( | const reco::Track & | muon, |
const edm::Event & | event | ||
) |
Definition at line 237 of file MuonSegmentMatcher.cc.
References allSegmentsCSCToken, CSCDetId::chamber(), MuonSubdetId::CSC, cscTightMatch, CSCDetId::endcap(), DetId::Muon, DetId::rawId(), 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 61 of file MuonSegmentMatcher.cc.
References MuonSubdetId::DT, dtRadius_, dtRecHitsToken, dtTightMatch, TrackingRecHit::geographicalId(), DetId::Muon, DetId::rawId(), FastTrackerRecHitMaskProducer_cfi::recHits, DTRecSegment2D::recHits(), 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 336 of file MuonSegmentMatcher.cc.
References muonTagProbeFilters_cff::matched, DetId::Muon, MuonSubdetId::RPC, dtTriggerPhase2PrimitiveDigis_cfi::rpcRecHits, rpcRecHitsToken, and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 56 of file MuonSegmentMatcher.h.
Referenced by matchCSC(), and MuonSegmentMatcher().
|
private |
Definition at line 52 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 62 of file MuonSegmentMatcher.h.
Referenced by matchCSC().
|
private |
Definition at line 59 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 55 of file MuonSegmentMatcher.h.
Referenced by matchDT(), and MuonSegmentMatcher().
|
private |
Definition at line 51 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 61 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 53 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 57 of file MuonSegmentMatcher.h.
Referenced by matchRPC(), and MuonSegmentMatcher().
|
private |
Definition at line 47 of file MuonSegmentMatcher.h.
|
private |
Definition at line 46 of file MuonSegmentMatcher.h.
|
private |
Definition at line 49 of file MuonSegmentMatcher.h.
|
private |
Definition at line 50 of file MuonSegmentMatcher.h.