CMS 3D CMS Logo

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

#include <ProxyMTDTopology.h>

Inheritance diagram for ProxyMTDTopology:
PixelTopology Topology

Public Member Functions

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

Constructor & Destructor Documentation

ProxyMTDTopology::ProxyMTDTopology ( MTDGeomDetType const *  type,
Plane bp 
)

Definition at line 8 of file ProxyMTDTopology.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
const Bounds & bounds() const
Definition: Surface.h:120
virtual float width() const =0
MTDGeomDetType const * theType

Member Function Documentation

int ProxyMTDTopology::channel ( const LocalPoint lp) const
overridevirtual

Implements Topology.

Definition at line 91 of file ProxyMTDTopology.cc.

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

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

conversion taking also the angle from the track state

Reimplemented from Topology.

Definition at line 97 of file ProxyMTDTopology.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 }
T y() const
Definition: PV3DBase.h:63
const SurfaceDeformation * surfaceDeformation() const
T z() const
Definition: PV3DBase.h:64
virtual const PixelTopology & specificTopology() const
virtual int channel(const LocalPoint &p) const =0
JetCorrectorParameters corr
Definition: classes.h:5
dbl *** dir
Definition: mlp_gen.cc:35
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
T x() const
Definition: PV3DBase.h:62
int ProxyMTDTopology::colsperroc ( ) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 67 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 79 of file ProxyMTDTopology.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
bool ProxyMTDTopology::containsBigPixelInY ( int  iymin,
int  iymax 
) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 82 of file ProxyMTDTopology.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
bool ProxyMTDTopology::isItBigPixelInX ( const int  ixbin) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 73 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 76 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 92 of file ProxyMTDTopology.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
bool ProxyMTDTopology::isItEdgePixelInX ( int  ixbin) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 86 of file ProxyMTDTopology.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
bool ProxyMTDTopology::isItEdgePixelInY ( int  iybin) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 89 of file ProxyMTDTopology.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 ProxyMTDTopology::localError ( const MeasurementPoint mp,
const MeasurementError me 
) const
overridevirtual

Implements Topology.

Definition at line 34 of file ProxyMTDTopology.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 ProxyMTDTopology::localError ( const MeasurementPoint mp,
const MeasurementError me,
const Topology::LocalTrackPred trkPred 
) const
overridevirtual

conversion taking also the predicted track state

Reimplemented from Topology.

Definition at line 41 of file ProxyMTDTopology.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 ProxyMTDTopology::localPosition ( const MeasurementPoint mp) const
overridevirtual

Implements Topology.

Definition at line 15 of file ProxyMTDTopology.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 ProxyMTDTopology::localPosition ( const MeasurementPoint mp,
const Topology::LocalTrackPred trkPred 
) const
overridevirtual

conversion taking also the predicted track state

Reimplemented from Topology.

Definition at line 21 of file ProxyMTDTopology.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 }
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:32
LocalPoint localPosition(const MeasurementPoint &) const override
const SurfaceDeformation * surfaceDeformation() const
virtual const PixelTopology & specificTopology() const
JetCorrectorParameters corr
Definition: classes.h:5
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
float ProxyMTDTopology::localX ( const float  mpX) const
overridevirtual

Implements PixelTopology.

Definition at line 128 of file ProxyMTDTopology.cc.

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

Referenced by colsperroc().

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

Reimplemented from PixelTopology.

Definition at line 134 of file ProxyMTDTopology.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 }
const SurfaceDeformation * surfaceDeformation() const
virtual const PixelTopology & specificTopology() const
virtual float localX(float mpX) const =0
JetCorrectorParameters corr
Definition: classes.h:5
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
float ProxyMTDTopology::localY ( const float  mpY) const
overridevirtual

Implements PixelTopology.

Definition at line 147 of file ProxyMTDTopology.cc.

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

Referenced by colsperroc().

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

Reimplemented from PixelTopology.

Definition at line 153 of file ProxyMTDTopology.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 }
const SurfaceDeformation * surfaceDeformation() const
virtual const PixelTopology & specificTopology() const
JetCorrectorParameters corr
Definition: classes.h:5
virtual float localY(float mpY) const =0
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
MeasurementError ProxyMTDTopology::measurementError ( const LocalPoint lp,
const LocalError le 
) const
overridevirtual

Implements Topology.

Definition at line 72 of file ProxyMTDTopology.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 ProxyMTDTopology::measurementError ( const LocalPoint lp,
const LocalError le,
const Topology::LocalTrackAngles  
) const
overridevirtual

conversion taking also the angle from the track state

Reimplemented from Topology.

Definition at line 78 of file ProxyMTDTopology.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 }
T y() const
Definition: PV3DBase.h:63
const SurfaceDeformation * surfaceDeformation() const
T z() const
Definition: PV3DBase.h:64
virtual const PixelTopology & specificTopology() const
JetCorrectorParameters corr
Definition: classes.h:5
dbl *** dir
Definition: mlp_gen.cc:35
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
T x() const
Definition: PV3DBase.h:62
MeasurementPoint ProxyMTDTopology::measurementPosition ( const LocalPoint lp) const
overridevirtual

Implements Topology.

Definition at line 53 of file ProxyMTDTopology.cc.

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

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

conversion taking also the angle from the track state

Reimplemented from Topology.

Definition at line 59 of file ProxyMTDTopology.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 }
T y() const
Definition: PV3DBase.h:63
const SurfaceDeformation * surfaceDeformation() const
T z() const
Definition: PV3DBase.h:64
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
virtual const PixelTopology & specificTopology() const
JetCorrectorParameters corr
Definition: classes.h:5
dbl *** dir
Definition: mlp_gen.cc:35
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
T x() const
Definition: PV3DBase.h:62
int ProxyMTDTopology::ncolumns ( ) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 63 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 62 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 61 of file ProxyMTDTopology.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 > ProxyMTDTopology::pixel ( const LocalPoint p) const
overridevirtual

Implements PixelTopology.

Definition at line 109 of file ProxyMTDTopology.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 > ProxyMTDTopology::pixel ( const LocalPoint p,
const Topology::LocalTrackAngles ltp 
) const
overridevirtual

conversion taking also the angle from the track state

Reimplemented from PixelTopology.

Definition at line 115 of file ProxyMTDTopology.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 }
virtual std::pair< float, float > pixel(const LocalPoint &p) const =0
const SurfaceDeformation * surfaceDeformation() const
virtual const PixelTopology & specificTopology() const
JetCorrectorParameters corr
Definition: classes.h:5
dbl *** dir
Definition: mlp_gen.cc:35
SurfaceDeformation::Local2DVector positionCorrection(const LocalPoint &pos, const Topology::LocalTrackAngles &dir) const
SurfaceDeformation::Local2DVector ProxyMTDTopology::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 ProxyMTDTopology.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 ProxyMTDTopology::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 ProxyMTDTopology.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 SurfaceDeformation * surfaceDeformation() const
const LocalTrackAngles & angles() const
Definition: Topology.h:68
const Local2DPoint & point() const
Definition: Topology.h:67
int ProxyMTDTopology::rocsX ( ) const
inlineoverridevirtual

Implements PixelTopology.

Definition at line 65 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 64 of file ProxyMTDTopology.h.

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

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

Implements PixelTopology.

Definition at line 66 of file ProxyMTDTopology.h.

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

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

Definition at line 168 of file ProxyMTDTopology.cc.

References theSurfaceDeformation.

Referenced by surfaceDeformation().

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

Definition at line 98 of file ProxyMTDTopology.h.

References theType.

Referenced by specificTopology().

98 { return *theType; }
MTDGeomDetType const * theType
const SurfaceDeformation* ProxyMTDTopology::surfaceDeformation ( ) const
inline

Definition at line 100 of file ProxyMTDTopology.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& ProxyMTDTopology::type ( ) const
inlinevirtual

Definition at line 96 of file ProxyMTDTopology.h.

References theType.

96 { return *theType;}
MTDGeomDetType const * theType

Member Data Documentation

float ProxyMTDTopology::theLength
private

Definition at line 120 of file ProxyMTDTopology.h.

Referenced by positionCorrection().

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

Definition at line 121 of file ProxyMTDTopology.h.

Referenced by setSurfaceDeformation(), and surfaceDeformation().

MTDGeomDetType const* ProxyMTDTopology::theType
private

Definition at line 119 of file ProxyMTDTopology.h.

Referenced by twikiExport.Constituent::__str__(), specificType(), and type().

float ProxyMTDTopology::theWidth
private

Definition at line 120 of file ProxyMTDTopology.h.

Referenced by positionCorrection().