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 class RecHit1D : public TrackingRecHit {
20 public:
23 
25  ~RecHit1D() override {}
26 
28  AlgebraicVector parameters() const override;
29 
31  AlgebraicSymMatrix parametersError() const override;
32 
35 
37  int dimension() const override { return 1; }
38 
40  LocalPoint localPosition() const override = 0;
41 
43  LocalError localPositionError() const override = 0;
44 
45 private:
47 };
48 #endif
unsigned int id_type
AlgebraicMatrix projectionMatrix() const override
Return the projection matrix.
Definition: RecHit1D.h:34
~RecHit1D() override
Destructor.
Definition: RecHit1D.h:25
RecHit1D(TrackingRecHit::id_type id=0)
Definition: RecHit1D.h:22
LocalError localPositionError() const override=0
Error on the local position.
CLHEP::HepMatrix AlgebraicMatrix
LocalPoint localPosition() const override=0
Local position.
int dimension() const override
Return the RecHit dimension.
Definition: RecHit1D.h:37
AlgebraicVector parameters() const override
Return just the x.
Definition: RecHit1D.cc:13
Definition: DetId.h:17
CLHEP::HepVector AlgebraicVector
RecHit1D(DetId id)
Definition: RecHit1D.h:21
CLHEP::HepSymMatrix AlgebraicSymMatrix
static const AlgebraicMatrix theProjectionMatrix
Definition: RecHit1D.h:46
AlgebraicSymMatrix parametersError() const override
Return just "(sigma_x)^2".
Definition: RecHit1D.cc:20