CMS 3D CMS Logo

InvalidTrackingRecHit.cc
Go to the documentation of this file.
3 
4 void InvalidTrackingRecHit::throwError() const { throw cms::Exception("Invalid TrackingRecHit used"); }
5 
7  throwError();
8  return AlgebraicVector();
9 }
10 
12  throwError();
13  return AlgebraicSymMatrix();
14 }
15 
17  throwError();
18  return AlgebraicMatrix();
19 }
20 
22  throwError();
23  return LocalPoint();
24 }
25 
27  throwError();
28  return LocalError();
29 }
30 
31 std::vector<const TrackingRecHit*> InvalidTrackingRecHit::recHits() const {
32  throwError();
33  return std::vector<const TrackingRecHit*>();
34 }
35 
36 std::vector<TrackingRecHit*> InvalidTrackingRecHit::recHits() {
37  throwError();
38  return std::vector<TrackingRecHit*>();
39 }
40 
41 bool InvalidTrackingRecHit::sharesInput(const TrackingRecHit* other, SharedInputType what) const { return false; }
SharedInputType
definition of equality via shared input
LocalError localPositionError() const override
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
CLHEP::HepMatrix AlgebraicMatrix
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
LocalPoint localPosition() const override
CLHEP::HepVector AlgebraicVector
AlgebraicSymMatrix parametersError() const override
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicVector parameters() const override
AlgebraicMatrix projectionMatrix() const override