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
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
LocalError localPositionError() const override
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
AlgebraicMatrix projectionMatrix() const override
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicSymMatrix parametersError() const override
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
CLHEP::HepVector AlgebraicVector
AlgebraicVector parameters() const override
CLHEP::HepSymMatrix AlgebraicSymMatrix
LocalPoint localPosition() const override