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 20 of file LocalTrackFitter.h.
|
inline |
LocalTrackFitter::LocalTrackFitter | ( | const edm::ParameterSet & | ps | ) |
normal constructor
Definition at line 24 of file LocalTrackFitter.cc.
|
inlinevirtual |
Definition at line 28 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 31 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 62 of file LocalTrackFitter.cc.
References A, LocalTrackFit::ax, LocalTrackFit::ay, LocalTrackFit::bx, LocalTrackFit::by, LocalTrackFit::chi_sq, ztail::d, hcalRecHitTable_cff::detId, MillePedeFileConverter_cfg::e, runEdmFileComparison::failed, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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 172 of file LocalTrackFitter.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, minimumHitsPerProjectionPerRP, TotemRPDetId::plane(), 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 42 of file LocalTrackFitter.h.
Referenced by fitAndRemoveOutliers().
|
protected |
minimum of hits to accept data from a RP
Definition at line 39 of file LocalTrackFitter.h.
Referenced by removeInsufficientPots().
|
protected |
verbosity level
Definition at line 36 of file LocalTrackFitter.h.
Referenced by fit(), fitAndRemoveOutliers(), and removeInsufficientPots().