Performs straight-line fit and outlier rejection. More...
#include <LocalTrackFitter.h>
Public Member Functions | |
bool | fit (HitCollection &, const AlignmentGeometry &, LocalTrackFit &) const |
LocalTrackFitter () | |
dummy constructor (not to be used) More... | |
LocalTrackFitter (const edm::ParameterSet &) | |
normal constructor More... | |
virtual | ~LocalTrackFitter () |
Protected Member Functions | |
void | fitAndRemoveOutliers (HitCollection &, const AlignmentGeometry &, LocalTrackFit &, bool &failed, bool &selectionChanged) const |
void | removeInsufficientPots (HitCollection &, bool &selectionChanged) const |
removes the hits of pots with too few planes active More... | |
Protected Attributes | |
double | maxResidualToSigma |
hits with higher ratio residual/sigma will be dropped More... | |
unsigned int | minimumHitsPerProjectionPerRP |
minimum of hits to accept data from a RP More... | |
unsigned int | verbosity |
verbosity level More... | |
Performs straight-line fit and outlier rejection.
Definition at line 19 of file LocalTrackFitter.h.
|
inline |
LocalTrackFitter::LocalTrackFitter | ( | const edm::ParameterSet & | ps | ) |
|
inlinevirtual |
Definition at line 27 of file LocalTrackFitter.h.
bool LocalTrackFitter::fit | ( | HitCollection & | selection, |
const AlignmentGeometry & | geometry, | ||
LocalTrackFit & | trackFit | ||
) | const |
runs the fit and outlier-removal loop returns true in case of success
Definition at line 30 of file LocalTrackFitter.cc.
References fitAndRemoveOutliers(), removeInsufficientPots(), corrVsCorr::selection, and verbosity.
Referenced by trackingPlots.Iteration::modules(), and StraightTrackAlignment::processEvent().
|
protected |
fits the collection of hits and removes hits with too high residual/sigma ratio
failed | whether the fit has failed |
selectionChanged | whether some hits have been removed |
Definition at line 61 of file LocalTrackFitter.cc.
References MaterialEffects_cfi::A, LocalTrackFit::ax, LocalTrackFit::ay, LocalTrackFit::bx, LocalTrackFit::by, LocalTrackFit::chi_sq, ztail::d, MillePedeFileConverter_cfg::e, runEdmFileComparison::failed, mps_fire::i, dqmiolumiharvest::j, maxResidualToSigma, LocalTrackFit::ndf, printId(), dttmaxenums::R, corrVsCorr::selection, theta(), verbosity, and LocalTrackFit::z0.
Referenced by fit().
|
protected |
removes the hits of pots with too few planes active
Definition at line 171 of file LocalTrackFitter.cc.
References minimumHitsPerProjectionPerRP, TotemRPDetId::plane(), year_2016_postTS2_cff::rpId, CTPPSDetId::rpId(), CTPPSDetId::sdTrackingPixel, CTPPSDetId::sdTrackingStrip, corrVsCorr::selection, DetId::subdetId(), and verbosity.
Referenced by fit().
|
protected |
hits with higher ratio residual/sigma will be dropped
Definition at line 41 of file LocalTrackFitter.h.
Referenced by fitAndRemoveOutliers().
|
protected |
minimum of hits to accept data from a RP
Definition at line 38 of file LocalTrackFitter.h.
Referenced by removeInsufficientPots().
|
protected |
verbosity level
Definition at line 35 of file LocalTrackFitter.h.
Referenced by fit(), fitAndRemoveOutliers(), and removeInsufficientPots().