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  ~RecHit1D() override {}
28 
29 
31  AlgebraicVector parameters() const override;
32 
33 
35  AlgebraicSymMatrix parametersError() const override;
36 
37 
39  AlgebraicMatrix projectionMatrix() const override {
40  return theProjectionMatrix;
41  }
42 
44  int dimension() const override {
45  return 1;
46  }
47 
48 
50  LocalPoint localPosition() const override = 0;
51 
52 
54  LocalError localPositionError() const override = 0;
55 
56 
57  private:
59 };
60 #endif
int dimension() const override
Return the RecHit dimension.
Definition: RecHit1D.h:44
unsigned int id_type
~RecHit1D() override
Destructor.
Definition: RecHit1D.h:27
AlgebraicMatrix projectionMatrix() const override
Return the projection matrix.
Definition: RecHit1D.h:39
AlgebraicSymMatrix parametersError() const override
Return just "(sigma_x)^2".
Definition: RecHit1D.cc:24
RecHit1D(TrackingRecHit::id_type id=0)
Definition: RecHit1D.h:24
LocalError localPositionError() const override=0
Error on the local position.
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicVector parameters() const override
Return just the x.
Definition: RecHit1D.cc:15
Definition: DetId.h:18
CLHEP::HepVector AlgebraicVector
RecHit1D(DetId id)
Definition: RecHit1D.h:23
LocalPoint localPosition() const override=0
Local position.
CLHEP::HepSymMatrix AlgebraicSymMatrix
static const AlgebraicMatrix theProjectionMatrix
Definition: RecHit1D.h:58