#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) | |
~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 7 of file MuonKinkFinder.h.
MuonKinkFinder::MuonKinkFinder | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 5 of file MuonKinkFinder.cc.
MuonKinkFinder::~MuonKinkFinder | ( | ) |
Definition at line 12 of file MuonKinkFinder.cc.
|
private |
Definition at line 59 of file MuonKinkFinder.cc.
References diagonalOnly_, i, j, and usePosition_.
Referenced by getChi2().
bool MuonKinkFinder::fillTrkKink | ( | reco::MuonQuality & | quality, |
const Trajectory & | trajectory | ||
) | const |
Definition at line 28 of file MuonKinkFinder.cc.
References newFWLiteAna::found, getChi2(), TrajectoryStateOnSurface::isValid(), Trajectory::measurements(), pos, 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 18 of file MuonKinkFinder.cc.
References fillTrkKink(), refitter_, reco::MuonQuality::tkKink_position, TrackTransformer::transform(), and reco::MuonQuality::trkKink.
|
private |
Definition at line 49 of file MuonKinkFinder.cc.
References cropAndInvert(), diffTreeTool::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 14 of file MuonKinkFinder.cc.
References refitter_, and TrackTransformer::setServices().
|
private |
use only on-diagonal terms of the covariance matrices
Definition at line 23 of file MuonKinkFinder.h.
Referenced by cropAndInvert().
|
private |
Track Transformer.
Definition at line 28 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 25 of file MuonKinkFinder.h.
Referenced by cropAndInvert().