#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 HLT_2024v14_cff::distance, reco::MuonSegmentMatch::dXdZ, reco::MuonSegmentMatch::dXdZErr, reco::MuonSegmentMatch::dYdZ, reco::MuonSegmentMatch::dYdZErr, ecal::raw::entryPoint(), 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 158 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 ProducerED_cfi::InputTag, and edm::ConsumesCollector::mayConsume().
|
static |
Definition at line 17 of file MuonIdTruthInfo.cc.
References deltar::bestMatch(), checkSimHitForBestMatch(), nano_mu_local_reco_cff::chi2, MuonSubdetId::CSC, hcalRecHitTable_cff::detId, HLT_2024v14_cff::distance, MuonSubdetId::DT, edm::Ref< C, T, F >::get(), iEvent, LogTrace, matchChi2(), oniaPATMuonsWithTrigger_cff::matches, reco::Muon::matches(), DetId::Muon, hltrates_dqm_sourceclient-live_cfg::offset, FastTrackerRecHitCombiner_cfi::simHits, TrackCandidateProducer_cfi::simTracks, reco::Muon::track(), reco::MuonSegmentMatch::x, and reco::MuonSegmentMatch::y.
Referenced by MuonIdProducer::produce().