#include <MuonKinkFinder.h>
Public Member Functions | |
bool | fillTrkKink (reco::MuonQuality &quality, const Trajectory &trajectory) const |
bool | fillTrkKink (reco::MuonQuality &quality, const reco::Track &track) const |
void | init (const edm::EventSetup &iSetup) |
MuonKinkFinder (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
~MuonKinkFinder () | |
Private Member Functions | |
void | cropAndInvert (AlgebraicSymMatrix55 &cov) const |
double | getChi2 (const TrajectoryStateOnSurface &start, const TrajectoryStateOnSurface &other) const |
Private Attributes | |
bool | diagonalOnly_ |
use only on-diagonal terms of the covariance matrices More... | |
TrackTransformer | refitter_ |
Track Transformer. More... | |
bool | usePosition_ |
if true, use full 5x5 track state; if false, use only the track direction More... | |
Definition at line 8 of file MuonKinkFinder.h.
MuonKinkFinder::MuonKinkFinder | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 5 of file MuonKinkFinder.cc.
MuonKinkFinder::~MuonKinkFinder | ( | ) |
Definition at line 10 of file MuonKinkFinder.cc.
|
private |
Definition at line 60 of file MuonKinkFinder.cc.
References diagonalOnly_, mps_fire::i, dqmiolumiharvest::j, and usePosition_.
Referenced by getChi2().
bool MuonKinkFinder::fillTrkKink | ( | reco::MuonQuality & | quality, |
const Trajectory & | trajectory | ||
) | const |
Definition at line 24 of file MuonKinkFinder.cc.
References newFWLiteAna::found, getChi2(), TrajectoryStateOnSurface::isValid(), Trajectory::measurements(), reco::MuonQuality::tkKink_position, reco::MuonQuality::trkKink, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillTrkKink().
bool MuonKinkFinder::fillTrkKink | ( | reco::MuonQuality & | quality, |
const reco::Track & | track | ||
) | const |
Definition at line 14 of file MuonKinkFinder.cc.
References fillTrkKink(), refitter_, reco::MuonQuality::tkKink_position, TrackTransformer::transform(), and reco::MuonQuality::trkKink.
|
private |
Definition at line 47 of file MuonKinkFinder.cc.
References cropAndInvert(), change_name::diff, TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LocalTrajectoryError::matrix(), and LocalTrajectoryParameters::mixedFormatVector().
Referenced by fillTrkKink().
void MuonKinkFinder::init | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 12 of file MuonKinkFinder.cc.
References refitter_, and TrackTransformer::setServices().
|
private |
use only on-diagonal terms of the covariance matrices
Definition at line 24 of file MuonKinkFinder.h.
Referenced by cropAndInvert().
|
private |
Track Transformer.
Definition at line 29 of file MuonKinkFinder.h.
Referenced by fillTrkKink(), and init().
|
private |
if true, use full 5x5 track state; if false, use only the track direction
Definition at line 26 of file MuonKinkFinder.h.
Referenced by cropAndInvert().