CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LocalTrackFitter.h
Go to the documentation of this file.
1 /****************************************************************************
2 * Authors:
3 * Jan Kašpar (jan.kaspar@gmail.com)
4 ****************************************************************************/
5 
6 #ifndef CalibPPS_AlignmentRelative_LocalTrackFitter_h
7 #define CalibPPS_AlignmentRelative_LocalTrackFitter_h
8 
12 
13 namespace edm {
14  class ParameterSet;
15 }
16 
21 public:
24 
27 
28  virtual ~LocalTrackFitter() {}
29 
32  bool fit(HitCollection &, const AlignmentGeometry &, LocalTrackFit &) const;
33 
34 protected:
36  unsigned int verbosity;
37 
40 
43 
48  HitCollection &, const AlignmentGeometry &, LocalTrackFit &, bool &failed, bool &selectionChanged) const;
49 
51  void removeInsufficientPots(HitCollection &, bool &selectionChanged) const;
52 };
53 
54 #endif
bool fit(HitCollection &, const AlignmentGeometry &, LocalTrackFit &) const
unsigned int minimumHitsPerProjectionPerRP
minimum of hits to accept data from a RP
Local (linear) track description (or a fit result). Uses global reference system. ...
Definition: LocalTrackFit.h:15
Performs straight-line fit and outlier rejection.
unsigned int verbosity
verbosity level
double maxResidualToSigma
hits with higher ratio residual/sigma will be dropped
virtual ~LocalTrackFitter()
std::vector< Hit > HitCollection
Definition: HitCollection.h:35
LocalTrackFitter()
dummy constructor (not to be used)
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