#include <RectangularMTDTopology.h>
Public Member Functions | |
int | channel (const LocalPoint &lp) const override |
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 |
LocalPoint | localPosition (const MeasurementPoint &mp) const override |
float | localX (const float mpX) const override |
float | localY (const float mpY) const override |
MeasurementError | measurementError (const LocalPoint &, const LocalError &) const override |
MeasurementPoint | measurementPosition (const LocalPoint &lp) const override |
LocalPoint | moduleToPixelLocalPoint (const LocalPoint &mlp) const |
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 |
LocalPoint | pixelToModuleLocalPoint (const LocalPoint &plp, int row, int col) const |
LocalPoint | pixelToModuleLocalPoint (const LocalPoint &plp, int channel) const |
RectangularMTDTopology (int nrows, int ncols, float pitchx, float pitchy, bool upgradeGeometry, int ROWS_PER_ROC, int COLS_PER_ROC, int BIG_PIX_PER_ROC_X, int BIG_PIX_PER_ROC_Y, int ROCS_X, int ROCS_Y) | |
int | rocsX () const override |
int | rocsY () const override |
int | rowsperroc () const override |
void | setOffset (const int &BIG_PIX_PER_ROC_X, const int &BIG_PIX_PER_ROC_Y, const int &ROWS_PER_ROC, const int &COLS_PER_ROC) |
float | xoffset () const |
float | yoffset () const |
Public Member Functions inherited from PixelTopology | |
virtual float | localX (const float mpX, const Topology::LocalTrackPred &) const |
virtual float | localY (const float mpY, const Topology::LocalTrackPred &) const |
virtual std::pair< float, float > | pixel (const LocalPoint &p, const Topology::LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
~PixelTopology () override | |
Public Member Functions inherited from Topology | |
virtual int | channel (const LocalPoint &lp, const LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
virtual LocalError | localError (const MeasurementPoint &mp, const MeasurementError &me, const LocalTrackPred &) const |
conversion taking also the angle from the predicted track state More... | |
virtual LocalPoint | localPosition (const MeasurementPoint &mp, const LocalTrackPred &) const |
conversion taking also the angle from the predicted track state More... | |
virtual MeasurementError | measurementError (const LocalPoint &lp, const LocalError &le, const LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
virtual MeasurementPoint | measurementPosition (const LocalPoint &lp, const LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
virtual | ~Topology () |
Private Attributes | |
int | m_COLS_PER_ROC |
int | m_ncols |
int | m_nrows |
float | m_pitchx |
float | m_pitchy |
int | m_ROCS_X |
int | m_ROCS_Y |
int | m_ROWS_PER_ROC |
bool | m_upgradeGeometry |
float | m_xoffset |
float | m_yoffset |
Additional Inherited Members | |
Public Types inherited from Topology | |
typedef Point2DBase< double, LocalTag > | Local2DPoint |
typedef Vector2D::MathVector | MathVector2D |
typedef Basic2DVector< double > | Vector2D |
Topology for rectangular pixel detector with BIG pixels.
Definition at line 40 of file RectangularMTDTopology.h.
|
inline |
Definition at line 45 of file RectangularMTDTopology.h.
References localPosition(), and setOffset().
|
inlineoverridevirtual |
Implements Topology.
Definition at line 98 of file RectangularMTDTopology.h.
References pixel(), and MTDChannelIdentifier::pixelToChannel().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 198 of file RectangularMTDTopology.h.
References m_COLS_PER_ROC.
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 149 of file RectangularMTDTopology.h.
References m_upgradeGeometry.
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 152 of file RectangularMTDTopology.h.
References isItBigPixelInY(), and m_upgradeGeometry.
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 132 of file RectangularMTDTopology.h.
References m_upgradeGeometry.
Referenced by localError().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 136 of file RectangularMTDTopology.h.
References m_upgradeGeometry, and UNLIKELY.
Referenced by containsBigPixelInY(), and localError().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 168 of file RectangularMTDTopology.h.
References isItEdgePixelInX(), and isItEdgePixelInY().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 162 of file RectangularMTDTopology.h.
References m_nrows.
Referenced by isItEdgePixel().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 165 of file RectangularMTDTopology.h.
References m_ncols.
Referenced by isItEdgePixel().
|
overridevirtual |
Implements Topology.
Definition at line 330 of file RectangularMTDTopology.cc.
References objects.autophobj::float, createfilelist::int, isItBigPixelInX(), isItBigPixelInY(), m_pitchx, m_pitchy, MeasurementError::uu(), MeasurementError::vv(), PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
Referenced by measurementPosition().
|
overridevirtual |
Implements Topology.
Definition at line 187 of file RectangularMTDTopology.cc.
References EPS, objects.autophobj::float, localX(), localY(), LogDebug, m_ncols, m_nrows, PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
Referenced by RectangularMTDTopology().
|
overridevirtual |
Implements PixelTopology.
Definition at line 233 of file RectangularMTDTopology.cc.
References objects.autophobj::float, createfilelist::int, LogDebug, m_pitchx, m_ROCS_X, m_ROWS_PER_ROC, m_upgradeGeometry, m_xoffset, and UNLIKELY.
Referenced by localPosition(), and pixelToModuleLocalPoint().
|
overridevirtual |
Implements PixelTopology.
Definition at line 289 of file RectangularMTDTopology.cc.
References begin, constexpr, end, objects.autophobj::float, createfilelist::int, LogDebug, m_COLS_PER_ROC, m_pitchy, m_ROCS_Y, m_upgradeGeometry, m_yoffset, and UNLIKELY.
Referenced by localPosition(), and pixelToModuleLocalPoint().
|
overridevirtual |
Implements Topology.
Definition at line 348 of file RectangularMTDTopology.cc.
References objects.autophobj::float, createfilelist::int, LIKELY, m_pitchx, m_pitchy, m_upgradeGeometry, m_xoffset, m_yoffset, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by measurementPosition().
|
inlineoverridevirtual |
Implements Topology.
Definition at line 77 of file RectangularMTDTopology.h.
References localError(), measurementError(), AlCaHLTBitMon_ParallelJobs::p, and pixel().
|
inline |
Definition at line 107 of file RectangularMTDTopology.h.
References createfilelist::int, m_pitchx, m_pitchy, m_xoffset, m_yoffset, pixel(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 182 of file RectangularMTDTopology.h.
References m_ncols.
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 178 of file RectangularMTDTopology.h.
References m_nrows.
Referenced by BTLTileDeviceSim::getHitsResponse(), and BTLBarDeviceSim::getHitsResponse().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 174 of file RectangularMTDTopology.h.
References objects.autophobj::float, m_pitchx, and m_pitchy.
Referenced by BTLBarDeviceSim::getHitsResponse().
|
overridevirtual |
Implements PixelTopology.
Definition at line 35 of file RectangularMTDTopology.cc.
References EPSCM, objects.autophobj::float, createfilelist::int, LogDebug, m_COLS_PER_ROC, m_pitchx, m_pitchy, m_upgradeGeometry, m_xoffset, m_yoffset, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by channel(), BTLTileDeviceSim::getHitsResponse(), BTLBarDeviceSim::getHitsResponse(), measurementPosition(), and moduleToPixelLocalPoint().
|
inline |
Definition at line 113 of file RectangularMTDTopology.h.
References m_pitchx, m_pitchy, m_xoffset, m_yoffset, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by BTLTileDeviceSim::getHitsResponse(), BTLBarDeviceSim::getHitsResponse(), and pixelToModuleLocalPoint().
|
inline |
Definition at line 118 of file RectangularMTDTopology.h.
References MTDChannelIdentifier::channelToPixel(), localX(), localY(), and pixelToModuleLocalPoint().
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 190 of file RectangularMTDTopology.h.
References m_ROCS_X.
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 186 of file RectangularMTDTopology.h.
References m_ROCS_Y.
|
inlineoverridevirtual |
Implements PixelTopology.
Definition at line 194 of file RectangularMTDTopology.h.
References m_ROWS_PER_ROC.
void RectangularMTDTopology::setOffset | ( | const int & | BIG_PIX_PER_ROC_X, |
const int & | BIG_PIX_PER_ROC_Y, | ||
const int & | ROWS_PER_ROC, | ||
const int & | COLS_PER_ROC | ||
) |
Topology for rectangular pixel detector with BIG pixels.
Definition at line 15 of file RectangularMTDTopology.cc.
References LogDebug, m_COLS_PER_ROC, m_ncols, m_nrows, m_pitchx, m_pitchy, m_ROCS_X, m_ROCS_Y, m_ROWS_PER_ROC, m_xoffset, and m_yoffset.
Referenced by RectangularMTDTopology().
|
inline |
|
inline |
|
private |
Definition at line 218 of file RectangularMTDTopology.h.
Referenced by colsperroc(), localY(), pixel(), and setOffset().
|
private |
Definition at line 216 of file RectangularMTDTopology.h.
Referenced by isItEdgePixelInY(), localPosition(), ncolumns(), and setOffset().
|
private |
Definition at line 215 of file RectangularMTDTopology.h.
Referenced by isItEdgePixelInX(), localPosition(), nrows(), and setOffset().
|
private |
Definition at line 211 of file RectangularMTDTopology.h.
Referenced by localError(), localX(), measurementError(), moduleToPixelLocalPoint(), pitch(), pixel(), pixelToModuleLocalPoint(), and setOffset().
|
private |
Definition at line 212 of file RectangularMTDTopology.h.
Referenced by localError(), localY(), measurementError(), moduleToPixelLocalPoint(), pitch(), pixel(), pixelToModuleLocalPoint(), and setOffset().
|
private |
Definition at line 219 of file RectangularMTDTopology.h.
Referenced by localX(), rocsX(), and setOffset().
|
private |
Definition at line 220 of file RectangularMTDTopology.h.
Referenced by localY(), rocsY(), and setOffset().
|
private |
Definition at line 217 of file RectangularMTDTopology.h.
Referenced by localX(), rowsperroc(), and setOffset().
|
private |
Definition at line 221 of file RectangularMTDTopology.h.
Referenced by containsBigPixelInX(), containsBigPixelInY(), isItBigPixelInX(), isItBigPixelInY(), localX(), localY(), measurementError(), and pixel().
|
private |
Definition at line 213 of file RectangularMTDTopology.h.
Referenced by localX(), measurementError(), moduleToPixelLocalPoint(), pixel(), pixelToModuleLocalPoint(), setOffset(), and xoffset().
|
private |
Definition at line 214 of file RectangularMTDTopology.h.
Referenced by localY(), measurementError(), moduleToPixelLocalPoint(), pixel(), pixelToModuleLocalPoint(), setOffset(), and yoffset().