CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
ProxyPixelTopology Class Referencefinal

#include <ProxyPixelTopology.h>

Inheritance diagram for ProxyPixelTopology:
PixelTopology Topology

Public Member Functions

virtual int channel (const LocalPoint &) const
 
virtual int channel (const LocalPoint &lp, const Topology::LocalTrackAngles &dir) const
 conversion taking also the angle from the track state More...
 
virtual int colsperroc () const
 
virtual bool containsBigPixelInX (int ixmin, int ixmax) const
 
virtual bool containsBigPixelInY (int iymin, int iymax) const
 
virtual bool isItBigPixelInX (const int ixbin) const
 
virtual bool isItBigPixelInY (const int iybin) const
 
virtual bool isItEdgePixel (int ixbin, int iybin) const
 
virtual bool isItEdgePixelInX (int ixbin) const
 
virtual bool isItEdgePixelInY (int iybin) const
 
virtual LocalError localError (const MeasurementPoint &, const MeasurementError &) const
 
virtual LocalError localError (const MeasurementPoint &mp, const MeasurementError &me, const Topology::LocalTrackPred &trkPred) const
 conversion taking also the predicted track state More...
 
virtual LocalPoint localPosition (const MeasurementPoint &) const
 
virtual LocalPoint localPosition (const MeasurementPoint &mp, const Topology::LocalTrackPred &trkPred) const
 conversion taking also the predicted track state More...
 
virtual float localX (const float mpX) const
 
virtual float localX (const float mpX, const Topology::LocalTrackPred &trkPred) const
 
virtual float localY (const float mpY) const
 
virtual float localY (const float mpY, const Topology::LocalTrackPred &trkPred) const
 
virtual MeasurementError measurementError (const LocalPoint &lp, const LocalError &le) const
 
virtual MeasurementError measurementError (const LocalPoint &lp, const LocalError &le, const Topology::LocalTrackAngles &dir) const
 conversion taking also the angle from the track state More...
 
virtual MeasurementPoint measurementPosition (const LocalPoint &) const
 
virtual MeasurementPoint measurementPosition (const LocalPoint &lp, const Topology::LocalTrackAngles &dir) const
 conversion taking also the angle from the track state More...
 
virtual int ncolumns () const
 
virtual int nrows () const
 
virtual std::pair< float, float > pitch () const
 
virtual std::pair< float, float > pixel (const LocalPoint &p) const
 
virtual std::pair< float, float > pixel (const LocalPoint &p, const Topology::LocalTrackAngles &ltp) const
 conversion taking also the angle from the track state More...
 
 ProxyPixelTopology (PixelGeomDetType const *type, Plane *bp)
 
virtual int rocsX () const
 
virtual int rocsY () const
 
virtual int rowsperroc () const
 
virtual void setSurfaceDeformation (const SurfaceDeformation *deformation)
 
virtual const PixelTopologyspecificTopology () const
 
virtual PixelGeomDetType const & specificType () const
 
const SurfaceDeformationsurfaceDeformation () const
 
virtual const GeomDetTypetype () const
 
- Public Member Functions inherited from PixelTopology
virtual ~PixelTopology ()
 
- Public Member Functions inherited from Topology
virtual ~Topology ()
 

Private Member Functions

SurfaceDeformation::Local2DVector positionCorrection (const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
 
SurfaceDeformation::Local2DVector positionCorrection (const Topology::LocalTrackPred &trk) const
 

Private Attributes

float theLength
 
std::unique_ptr< const SurfaceDeformationtheSurfaceDeformation
 
PixelGeomDetType const * theType
 
float theWidth
 

Additional Inherited Members

- Public Types inherited from Topology
typedef Point2DBase< double, LocalTagLocal2DPoint
 
typedef Vector2D::MathVector MathVector2D
 
typedef Basic2DVector< double > Vector2D
 

Detailed Description

Definition at line 28 of file ProxyPixelTopology.h.

Constructor & Destructor Documentation

ProxyPixelTopology::ProxyPixelTopology ( PixelGeomDetType const *  type,
Plane bp 
)

Definition at line 8 of file ProxyPixelTopology.cc.

9  :theType(type), theLength(bp->bounds().length()), theWidth(bp->bounds().width())
10 {
11 
12 }
type
Definition: HCALResponse.h:21
virtual float length() const =0
PixelGeomDetType const * theType
const Bounds & bounds() const
Definition: Surface.h:120
virtual float width() const =0

Member Function Documentation

int ProxyPixelTopology::channel ( const LocalPoint lp) const
virtual

Implements Topology.

Definition at line 91 of file ProxyPixelTopology.cc.

References Topology::channel(), and specificTopology().

92 {
93  return specificTopology().channel(lp);
94 }
virtual int channel(const LocalPoint &p) const =0
virtual const PixelTopology & specificTopology() const
int ProxyPixelTopology::channel ( const LocalPoint lp,
const Topology::LocalTrackAngles  
) const
virtual

conversion taking also the angle from the track state

Reimplemented from Topology.

Definition at line 97 of file ProxyPixelTopology.cc.

References Topology::channel(), corr, positionCorrection(), specificTopology(), surfaceDeformation(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

98 {
99  if (!this->surfaceDeformation()) return specificTopology().channel(lp);
100 
101  // subtract correction from SurfaceDeformation
103  const LocalPoint posOrig(lp.x() - corr.x(), lp.y() - corr.y(), lp.z());
104 
105  return specificTopology().channel(posOrig);
106 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
virtual int channel(const LocalPoint &p) const =0
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
const SurfaceDeformation * surfaceDeformation() const
dbl *** dir
Definition: mlp_gen.cc:35
T x() const
Definition: PV3DBase.h:62
virtual int ProxyPixelTopology::colsperroc ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 67 of file ProxyPixelTopology.h.

References PixelTopology::colsperroc(), localX(), localY(), and specificTopology().

67 { return specificTopology().colsperroc(); }
virtual int colsperroc() const =0
virtual const PixelTopology & specificTopology() const
virtual bool ProxyPixelTopology::containsBigPixelInX ( int  ixmin,
int  ixmax 
) const
inlinevirtual

Implements PixelTopology.

Definition at line 79 of file ProxyPixelTopology.h.

References PixelTopology::containsBigPixelInX(), and specificTopology().

79  {
80  return specificTopology().containsBigPixelInX(ixmin, ixmax);
81  }
virtual bool containsBigPixelInX(int ixmin, int ixmax) const =0
virtual const PixelTopology & specificTopology() const
virtual bool ProxyPixelTopology::containsBigPixelInY ( int  iymin,
int  iymax 
) const
inlinevirtual

Implements PixelTopology.

Definition at line 82 of file ProxyPixelTopology.h.

References PixelTopology::containsBigPixelInY(), and specificTopology().

82  {
83  return specificTopology().containsBigPixelInY(iymin, iymax);
84  }
virtual const PixelTopology & specificTopology() const
virtual bool containsBigPixelInY(int iymin, int iymax) const =0
virtual bool ProxyPixelTopology::isItBigPixelInX ( const int  ixbin) const
inlinevirtual

Implements PixelTopology.

Definition at line 73 of file ProxyPixelTopology.h.

References PixelTopology::isItBigPixelInX(), and specificTopology().

73  {
74  return specificTopology().isItBigPixelInX(ixbin);
75  }
virtual bool isItBigPixelInX(const int ixbin) const =0
virtual const PixelTopology & specificTopology() const
virtual bool ProxyPixelTopology::isItBigPixelInY ( const int  iybin) const
inlinevirtual

Implements PixelTopology.

Definition at line 76 of file ProxyPixelTopology.h.

References PixelTopology::isItBigPixelInY(), and specificTopology().

76  {
77  return specificTopology().isItBigPixelInY(iybin);
78  }
virtual bool isItBigPixelInY(const int iybin) const =0
virtual const PixelTopology & specificTopology() const
virtual bool ProxyPixelTopology::isItEdgePixel ( int  ixbin,
int  iybin 
) const
inlinevirtual

Implements PixelTopology.

Definition at line 92 of file ProxyPixelTopology.h.

References PixelTopology::isItEdgePixel(), and specificTopology().

92  {
93  return specificTopology().isItEdgePixel(ixbin, iybin);
94  }
virtual bool isItEdgePixel(int ixbin, int iybin) const =0
virtual const PixelTopology & specificTopology() const
virtual bool ProxyPixelTopology::isItEdgePixelInX ( int  ixbin) const
inlinevirtual

Implements PixelTopology.

Definition at line 86 of file ProxyPixelTopology.h.

References PixelTopology::isItEdgePixelInX(), and specificTopology().

86  {
87  return specificTopology().isItEdgePixelInX(ixbin);
88  }
virtual bool isItEdgePixelInX(int ixbin) const =0
virtual const PixelTopology & specificTopology() const
virtual bool ProxyPixelTopology::isItEdgePixelInY ( int  iybin) const
inlinevirtual

Implements PixelTopology.

Definition at line 89 of file ProxyPixelTopology.h.

References PixelTopology::isItEdgePixelInY(), and specificTopology().

89  {
90  return specificTopology().isItEdgePixelInY(iybin);
91  }
virtual bool isItEdgePixelInY(int iybin) const =0
virtual const PixelTopology & specificTopology() const
LocalError ProxyPixelTopology::localError ( const MeasurementPoint mp,
const MeasurementError me 
) const
virtual

Implements Topology.

Definition at line 34 of file ProxyPixelTopology.cc.

References Topology::localError(), and specificTopology().

36 {
37  return specificTopology().localError(mp, me);
38 }
virtual const PixelTopology & specificTopology() const
virtual LocalError localError(const MeasurementPoint &, const MeasurementError &) const =0
LocalError ProxyPixelTopology::localError ( const MeasurementPoint mp,
const MeasurementError me,
const Topology::LocalTrackPred trkPred 
) const
virtual

conversion taking also the predicted track state

Reimplemented from Topology.

Definition at line 41 of file ProxyPixelTopology.cc.

References Topology::localError(), and specificTopology().

44 {
45  // The topology knows to calculate the cartesian error from measurement frame.
46  // But assuming no uncertainty on the SurfaceDeformation variables,
47  // the errors do not change from a simple shift to compensate
48  // that the track 'sees' the surface at another place than it thinks...
49  return specificTopology().localError(mp, me);
50 }
virtual const PixelTopology & specificTopology() const
virtual LocalError localError(const MeasurementPoint &, const MeasurementError &) const =0
LocalPoint ProxyPixelTopology::localPosition ( const MeasurementPoint mp) const
virtual

Implements Topology.

Definition at line 15 of file ProxyPixelTopology.cc.

References Topology::localPosition(), and specificTopology().

Referenced by localPosition().

16 {
17  return specificTopology().localPosition(mp);
18 }
virtual const PixelTopology & specificTopology() const
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
LocalPoint ProxyPixelTopology::localPosition ( const MeasurementPoint mp,
const Topology::LocalTrackPred trkPred 
) const
virtual

conversion taking also the predicted track state

Reimplemented from Topology.

Definition at line 21 of file ProxyPixelTopology.cc.

References corr, localPosition(), Topology::localPosition(), positionCorrection(), specificTopology(), surfaceDeformation(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

23 {
24  if (!this->surfaceDeformation()) return specificTopology().localPosition(mp);
25 
26  // add correction from SurfaceDeformation
27  const LocalPoint posOld(specificTopology().localPosition(mp)); // 'original position'
29 
30  return LocalPoint(posOld.x()+corr.x(), posOld.y()+corr.y(), posOld.z());
31 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:32
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
virtual LocalPoint localPosition(const MeasurementPoint &) const
const SurfaceDeformation * surfaceDeformation() const
float ProxyPixelTopology::localX ( const float  mpX) const
virtual

Implements PixelTopology.

Definition at line 128 of file ProxyPixelTopology.cc.

References PixelTopology::localX(), and specificTopology().

Referenced by colsperroc().

129 {
130  return specificTopology().localX(mpX);
131 }
virtual float localX(const float mpX) const =0
virtual const PixelTopology & specificTopology() const
float ProxyPixelTopology::localX ( const float  mpX,
const Topology::LocalTrackPred trkPred 
) const
virtual

Reimplemented from PixelTopology.

Definition at line 134 of file ProxyPixelTopology.cc.

References corr, PixelTopology::localX(), positionCorrection(), specificTopology(), surfaceDeformation(), and PV2DBase< T, PVType, FrameType >::x().

136 {
137  if (!this->surfaceDeformation()) return specificTopology().localX(mpX);
138 
139  // add correction from SurfaceDeformation
140  float xOld = specificTopology().localX(mpX); // 'original position'
142 
143  return xOld + corr.x();
144 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
virtual float localX(const float mpX) const =0
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
const SurfaceDeformation * surfaceDeformation() const
float ProxyPixelTopology::localY ( const float  mpY) const
virtual

Implements PixelTopology.

Definition at line 147 of file ProxyPixelTopology.cc.

References PixelTopology::localY(), and specificTopology().

Referenced by colsperroc().

148 {
149  return specificTopology().localY(mpY);
150 }
virtual const PixelTopology & specificTopology() const
virtual float localY(const float mpY) const =0
float ProxyPixelTopology::localY ( const float  mpY,
const Topology::LocalTrackPred trkPred 
) const
virtual

Reimplemented from PixelTopology.

Definition at line 153 of file ProxyPixelTopology.cc.

References corr, PixelTopology::localY(), positionCorrection(), specificTopology(), surfaceDeformation(), and PV2DBase< T, PVType, FrameType >::y().

155 {
156  if (!this->surfaceDeformation()) return specificTopology().localY(mpY);
157 
158  // add correction from SurfaceDeformation
159  float yOld = specificTopology().localY(mpY); // 'original position'
161 
162  return yOld + corr.y();
163 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
const SurfaceDeformation * surfaceDeformation() const
virtual float localY(const float mpY) const =0
MeasurementError ProxyPixelTopology::measurementError ( const LocalPoint lp,
const LocalError le 
) const
virtual

Implements Topology.

Definition at line 72 of file ProxyPixelTopology.cc.

References Topology::measurementError(), and specificTopology().

73 {
74  return specificTopology().measurementError(lp, le);
75 }
virtual const PixelTopology & specificTopology() const
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
MeasurementError ProxyPixelTopology::measurementError ( const LocalPoint lp,
const LocalError le,
const Topology::LocalTrackAngles  
) const
virtual

conversion taking also the angle from the track state

Reimplemented from Topology.

Definition at line 78 of file ProxyPixelTopology.cc.

References corr, Topology::measurementError(), positionCorrection(), specificTopology(), surfaceDeformation(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

80 {
81  if (!this->surfaceDeformation()) return specificTopology().measurementError(lp, le);
82 
83  // subtract correction from SurfaceDeformation
85  const LocalPoint posOrig(lp.x() - corr.x(), lp.y() - corr.y(), lp.z());
86 
87  return specificTopology().measurementError(posOrig, le);
88 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
const SurfaceDeformation * surfaceDeformation() const
dbl *** dir
Definition: mlp_gen.cc:35
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
T x() const
Definition: PV3DBase.h:62
MeasurementPoint ProxyPixelTopology::measurementPosition ( const LocalPoint lp) const
virtual

Implements Topology.

Definition at line 53 of file ProxyPixelTopology.cc.

References Topology::measurementPosition(), and specificTopology().

54 {
56 }
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
virtual const PixelTopology & specificTopology() const
MeasurementPoint ProxyPixelTopology::measurementPosition ( const LocalPoint lp,
const Topology::LocalTrackAngles  
) const
virtual

conversion taking also the angle from the track state

Reimplemented from Topology.

Definition at line 59 of file ProxyPixelTopology.cc.

References corr, Topology::measurementPosition(), positionCorrection(), specificTopology(), surfaceDeformation(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

61 {
62  if (!this->surfaceDeformation()) return specificTopology().measurementPosition(lp);
63 
64  // subtract correction from SurfaceDeformation
66  const LocalPoint posOrig(lp.x() - corr.x(), lp.y() - corr.y(), lp.z());
67 
68  return specificTopology().measurementPosition(posOrig);
69 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
const SurfaceDeformation * surfaceDeformation() const
dbl *** dir
Definition: mlp_gen.cc:35
T x() const
Definition: PV3DBase.h:62
virtual int ProxyPixelTopology::ncolumns ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 63 of file ProxyPixelTopology.h.

References PixelTopology::ncolumns(), and specificTopology().

63 { return specificTopology().ncolumns(); }
virtual const PixelTopology & specificTopology() const
virtual int ncolumns() const =0
virtual int ProxyPixelTopology::nrows ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 62 of file ProxyPixelTopology.h.

References PixelTopology::nrows(), and specificTopology().

62 { return specificTopology().nrows(); }
virtual int nrows() const =0
virtual const PixelTopology & specificTopology() const
virtual std::pair<float,float> ProxyPixelTopology::pitch ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 61 of file ProxyPixelTopology.h.

References PixelTopology::pitch(), and specificTopology().

61 { return specificTopology().pitch(); }
virtual std::pair< float, float > pitch() const =0
virtual const PixelTopology & specificTopology() const
std::pair< float, float > ProxyPixelTopology::pixel ( const LocalPoint p) const
virtual

Implements PixelTopology.

Definition at line 109 of file ProxyPixelTopology.cc.

References PixelTopology::pixel(), and specificTopology().

110 {
111  return specificTopology().pixel(lp);
112 }
virtual std::pair< float, float > pixel(const LocalPoint &p) const =0
virtual const PixelTopology & specificTopology() const
std::pair< float, float > ProxyPixelTopology::pixel ( const LocalPoint p,
const Topology::LocalTrackAngles ltp 
) const
virtual

conversion taking also the angle from the track state

Reimplemented from PixelTopology.

Definition at line 115 of file ProxyPixelTopology.cc.

References corr, PixelTopology::pixel(), positionCorrection(), specificTopology(), surfaceDeformation(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

117 {
118  if (!this->surfaceDeformation()) return specificTopology().pixel(lp);
119 
120  // subtract correction from SurfaceDeformation
122  const LocalPoint posOrig(lp.x() - corr.x(), lp.y() - corr.y(), lp.z());
123 
124  return specificTopology().pixel(posOrig);
125 }
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
virtual std::pair< float, float > pixel(const LocalPoint &p) const =0
JetCorrectorParameters corr
Definition: classes.h:5
virtual const PixelTopology & specificTopology() const
const SurfaceDeformation * surfaceDeformation() const
dbl *** dir
Definition: mlp_gen.cc:35
SurfaceDeformation::Local2DVector ProxyPixelTopology::positionCorrection ( const LocalPoint pos,
const Topology::LocalTrackAngles dir 
) const
private

Internal method to get correction of the position from SurfaceDeformation, must not be called if 'theSurfaceDeformation' is a null pointer.

Definition at line 175 of file ProxyPixelTopology.cc.

References SurfaceDeformation::positionCorrection(), surfaceDeformation(), theLength, theWidth, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().

Referenced by channel(), localPosition(), localX(), localY(), measurementError(), measurementPosition(), pixel(), and specificTopology().

177 {
178  const SurfaceDeformation::Local2DPoint pos2D(pos.x(), pos.y());// change precision and dimension
179 
180  return this->surfaceDeformation()->positionCorrection(pos2D, dir,
182 }
virtual Local2DVector positionCorrection(const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const =0
T y() const
Definition: PV3DBase.h:63
const SurfaceDeformation * surfaceDeformation() const
T x() const
Definition: PV3DBase.h:62
SurfaceDeformation::Local2DVector ProxyPixelTopology::positionCorrection ( const Topology::LocalTrackPred trk) const
private

Internal method to get correction of the position from SurfaceDeformation, must not be called if 'theSurfaceDeformation' is a null pointer.

Definition at line 186 of file ProxyPixelTopology.cc.

References Topology::LocalTrackPred::angles(), Topology::LocalTrackPred::point(), SurfaceDeformation::positionCorrection(), surfaceDeformation(), theLength, and theWidth.

187 {
188  return this->surfaceDeformation()->positionCorrection(trk.point(), trk.angles(),
190 }
virtual Local2DVector positionCorrection(const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const =0
const LocalTrackAngles & angles() const
Definition: Topology.h:68
const Local2DPoint & point() const
Definition: Topology.h:67
const SurfaceDeformation * surfaceDeformation() const
virtual int ProxyPixelTopology::rocsX ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 65 of file ProxyPixelTopology.h.

References PixelTopology::rocsX(), and specificTopology().

65 { return specificTopology().rocsX(); }
virtual int rocsX() const =0
virtual const PixelTopology & specificTopology() const
virtual int ProxyPixelTopology::rocsY ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 64 of file ProxyPixelTopology.h.

References PixelTopology::rocsY(), and specificTopology().

64 { return specificTopology().rocsY(); }
virtual int rocsY() const =0
virtual const PixelTopology & specificTopology() const
virtual int ProxyPixelTopology::rowsperroc ( ) const
inlinevirtual

Implements PixelTopology.

Definition at line 66 of file ProxyPixelTopology.h.

References PixelTopology::rowsperroc(), and specificTopology().

66 { return specificTopology().rowsperroc(); }
virtual int rowsperroc() const =0
virtual const PixelTopology & specificTopology() const
void ProxyPixelTopology::setSurfaceDeformation ( const SurfaceDeformation deformation)
virtual

Definition at line 168 of file ProxyPixelTopology.cc.

References theSurfaceDeformation.

Referenced by surfaceDeformation().

169 {
170  theSurfaceDeformation.reset(deformation);
171 }
std::unique_ptr< const SurfaceDeformation > theSurfaceDeformation
virtual const PixelTopology& ProxyPixelTopology::specificTopology ( ) const
inlinevirtual
virtual PixelGeomDetType const& ProxyPixelTopology::specificType ( ) const
inlinevirtual

Definition at line 98 of file ProxyPixelTopology.h.

References theType.

Referenced by specificTopology().

98 { return *theType; }
PixelGeomDetType const * theType
const SurfaceDeformation* ProxyPixelTopology::surfaceDeformation ( ) const
inline

Definition at line 100 of file ProxyPixelTopology.h.

References setSurfaceDeformation(), and theSurfaceDeformation.

Referenced by channel(), localPosition(), localX(), localY(), measurementError(), measurementPosition(), pixel(), and positionCorrection().

100  {
101  return theSurfaceDeformation.operator->();
102  }
std::unique_ptr< const SurfaceDeformation > theSurfaceDeformation
virtual const GeomDetType& ProxyPixelTopology::type ( ) const
inlinevirtual

Definition at line 96 of file ProxyPixelTopology.h.

References theType.

96 { return *theType;}
PixelGeomDetType const * theType

Member Data Documentation

float ProxyPixelTopology::theLength
private

Definition at line 120 of file ProxyPixelTopology.h.

Referenced by positionCorrection().

std::unique_ptr<const SurfaceDeformation> ProxyPixelTopology::theSurfaceDeformation
private

Definition at line 121 of file ProxyPixelTopology.h.

Referenced by setSurfaceDeformation(), and surfaceDeformation().

PixelGeomDetType const* ProxyPixelTopology::theType
private

Definition at line 119 of file ProxyPixelTopology.h.

Referenced by specificType(), and type().

float ProxyPixelTopology::theWidth
private

Definition at line 120 of file ProxyPixelTopology.h.

Referenced by positionCorrection().