CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecHit2DLocalPos.h
Go to the documentation of this file.
1 #ifndef RecHit2DLocalPos_H
2 #define RecHit2DLocalPos_H
3 
7 
8 
10 public:
11 
13 
16  virtual ~RecHit2DLocalPos() {}
17 
18  virtual RecHit2DLocalPos * clone() const = 0;
19 
20  virtual AlgebraicVector parameters() const;
21 
22  virtual AlgebraicSymMatrix parametersError() const;
23 
25  if ( !isInitialized) initialize();
26  return theProjectionMatrix;
27  }
28 
29  virtual int dimension() const { return 2;}
30 
31  virtual LocalPoint localPosition() const = 0;
32 
33  virtual LocalError localPositionError() const = 0;
34 
35  virtual std::vector<const TrackingRecHit*> recHits() const;
36 
37  virtual std::vector<TrackingRecHit*> recHits();
38 
39 private:
40 
41  static bool isInitialized;
42 
44 
45  void initialize() const;
46 
47 };
48 
49 #endif
virtual AlgebraicSymMatrix parametersError() const
RecHit2DLocalPos(TrackingRecHit::id_type id=0)
unsigned int id_type
RecHit2DLocalPos(DetId id)
virtual RecHit2DLocalPos * clone() const =0
virtual AlgebraicMatrix projectionMatrix() const
void initialize() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
CLHEP::HepMatrix AlgebraicMatrix
Definition: DetId.h:20
CLHEP::HepVector AlgebraicVector
virtual AlgebraicVector parameters() const
static AlgebraicMatrix theProjectionMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual ~RecHit2DLocalPos()
virtual LocalError localPositionError() const =0
GloballyPositioned< float >::LocalPoint LocalPoint
static bool isInitialized
virtual int dimension() const
virtual LocalPoint localPosition() const =0