#include <MuonIdTruthInfo.h>
Public Member Functions | |
void | registerConsumes (edm::ConsumesCollector &iC) |
Static Public Member Functions | |
static void | truthMatchMuon (const edm::Event &iEvent, const GlobalTrackingGeometry &iGeometry, reco::Muon &aMuon) |
Static Private Member Functions | |
static void | checkSimHitForBestMatch (reco::MuonSegmentMatch &segmentMatch, double &distance, const PSimHit &hit, const DetId &chamberId, const GlobalTrackingGeometry &geometry) |
static double | matchChi2 (const reco::Track &recoTrk, const SimTrack &simTrk) |
Definition at line 21 of file MuonIdTruthInfo.h.
|
staticprivate |
Definition at line 97 of file MuonIdTruthInfo.cc.
References PSimHit::detUnitId(), reco::MuonSegmentMatch::dXdZ, reco::MuonSegmentMatch::dXdZErr, reco::MuonSegmentMatch::dYdZ, reco::MuonSegmentMatch::dYdZErr, ecal::raw::entryPoint(), PSimHit::entryPoint(), PSimHit::exitPoint(), GlobalTrackingGeometry::idToDet(), LogTrace, gpuVertexFinder::printf(), 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 158 of file MuonIdTruthInfo.cc.
References srCondWrite_cfg::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 HLT_FULL_cff::InputTag, and edm::ConsumesCollector::mayConsume().
|
static |
Definition at line 17 of file MuonIdTruthInfo.cc.
References deltar::bestMatch(), checkSimHitForBestMatch(), HLT_FULL_cff::chi2, MuonSubdetId::CSC, HLT_FULL_cff::distance, MuonSubdetId::DT, edm::Ref< C, T, F >::get(), edm::Event::getByLabel(), edm::HandleBase::isValid(), LogTrace, matchChi2(), reco::Muon::matches(), DetId::Muon, hltrates_dqm_sourceclient-live_cfg::offset, trackerHits::simHits, reco::Muon::track(), reco::MuonSegmentMatch::x, and reco::MuonSegmentMatch::y.
Referenced by MuonIdProducer::produce().