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 
20 #ifndef __GCCXML__
22 #endif
23 
24 
26 
28 
29  virtual AlgebraicMatrix projectionMatrix() const GCC11_OVERRIDE;
30 
31  virtual int dimension() const GCC11_OVERRIDE { return 0;}
32 
34 
36 
37  virtual std::vector<const TrackingRecHit*> recHits() const GCC11_OVERRIDE;
38 
39  virtual std::vector<TrackingRecHit*> recHits() GCC11_OVERRIDE;
40 
41  virtual bool sharesInput( const TrackingRecHit* other, SharedInputType what) const GCC11_OVERRIDE;
42 
43 private:
44 
45  void throwError() const;
46 
47 };
48 
50 public:
51 
53  InvalidTrackingRecHitNoDet(Surface const & surface, Type type) : InvalidTrackingRecHit(type), m_surface(&surface){}
54 
55  virtual InvalidTrackingRecHitNoDet * clone() const GCC11_OVERRIDE {return new InvalidTrackingRecHitNoDet(*this);}
56 
57  const Surface* surface() const GCC11_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
#define GCC11_OVERRIDE
virtual const Surface * surface() const
#define GCC11_FINAL
virtual AlgebraicVector parameters() const
InvalidTrackingRecHit(GeomDet const &idet, Type type)
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
virtual RecHitPointer cloneSH() const
const Surface * surface() const
CLHEP::HepMatrix AlgebraicMatrix
virtual InvalidTrackingRecHit * clone() const
std::shared_ptr< TrackingRecHit const > RecHitPointer
virtual InvalidTrackingRecHitNoDet * clone() const
virtual AlgebraicMatrix projectionMatrix() const
virtual int dimension() const
Definition: DetId.h:18
CLHEP::HepVector AlgebraicVector
virtual LocalPoint localPosition() const
string const
Definition: compareJSON.py:14
InvalidTrackingRecHitNoDet(Surface const &surface, Type type)
virtual LocalError localPositionError() const
#define private
Definition: FWFileEntry.h:17
CLHEP::HepSymMatrix AlgebraicSymMatrix
TrackingRecHit::Type Type
virtual AlgebraicSymMatrix parametersError() const