#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 *) | |
constructor with Parameter Set and MuonServiceProxy More... | |
virtual | ~MuonSegmentMatcher () |
destructor More... | |
Private Attributes | |
edm::InputTag | CSCSegmentTags_ |
bool | cscTightMatch |
double | dtRadius_ |
edm::InputTag | DTSegmentTags_ |
bool | dtTightMatch |
const edm::Event * | theEvent |
const MuonServiceProxy * | theService |
edm::InputTag | TKtrackTags_ |
edm::InputTag | trackTags_ |
Definition at line 22 of file MuonSegmentMatcher.h.
MuonSegmentMatcher::MuonSegmentMatcher | ( | const edm::ParameterSet & | matchParameters, |
MuonServiceProxy * | service | ||
) |
constructor with Parameter Set and MuonServiceProxy
Definition at line 46 of file MuonSegmentMatcher.cc.
|
virtual |
vector< const CSCSegment * > MuonSegmentMatcher::matchCSC | ( | const reco::Track & | muon, |
const edm::Event & | event | ||
) |
Definition at line 230 of file MuonSegmentMatcher.cc.
References CSCDetId::chamber(), MuonSubdetId::CSC, CSCSegmentTags_, 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 62 of file MuonSegmentMatcher.cc.
References MuonSubdetId::DT, dtRadius_, DTSegmentTags_, dtTightMatch, TrackingRecHit::geographicalId(), DetId::Muon, edm::RefVector< C, T, F >::push_back(), 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().
|
private |
Definition at line 46 of file MuonSegmentMatcher.h.
Referenced by matchCSC().
|
private |
Definition at line 50 of file MuonSegmentMatcher.h.
Referenced by matchCSC().
|
private |
Definition at line 47 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 45 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 49 of file MuonSegmentMatcher.h.
Referenced by matchDT().
|
private |
Definition at line 41 of file MuonSegmentMatcher.h.
|
private |
Definition at line 40 of file MuonSegmentMatcher.h.
|
private |
Definition at line 43 of file MuonSegmentMatcher.h.
|
private |
Definition at line 44 of file MuonSegmentMatcher.h.