test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InvalidTrackingRecHit.h
Go to the documentation of this file.
1 #ifndef InvalidTrackingRecHit_H
2 #define InvalidTrackingRecHit_H
3 
7 
9 public:
11 
12  InvalidTrackingRecHit(GeomDet const & idet, Type type ) : TrackingRecHit(idet, type) {}
14 
16 
18 
19  virtual InvalidTrackingRecHit * clone() const override {return new InvalidTrackingRecHit(*this);}
20 #ifndef __GCCXML__
21  virtual RecHitPointer cloneSH() const override { return RecHitPointer(clone());}
22 #endif
23 
24 
25  virtual AlgebraicVector parameters() const override;
26 
27  virtual AlgebraicSymMatrix parametersError() const override;
28 
29  virtual AlgebraicMatrix projectionMatrix() const override;
30 
31  virtual int dimension() const override { return 0;}
32 
33  virtual LocalPoint localPosition() const override;
34 
35  virtual LocalError localPositionError() const override;
36 
37  virtual std::vector<const TrackingRecHit*> recHits() const override;
38 
39  virtual std::vector<TrackingRecHit*> recHits() override;
40 
41  virtual bool sharesInput( const TrackingRecHit* other, SharedInputType what) const override;
42 
43 private:
44 
45  void throwError() const;
46 
47 };
48 
50 public:
51 
54 
55  virtual InvalidTrackingRecHitNoDet * clone() const override {return new InvalidTrackingRecHitNoDet(*this);}
56 
57  const Surface* surface() const override { return m_surface; }
58 
59  private:
60  Surface const * m_surface;
61 
62 };
63 
64 #endif
SharedInputType
definition of equality via shared input
type
Definition: HCALResponse.h:21
virtual LocalError localPositionError() const override
virtual int dimension() const override
virtual InvalidTrackingRecHit * clone() const override
virtual std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
InvalidTrackingRecHit(GeomDet const &idet, Type type)
virtual RecHitPointer cloneSH() const override
virtual AlgebraicMatrix projectionMatrix() const override
CLHEP::HepMatrix AlgebraicMatrix
virtual AlgebraicSymMatrix parametersError() const override
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: DetId.h:18
CLHEP::HepVector AlgebraicVector
const Surface * surface() const override
virtual AlgebraicVector parameters() const override
InvalidTrackingRecHitNoDet(Surface const &surface, Type type)
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual LocalPoint localPosition() const override
TrackingRecHit::Type Type
virtual InvalidTrackingRecHitNoDet * clone() const override