CMS 3D CMS Logo

RecHit1D.h
Go to the documentation of this file.
1 #ifndef TrackingRecHit_RecHit1D_H
2 #define TrackingRecHit_RecHit1D_H
3 
18 
19 
20 class RecHit1D : public TrackingRecHit {
21  public:
22 
25 
27  virtual ~RecHit1D() {}
28 
29 
31  virtual AlgebraicVector parameters() const;
32 
33 
35  virtual AlgebraicSymMatrix parametersError() const;
36 
37 
40  return theProjectionMatrix;
41  }
42 
44  virtual int dimension() const {
45  return 1;
46  }
47 
48 
50  virtual LocalPoint localPosition() const = 0;
51 
52 
54  virtual LocalError localPositionError() const = 0;
55 
56 
57  private:
59 };
60 #endif
unsigned int id_type
virtual int dimension() const
Return the RecHit dimension.
Definition: RecHit1D.h:44
virtual LocalPoint localPosition() const =0
Local position.
virtual ~RecHit1D()
Destructor.
Definition: RecHit1D.h:27
RecHit1D(TrackingRecHit::id_type id=0)
Definition: RecHit1D.h:24
CLHEP::HepMatrix AlgebraicMatrix
virtual AlgebraicSymMatrix parametersError() const
Return just "(sigma_x)^2".
Definition: RecHit1D.cc:24
Definition: DetId.h:18
CLHEP::HepVector AlgebraicVector
RecHit1D(DetId id)
Definition: RecHit1D.h:23
virtual LocalError localPositionError() const =0
Error on the local position.
virtual AlgebraicMatrix projectionMatrix() const
Return the projection matrix.
Definition: RecHit1D.h:39
CLHEP::HepSymMatrix AlgebraicSymMatrix
static const AlgebraicMatrix theProjectionMatrix
Definition: RecHit1D.h:58
virtual AlgebraicVector parameters() const
Return just the x.
Definition: RecHit1D.cc:15