test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
13 // make it dummy, alignment error added in BaseTrackerRecHit
14 
15 
16 class HelpertRecHit2DLocalPos //: public TValidTrackingRecHit
17 {
18 public:
19 
20  static AlgebraicSymMatrix parError( const LocalError& le, const GeomDet& det) {
22  m[0][0] = le.xx();
23  m[0][1] = le.xy();
24  m[1][1] = le.yy();
25  return m;
26  }
27 
30  static void getKfComponents( KfComponentsHolder & holder,
31  const TrackingRecHit &hit2dLocalPos,
32  const GeomDet& det){hit2dLocalPos.getKfComponents(holder);}
33 
34 
36  static void getKfComponents( KfComponentsHolder & holder,
37  const SiStripRecHit1D& hit1D,
38  const GeomDet& det){hit1D.getKfComponents(holder);}
39 
40 };
41 
42 #endif
float xx() const
Definition: LocalError.h:24
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.
virtual void getKfComponents(KfComponentsHolder &holder) const
float xy() const
Definition: LocalError.h:25
float yy() const
Definition: LocalError.h:26
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
CLHEP::HepSymMatrix AlgebraicSymMatrix