#include <MuonResidualsFromTrack.h>
Public Types | |
using | BuilderToken = edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > |
Static Public Member Functions | |
static edm::ESInputTag | builderESInputTag () |
Private Member Functions | |
void | addTrkCovMatrix (DetId, TrajectoryStateOnSurface &) |
Private Attributes | |
std::vector< DetId > | m_chamberIds |
bool | m_contains_TIDTEC |
std::map< DetId, MuonChamberResidual * > | m_csc |
std::map< DetId, MuonChamberResidual * > | m_dt13 |
std::map< DetId, MuonChamberResidual * > | m_dt2 |
const reco::Muon * | m_recoMuon |
const reco::Track * | m_recoTrack |
double | m_tracker_chi2 |
int | m_tracker_numHits |
std::map< DetId, TMatrixDSym > | m_trkCovMatrix |
TrajectoryStateCombiner | m_tsoscomb |
Definition at line 52 of file MuonResidualsFromTrack.h.
using MuonResidualsFromTrack::BuilderToken = edm::ESGetToken<TransientTrackingRecHitBuilder, TransientRecHitRecord> |
Definition at line 54 of file MuonResidualsFromTrack.h.
MuonResidualsFromTrack::MuonResidualsFromTrack | ( | edm::ESHandle< TransientTrackingRecHitBuilder > | builder, |
edm::ESHandle< MagneticField > | magneticField, | ||
edm::ESHandle< GlobalTrackingGeometry > | globalGeometry, | ||
edm::ESHandle< DetIdAssociator > | muonDetIdAssociator_, | ||
edm::ESHandle< Propagator > | prop, | ||
const Trajectory * | traj, | ||
const reco::Track * | recoTrack, | ||
AlignableNavigator * | navigator, | ||
double | maxResidual | ||
) |
Definition at line 24 of file MuonResidualsFromTrack.cc.
References TrajectoryMeasurement::backwardPredictedState(), Surface::bounds(), TransientTrackingRecHitBuilder::build(), dtT0FillChamberFromDBCorrection_cfg::chamberId, clear(), gather_cfg::cout, MuonSubdetId::CSC, DetId::det(), TrackingRecHit::dimension(), MuonSubdetId::DT, TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), DetIdAssociator::getGeomDet(), TrajectoryStateOnSurface::globalPosition(), GlobalTrackingGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), TrackingRecHit::isValid(), Bounds::length(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), LogTrace, m_chamberIds, m_contains_TIDTEC, m_csc, m_dt13, m_dt2, m_recoTrack, m_tracker_chi2, m_tracker_numHits, m_tsoscomb, HLT_2024v14_cff::magneticField, Trajectory::measurements(), metname, DetId::Muon, HLT_2024v14_cff::navigator, LocalTrajectoryError::positionError(), Propagator::propagate(), DetId::rawId(), TrajectoryMeasurement::recHit(), reco::Track::recHits(), TrackingRecHit::recHits(), MuonSubdetId::RPC, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), StripSubdetector::TEC, StripSubdetector::TID, GeomDet::toGlobal(), HLT_2024v14_cff::track, DetId::Tracker, TrajectoryMeasurement::updatedState(), Bounds::width(), x, PV3DBase< T, PVType, FrameType >::x(), hit::x, LocalError::xx(), y, PV3DBase< T, PVType, FrameType >::y(), hit::y, z, PV3DBase< T, PVType, FrameType >::z(), and hit::z.
MuonResidualsFromTrack::MuonResidualsFromTrack | ( | edm::ESHandle< GlobalTrackingGeometry > | globalGeometry, |
const reco::Muon * | recoMuon, | ||
AlignableNavigator * | navigator, | ||
double | maxResidual | ||
) |
Definition at line 594 of file MuonResidualsFromTrack.cc.
References cms::cuda::assert(), reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInStationByDR, dtT0FillChamberFromDBCorrection_cfg::chamberId, clear(), gather_cfg::cout, MuonSubdetId::CSC, MuonSubdetId::DT, edm::Ref< C, T, F >::get(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), reco::Muon::innerTrack(), edm::Ref< C, T, F >::isNonnull(), reco::Muon::isTrackerMuon(), m_chamberIds, m_csc, m_dt13, m_dt2, m_recoMuon, m_recoTrack, m_tracker_chi2, m_tracker_numHits, reco::Muon::matches(), DetId::Muon, and HLT_2024v14_cff::navigator.
MuonResidualsFromTrack::~MuonResidualsFromTrack | ( | ) |
Definition at line 696 of file MuonResidualsFromTrack.cc.
References m_csc, m_dt13, and m_dt2.
|
private |
Definition at line 752 of file MuonResidualsFromTrack.cc.
References dtT0FillChamberFromDBCorrection_cfg::chamberId, mps_fire::i, dqmiolumiharvest::j, TrajectoryStateOnSurface::localError(), m_trkCovMatrix, and LocalTrajectoryError::matrix().
|
static |
Definition at line 22 of file MuonResidualsFromTrack.cc.
|
inline |
Definition at line 89 of file MuonResidualsFromTrack.h.
References m_chamberIds.
Referenced by AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), and MuonAlignmentFromReference::processMuonResidualsFromTrack().
MuonChamberResidual * MuonResidualsFromTrack::chamberResidual | ( | DetId | chamberId, |
int | type | ||
) |
Definition at line 735 of file MuonResidualsFromTrack.cc.
References dtT0FillChamberFromDBCorrection_cfg::chamberId, MuonChamberResidual::kCSC, MuonChamberResidual::kDT13, MuonChamberResidual::kDT2, m_csc, m_dt13, and m_dt2.
Referenced by AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), and MuonAlignmentFromReference::processMuonResidualsFromTrack().
TMatrixD MuonResidualsFromTrack::choleskyCorrMatrix | ( | DetId | chamberId | ) |
Definition at line 826 of file MuonResidualsFromTrack.cc.
References dtT0FillChamberFromDBCorrection_cfg::chamberId, corrMatrix(), gather_cfg::cout, convertSQLiteXML::ok, and mps_fire::result.
void MuonResidualsFromTrack::clear | ( | ) |
Definition at line 711 of file MuonResidualsFromTrack.cc.
References m_chamberIds, m_contains_TIDTEC, m_csc, m_dt13, m_dt2, m_tracker_chi2, m_tracker_numHits, and m_trkCovMatrix.
Referenced by MuonResidualsFromTrack().
|
inline |
Definition at line 87 of file MuonResidualsFromTrack.h.
References m_contains_TIDTEC.
Referenced by AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), and MuonAlignmentFromReference::processMuonResidualsFromTrack().
TMatrixDSym MuonResidualsFromTrack::corrMatrix | ( | DetId | chamberId | ) |
Definition at line 808 of file MuonResidualsFromTrack.cc.
References dtT0FillChamberFromDBCorrection_cfg::chamberId, gather_cfg::cout, covMatrix(), convertSQLiteXML::ok, and mps_fire::result.
Referenced by choleskyCorrMatrix().
TMatrixDSym MuonResidualsFromTrack::covMatrix | ( | DetId | chamberId | ) |
Definition at line 763 of file MuonResidualsFromTrack.cc.
References dtT0FillChamberFromDBCorrection_cfg::chamberId, gather_cfg::cout, m_csc, m_dt13, m_dt2, m_trkCovMatrix, and mps_fire::result.
Referenced by corrMatrix().
|
inline |
Definition at line 79 of file MuonResidualsFromTrack.h.
References m_recoMuon.
|
inline |
Definition at line 78 of file MuonResidualsFromTrack.h.
References m_recoTrack.
Referenced by AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), and MuonAlignmentFromReference::processMuonResidualsFromTrack().
double MuonResidualsFromTrack::normalizedChi2 | ( | ) | const |
Definition at line 729 of file MuonResidualsFromTrack.cc.
References m_recoMuon, m_recoTrack, reco::TrackBase::normalizedChi2(), and trackerRedChi2().
Referenced by AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), and MuonAlignmentFromReference::processMuonResidualsFromTrack().
|
inline |
|
inline |
Definition at line 81 of file MuonResidualsFromTrack.h.
References m_tracker_numHits.
Referenced by AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), and MuonAlignmentFromReference::processMuonResidualsFromTrack().
double MuonResidualsFromTrack::trackerRedChi2 | ( | ) | const |
Definition at line 722 of file MuonResidualsFromTrack.cc.
References m_tracker_chi2, and m_tracker_numHits.
Referenced by normalizedChi2(), and AlignmentMonitorMuonVsCurvature::processMuonResidualsFromTrack().
|
private |
Definition at line 104 of file MuonResidualsFromTrack.h.
Referenced by chamberIds(), clear(), and MuonResidualsFromTrack().
|
private |
Definition at line 102 of file MuonResidualsFromTrack.h.
Referenced by clear(), contains_TIDTEC(), and MuonResidualsFromTrack().
|
private |
Definition at line 105 of file MuonResidualsFromTrack.h.
Referenced by chamberResidual(), clear(), covMatrix(), MuonResidualsFromTrack(), and ~MuonResidualsFromTrack().
|
private |
Definition at line 105 of file MuonResidualsFromTrack.h.
Referenced by chamberResidual(), clear(), covMatrix(), MuonResidualsFromTrack(), and ~MuonResidualsFromTrack().
|
private |
Definition at line 105 of file MuonResidualsFromTrack.h.
Referenced by chamberResidual(), clear(), covMatrix(), MuonResidualsFromTrack(), and ~MuonResidualsFromTrack().
|
private |
Definition at line 114 of file MuonResidualsFromTrack.h.
Referenced by getMuon(), MuonResidualsFromTrack(), and normalizedChi2().
|
private |
Definition at line 111 of file MuonResidualsFromTrack.h.
Referenced by getTrack(), MuonResidualsFromTrack(), and normalizedChi2().
|
private |
Definition at line 101 of file MuonResidualsFromTrack.h.
Referenced by clear(), MuonResidualsFromTrack(), trackerChi2(), and trackerRedChi2().
|
private |
Definition at line 100 of file MuonResidualsFromTrack.h.
Referenced by clear(), MuonResidualsFromTrack(), trackerNumHits(), and trackerRedChi2().
|
private |
Definition at line 106 of file MuonResidualsFromTrack.h.
Referenced by addTrkCovMatrix(), clear(), and covMatrix().
|
private |
Definition at line 98 of file MuonResidualsFromTrack.h.
Referenced by MuonResidualsFromTrack().