#include <MuonIdTruthInfo.h>
Public Member Functions | |
void | registerConsumes (edm::ConsumesCollector &iC) |
Static Public Member Functions | |
static void | truthMatchMuon (const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::Muon &aMuon) |
Static Private Member Functions | |
static void | checkSimHitForBestMatch (reco::MuonSegmentMatch &segmentMatch, double &distance, const PSimHit &hit, const DetId &chamberId, const edm::ESHandle< GlobalTrackingGeometry > &geometry) |
static double | matchChi2 (const reco::Track &recoTrk, const SimTrack &simTrk) |
Definition at line 21 of file MuonIdTruthInfo.h.
|
staticprivate |
Definition at line 104 of file MuonIdTruthInfo.cc.
References PSimHit::detUnitId(), reco::MuonSegmentMatch::dXdZ, reco::MuonSegmentMatch::dXdZErr, reco::MuonSegmentMatch::dYdZ, reco::MuonSegmentMatch::dYdZErr, PSimHit::entryPoint(), PSimHit::exitPoint(), GlobalTrackingGeometry::idToDet(), LogTrace, DetId::rawId(), GeomDet::toGlobal(), GeomDet::toLocal(), reco::MuonSegmentMatch::x, PV3DBase< T, PVType, FrameType >::x(), reco::MuonSegmentMatch::xErr, reco::MuonSegmentMatch::y, PV3DBase< T, PVType, FrameType >::y(), reco::MuonSegmentMatch::yErr, and PV3DBase< T, PVType, FrameType >::z().
Referenced by truthMatchMuon().
|
staticprivate |
Definition at line 163 of file MuonIdTruthInfo.cc.
References hiPixelPairStep_cff::deltaPhi, CoreSimTrack::momentum(), reco::TrackBase::p(), reco::TrackBase::phi(), funct::pow(), and reco::TrackBase::theta().
Referenced by truthMatchMuon().
void MuonIdTruthInfo::registerConsumes | ( | edm::ConsumesCollector & | iC | ) |
Definition at line 11 of file MuonIdTruthInfo.cc.
References edm::ConsumesCollector::mayConsume().
|
static |
Definition at line 20 of file MuonIdTruthInfo.cc.
References deltar::bestMatch(), checkSimHitForBestMatch(), vertices_cff::chi2, MuonSubdetId::CSC, SoftLeptonByDistance_cfi::distance, MuonSubdetId::DT, geometry, edm::EventSetup::get(), edm::Ref< C, T, F >::get(), edm::Event::getByLabel(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), LogTrace, matchChi2(), patRefSel_triggerMatching_cfi::matches, reco::Muon::matches(), DetId::Muon, PFRecoTauDiscriminationByIsolation_cfi::offset, trackerHits::simHits, tkConvValidator_cfi::simTracks, reco::Muon::track(), reco::MuonSegmentMatch::x, and reco::MuonSegmentMatch::y.
Referenced by MuonIdProducer::produce().