CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProxyPixelTopology.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerTopology_ProxyPixelTopology_H
2 #define Geometry_TrackerTopology_ProxyPixelTopology_H
3 
15 //
24 
26 
29 
30 class PixelGeomDetType;
31 class BoundPlane;
32 
34 public:
35 
37 
38  virtual LocalPoint localPosition( const MeasurementPoint& ) const;
40  virtual LocalPoint localPosition( const MeasurementPoint& mp,
41  const Topology::LocalTrackPred &trkPred ) const;
42 
43  virtual LocalError localError( const MeasurementPoint&,
44  const MeasurementError& ) const;
46  virtual LocalError localError( const MeasurementPoint& mp,
47  const MeasurementError& me,
48  const Topology::LocalTrackPred &trkPred ) const;
49 
50  virtual MeasurementPoint measurementPosition( const LocalPoint & ) const;
52  const Topology::LocalTrackAngles &dir ) const;
53 
54  virtual MeasurementError measurementError( const LocalPoint &lp, const LocalError &le ) const;
55  virtual MeasurementError measurementError( const LocalPoint &lp, const LocalError &le,
56  const Topology::LocalTrackAngles &dir ) const;
57 
58  virtual int channel( const LocalPoint& ) const;
59  virtual int channel( const LocalPoint &lp, const Topology::LocalTrackAngles &dir ) const;
60 
61  virtual std::pair<float,float> pixel( const LocalPoint& p) const;
63  virtual std::pair<float,float> pixel( const LocalPoint& p,
64  const Topology::LocalTrackAngles &ltp ) const;
65 
66  virtual std::pair<float,float> pitch() const;
67  virtual int nrows() const;
68  virtual int ncolumns() const;
69 
70  virtual float localX( const float mpX ) const;
71  virtual float localX( const float mpX, const Topology::LocalTrackPred &trkPred ) const;
72  virtual float localY( const float mpY ) const;
73  virtual float localY( const float mpY, const Topology::LocalTrackPred &trkPred ) const;
74 
75  virtual bool isItBigPixelInX(const int ixbin) const {
76  return specificTopology().isItBigPixelInX(ixbin);
77  }
78  virtual bool isItBigPixelInY(const int iybin) const {
79  return specificTopology().isItBigPixelInY(iybin);
80  }
81  virtual bool containsBigPixelInX(const int& ixmin, const int& ixmax) const {
82  return specificTopology().containsBigPixelInX(ixmin, ixmax);
83  }
84  virtual bool containsBigPixelInY(const int& iymin, const int& iymax) const {
85  return specificTopology().containsBigPixelInY(iymin, iymax);
86  }
87 
88  virtual bool isItEdgePixelInX(int ixbin) const {
89  return specificTopology().isItEdgePixelInX(ixbin);
90  }
91  virtual bool isItEdgePixelInY(int iybin) const {
92  return specificTopology().isItEdgePixelInY(iybin);
93  }
94  virtual bool isItEdgePixel(int ixbin, int iybin) const {
95  return specificTopology().isItEdgePixel(ixbin, iybin);
96  }
97 
98  virtual const GeomDetType& type() const;
99  virtual PixelGeomDetType& specificType() const;
100 
102  return theSurfaceDeformation.operator->();
103  }
104  virtual void setSurfaceDeformation(const SurfaceDeformation * deformation);
105 
106 private:
107 
108  virtual const PixelTopology& specificTopology() const;
117 
121 };
122 
123 #endif
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
type
Definition: HCALResponse.h:22
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
PixelGeomDetType * theType
virtual bool containsBigPixelInX(const int &ixmin, const int &ixmax) const =0
virtual LocalError localError(const MeasurementPoint &, const MeasurementError &) const
virtual int ncolumns() const
virtual int nrows() const
virtual bool isItEdgePixel(int ixbin, int iybin) const
virtual bool isItEdgePixelInY(int iybin) const
virtual const GeomDetType & type() const
virtual bool containsBigPixelInY(const int &iymin, const int &iymax) const
virtual bool isItBigPixelInX(const int ixbin) const
virtual MeasurementPoint measurementPosition(const LocalPoint &) const
virtual const PixelTopology & specificTopology() const
virtual bool isItEdgePixelInX(int ixbin) const =0
virtual std::pair< float, float > pitch() const
virtual bool isItBigPixelInY(const int iybin) const
ProxyPixelTopology(PixelGeomDetType *type, BoundPlane *bp)
virtual bool containsBigPixelInX(const int &ixmin, const int &ixmax) const
#define GCC11_FINAL
virtual bool containsBigPixelInY(const int &iymin, const int &iymax) const =0
DeepCopyPointerByClone< const SurfaceDeformation > theSurfaceDeformation
virtual bool isItBigPixelInX(const int ixbin) const =0
virtual bool isItEdgePixelInX(int ixbin) const
virtual float localY(const float mpY) const
virtual MeasurementError measurementError(const LocalPoint &lp, const LocalError &le) const
virtual bool isItEdgePixelInY(int iybin) const =0
virtual LocalPoint localPosition(const MeasurementPoint &) const
virtual PixelGeomDetType & specificType() const
const SurfaceDeformation * surfaceDeformation() const
virtual float localX(const float mpX) const
dbl *** dir
Definition: mlp_gen.cc:35
virtual int channel(const LocalPoint &) const
virtual std::pair< float, float > pixel(const LocalPoint &p) const
virtual bool isItEdgePixel(int ixbin, int iybin) const =0
unsigned long long le
Definition: VDTMath.h:202
virtual bool isItBigPixelInY(const int iybin) const =0