CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InvalidTrackingRecHit.cc
Go to the documentation of this file.
3 
4 void InvalidTrackingRecHit::throwError() const {
5  throw cms::Exception("Invalid TrackingRecHit used");
6 }
7 
9  throwError();
10  return AlgebraicVector();
11 }
12 
13 AlgebraicSymMatrix InvalidTrackingRecHit::parametersError() const {
14  throwError();
15  return AlgebraicSymMatrix();
16 }
17 
18 AlgebraicMatrix InvalidTrackingRecHit::projectionMatrix() const {
19  throwError();
20  return AlgebraicMatrix();
21 }
22 
23 int InvalidTrackingRecHit::dimension() const { throwError(); return 0;}
24 
25 LocalPoint InvalidTrackingRecHit::localPosition() const {
26  throwError();
27  return LocalPoint();
28 }
29 
30 LocalError InvalidTrackingRecHit::localPositionError() const {
31  throwError();
32  return LocalError();
33 }
34 
35 
36 std::vector<const TrackingRecHit*> InvalidTrackingRecHit::recHits() const {
37  throwError();
38  return std::vector<const TrackingRecHit*>();
39 }
40 
41 std::vector<TrackingRecHit*> InvalidTrackingRecHit::recHits() {
42  throwError();
43  return std::vector<TrackingRecHit*>();
44 }
45 
46 bool InvalidTrackingRecHit::sharesInput( const TrackingRecHit* other,
47  SharedInputType what) const
48 {
49  return false;
50 }
51 
SharedInputType
definition of equality via shared input
dictionary parameters
Definition: Parameters.py:2
CLHEP::HepMatrix AlgebraicMatrix
CLHEP::HepVector AlgebraicVector
CLHEP::HepSymMatrix AlgebraicSymMatrix
Local3DPoint LocalPoint
Definition: LocalPoint.h:11
uint32_t dimension(pat::CandKinResolution::Parametrization parametrization)
Returns the number of free parameters in a parametrization (3 or 4)