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  const GeomDet& fastGeomDet() const { return *theGeomDet;}
40  virtual const GeomDet& geomDet() const { return *theGeomDet;}
41 
42  const BoundSurface& surface() const {return geomDet().surface();}
43 
44  const Surface::PositionType& position() const {return geomDet().position();}
45 
46  virtual bool isActive() const=0;
47  virtual bool hasBadComponents(const TrajectoryStateOnSurface &tsos) const=0;
48 
49  private:
50 
52 
53 };
54 
55 
56 #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
const GeomDet & fastGeomDet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &) const =0
const Surface::PositionType & position() const
The position (origin of the R.F.)
Definition: GeomDet.h:41
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
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35