#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(), 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 SiPixelRawToDigiRegional_cfi::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_25ns14e33_v1_cff::InputTag, and edm::ConsumesCollector::mayConsume().
|
static |
Definition at line 20 of file MuonIdTruthInfo.cc.
References deltar::bestMatch(), checkSimHitForBestMatch(), MuonSubdetId::CSC, HLT_25ns14e33_v1_cff::distance, MuonSubdetId::DT, geometry, edm::EventSetup::get(), edm::Ref< C, T, F >::get(), edm::Event::getByLabel(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), LogTrace, matchChi2(), matches, 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().