CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MeasurementDet.h
Go to the documentation of this file.
1 #ifndef MeasurementDet_H
2 #define MeasurementDet_H
3 
4 #include <vector>
5 
8 
11 class GeomDet;
12 class Propagator;
15 class BoundSurface;
16 
18 public:
19 
21 
22  MeasurementDet( const GeomDet* gdet) : theGeomDet(gdet) {}
23 
24  virtual RecHitContainer recHits( const TrajectoryStateOnSurface&) const = 0;
25 
32  virtual std::vector<TrajectoryMeasurement>
33  fastMeasurements( const TrajectoryStateOnSurface& stateOnThisDet,
34  const TrajectoryStateOnSurface& startingState,
35  const Propagator&,
36  const MeasurementEstimator&) const = 0;
37 
38 
39  virtual const GeomDet& geomDet() const { return *theGeomDet;}
40 
41  const BoundSurface& surface() const {return geomDet().surface();}
42 
43  const Surface::PositionType& position() const {return geomDet().position();}
44 
45  virtual bool isActive() const=0;
46  virtual bool hasBadComponents(const TrajectoryStateOnSurface &tsos) const=0;
47 
48  private:
49 
51 
52 };
53 
54 
55 #endif
const GeomDet * theGeomDet
virtual bool isActive() const =0
MeasurementDet(const GeomDet *gdet)
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
virtual const GeomDet & geomDet() const
const BoundSurface & surface() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &) const =0
const Surface::PositionType & position() const
The position (origin of the R.F.)
Definition: GeomDet.h:43
virtual std::vector< TrajectoryMeasurement > fastMeasurements(const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const =0
virtual bool hasBadComponents(const TrajectoryStateOnSurface &tsos) const =0
const Surface::PositionType & position() const
std::vector< ConstRecHitPointer > ConstRecHitContainer
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37