CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProxyStripTopology.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerTopology_ProxyStripTopology_H
2 #define Geometry_TrackerTopology_ProxyStripTopology_H
3 
15 //
29 
31 
34 
35 class StripGeomDetType;
36 class BoundPlane;
37 
38 class ProxyStripTopology GCC11_FINAL : public StripTopology {
39 public:
40 
41  ProxyStripTopology(StripGeomDetType* type, BoundPlane * bp);
42 
43  virtual LocalPoint localPosition( const MeasurementPoint& mp ) const;
45  virtual LocalPoint localPosition( const MeasurementPoint& mp, const Topology::LocalTrackPred &trkPred ) const;
46 
47  virtual LocalPoint localPosition( float strip ) const;
49  virtual LocalPoint localPosition( float strip, const Topology::LocalTrackPred &trkPred) const;
50 
51  virtual LocalError localError( float strip, float stripErr2 ) const;
53  virtual LocalError localError( float strip, float stripErr2, const Topology::LocalTrackPred &trkPred) const;
54 
55  virtual LocalError localError( const MeasurementPoint& mp,
56  const MeasurementError& me) const;
58  virtual LocalError localError( const MeasurementPoint& mp,
59  const MeasurementError& me,
60  const Topology::LocalTrackPred &trkPred) const;
61 
62  virtual MeasurementPoint measurementPosition( const LocalPoint& lp) const;
64  const Topology::LocalTrackAngles &dir) const;
65 
66  virtual MeasurementError measurementError( const LocalPoint& lp,
67  const LocalError& le ) const;
68  virtual MeasurementError measurementError( const LocalPoint &lp, const LocalError &le,
69  const Topology::LocalTrackAngles &dir) const;
70 
71  virtual int channel( const LocalPoint& lp) const;
72  virtual int channel( const LocalPoint &lp, const Topology::LocalTrackAngles &dir) const;
73 
74  virtual float strip( const LocalPoint& lp) const;
76  virtual float strip( const LocalPoint& lp, const Topology::LocalTrackAngles &dir ) const;
77 
78  virtual float pitch() const;
79  virtual float localPitch( const LocalPoint& lp) const;
81  virtual float localPitch( const LocalPoint& lp, const Topology::LocalTrackAngles &dir ) const;
82 
83  virtual float stripAngle( float strip ) const;
84 
85  virtual int nstrips() const;
86 
87  virtual float stripLength() const;
88  virtual float localStripLength(const LocalPoint& lp) const;
89  virtual float localStripLength( const LocalPoint& lp, const Topology::LocalTrackAngles &dir ) const;
90 
91  virtual const GeomDetType& type() const;
92  virtual StripGeomDetType& specificType() const;
93 
95  return theSurfaceDeformation.operator->();
96  }
97  virtual void setSurfaceDeformation(const SurfaceDeformation * deformation);
98 
99 private:
100 
101  virtual const StripTopology& specificTopology() const;
105  positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const;
109  positionCorrection(const Topology::LocalTrackPred &trk) const;
110 
112  float theLength, theWidth;
114 };
115 
116 #endif
type
Definition: HCALResponse.h:22
virtual int nstrips() const =0
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
virtual float stripAngle(float strip) const =0
virtual float strip(const LocalPoint &) const =0
virtual float localPitch(const LocalPoint &) const =0
virtual float stripLength() const =0
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
const SurfaceDeformation * surfaceDeformation() const
virtual int channel(const LocalPoint &p) const =0
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
virtual LocalError localError(float strip, float stripErr2) const =0
virtual float localStripLength(const LocalPoint &aLP) const =0
virtual float pitch() const =0
virtual LocalPoint localPosition(float strip) const =0
dbl *** dir
Definition: mlp_gen.cc:35
StripGeomDetType * theType
Our base class.
Definition: SiPixelRecHit.h:22