CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HelpertRecHit2DLocalPos.h
Go to the documentation of this file.
1 #ifndef HelpertRecHit2DLocalPos_H
2 #define HelpertRecHit2DLocalPos_H
3 
4 // TO BE FIXED: the name of this class should be changed in something more generic
5 // since it is now used also for 1D Hits
6 
11 
12 // make it dummy, alignment error added in BaseTrackerRecHit
13 
14 class HelpertRecHit2DLocalPos //: public TValidTrackingRecHit
15 {
16 public:
17  static AlgebraicSymMatrix parError(const LocalError& le, const GeomDet& det) {
19  m[0][0] = le.xx();
20  m[0][1] = le.xy();
21  m[1][1] = le.yy();
22  return m;
23  }
24 
27  static void getKfComponents(KfComponentsHolder& holder, const TrackingRecHit& hit2dLocalPos, const GeomDet& det) {
28  hit2dLocalPos.getKfComponents(holder);
29  }
30 
32  static void getKfComponents(KfComponentsHolder& holder, const SiStripRecHit1D& hit1D, const GeomDet& det) {
33  hit1D.getKfComponents(holder);
34  }
35 };
36 
37 #endif
float xx() const
Definition: LocalError.h:22
virtual void getKfComponents(KfComponentsHolder &holder) const
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)
static void getKfComponents(KfComponentsHolder &holder, const SiStripRecHit1D &hit1D, const GeomDet &det)
Fills in KFComponents delegating to hit1D, plus adding APE if available.
float xy() const
Definition: LocalError.h:23
float yy() const
Definition: LocalError.h:24
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
CLHEP::HepSymMatrix AlgebraicSymMatrix
void getKfComponents(KfComponentsHolder &holder) const override