#include <TrackerMuonHitExtractor.h>
Public Member Functions | |
std::vector< const TrackingRecHit * > | getMuonHits (const reco::Muon &mu) const |
void | init (const edm::Event &) |
TrackerMuonHitExtractor (const edm::ParameterSet &, edm::ConsumesCollector &&ic) | |
~TrackerMuonHitExtractor ()=default | |
Private Attributes | |
const edm::EDGetTokenT< CSCSegmentCollection > | inputCSCSegmentToken_ |
const edm::EDGetTokenT< DTRecSegment4DCollection > | inputDTRecSegment4DToken_ |
Definition at line 18 of file TrackerMuonHitExtractor.h.
|
explicit |
Definition at line 16 of file TrackerMuonHitExtractor.cc.
|
default |
std::vector< const TrackingRecHit * > TrackerMuonHitExtractor::getMuonHits | ( | const reco::Muon & | mu | ) | const |
Definition at line 92 of file TrackerMuonHitExtractor.cc.
References reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInChamberByDR, relativeConstraints::chamber, CSCDetId::chamber(), MuonSubdetId::CSC, MuonSubdetId::DT, CSCDetId::endcap(), makeMuonMisalignmentScenario::endcap, edm::Ref< C, T, F >::get(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), hfClusterShapes_cfi::hits, edm::Ref< C, T, F >::key(), amptDefaultParameters_cff::mu, reco::Muon::NoArbitration, DTRecSegment4D::phiSegment(), CSCSegment::recHits(), DTRecSegment2D::recHits(), runTheMatrix::ret, CSCDetId::ring(), relativeConstraints::ring, nano_mu_digi_cff::sector, DTChamberId::sector(), reco::Muon::SegmentAndTrackArbitration, DTChamberId::station(), relativeConstraints::station, CSCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by MuonToTrackingParticleAssociatorByHitsImpl::associateMuons().
void TrackerMuonHitExtractor::init | ( | const edm::Event & | iEvent | ) |
Definition at line 22 of file TrackerMuonHitExtractor.cc.
References relativeConstraints::chamber, CSCDetId::chamber(), CSCDetId::endcap(), makeMuonMisalignmentScenario::endcap, iEvent, inputCSCSegmentToken_, inputDTRecSegment4DToken_, relativeConstraints::ring, CSCDetId::ring(), nano_mu_digi_cff::sector, DTChamberId::sector(), mathSSE::sqrt(), DTChamberId::station(), relativeConstraints::station, CSCDetId::station(), DTChamberId::wheel(), makeMuonMisalignmentScenario::wheel, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by MuonToTrackingParticleAssociatorEDProducer::produce().
|
private |
Definition at line 28 of file TrackerMuonHitExtractor.h.
Referenced by init().
|
private |
Definition at line 27 of file TrackerMuonHitExtractor.h.
Referenced by init().