CMS 3D CMS Logo

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
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 yy() const
Definition: LocalError.h:24
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
float xy() const
Definition: LocalError.h:23
CLHEP::HepSymMatrix AlgebraicSymMatrix
void getKfComponents(KfComponentsHolder &holder) const override
float xx() const
Definition: LocalError.h:22
virtual void getKfComponents(KfComponentsHolder &holder) const