#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... | |
MuonSegmentMatcher (const edm::ParameterSet &, MuonServiceProxy *, edm::ConsumesCollector &iC) | |
constructor with Parameter Set and MuonServiceProxy More... | |
virtual | ~MuonSegmentMatcher () |
destructor More... | |
Private Attributes | |
edm::EDGetTokenT < CSCSegmentCollection > | allSegmentsCSCToken |
edm::InputTag | CSCSegmentTags_ |
bool | cscTightMatch |
double | dtRadius_ |
edm::EDGetTokenT < DTRecSegment4DCollection > | dtRecHitsToken |
edm::InputTag | DTSegmentTags_ |
bool | dtTightMatch |
const edm::Event * | theEvent |
const MuonServiceProxy * | theService |
edm::InputTag | TKtrackTags_ |
edm::InputTag | trackTags_ |
Definition at line 23 of file MuonSegmentMatcher.h.
MuonSegmentMatcher::MuonSegmentMatcher | ( | const edm::ParameterSet & | matchParameters, |
MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
constructor with Parameter Set and MuonServiceProxy
Definition at line 45 of file MuonSegmentMatcher.cc.
References allSegmentsCSCToken, edm::ConsumesCollector::consumes(), CSCSegmentTags_, dtRecHitsToken, and DTSegmentTags_.
|
virtual |
vector< const CSCSegment * > MuonSegmentMatcher::matchCSC | ( | const reco::Track & | muon, |
const edm::Event & | event | ||
) |
Definition at line 232 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 64 of file MuonSegmentMatcher.cc.
References MuonSubdetId::DT, dtRadius_, dtRecHitsToken, dtTightMatch, TrackingRecHit::geographicalId(), DetId::Muon, DetId::rawId(), DTRecSegment2D::recHits(), HLT_25ns14e33_v3_cff::recHits, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), DTRecSegment2D::specificRecHits(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by DTTimingExtractor::fillTiming().
|
private |
Definition at line 50 of file MuonSegmentMatcher.h.
Referenced by matchCSC(), and MuonSegmentMatcher().
|
private |
Definition at line 47 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 56 of file MuonSegmentMatcher.h.
Referenced by matchCSC().
|
private |
Definition at line 53 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 49 of file MuonSegmentMatcher.h.
Referenced by matchDT(), and MuonSegmentMatcher().
|
private |
Definition at line 46 of file MuonSegmentMatcher.h.
Referenced by MuonSegmentMatcher().
|
private |
Definition at line 55 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 42 of file MuonSegmentMatcher.h.
|
private |
Definition at line 41 of file MuonSegmentMatcher.h.
|
private |
Definition at line 44 of file MuonSegmentMatcher.h.
|
private |
Definition at line 45 of file MuonSegmentMatcher.h.