|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef READOUTGEOMETRYBASE_PIXELDIODEMATRIX_H
10 #define READOUTGEOMETRYBASE_PIXELDIODEMATRIX_H
111 std::shared_ptr<const PixelDiodeMatrix> lowerCell,
112 std::shared_ptr<const PixelDiodeMatrix> middleCells,
114 std::shared_ptr<const PixelDiodeMatrix> upperCells);
167 std::shared_ptr<const PixelDiodeMatrix> lowerCell,
168 std::shared_ptr<const PixelDiodeMatrix> middleCells,
170 std::shared_ptr<const PixelDiodeMatrix> upperCells);
232 #endif //READOUTGEOMETRYBASE_PIXELDIODEMATRIX_H
double phiWidth() const
Width in phi (x) direction.
double phiWidthInverse() const
Inverse of width in phi (x) direction.
std::shared_ptr< const PixelDiodeMatrix > m_upperCell
Eigen::Matrix< double, 2, 1 > Vector2D
double etaWidth() const
Width in eta (y) direction.
double etaWidthInverse() const
Inverse of width in eta (y) direction.
std::string createDebugStringRepr() const
Create debug representation.
~PixelDiodeMatrix()=default
Destructor.
static std::shared_ptr< const PixelDiodeMatrix > construct(double phiWidth, double etaWidth)
Construct method for just a single cell.
PixelDiodeMatrix()
Hidden constructor.
int phiCells() const
Number of cells in phi (x) direction.
const PixelDiodeMatrix * cellIdOfPosition(const Amg::Vector2D &position, SiCellId &cellId) const
Return cell Id corresponding to a relative position within the matrix.
std::shared_ptr< const PixelDiodeMatrix > m_lowerCell
const PixelDiodeMatrix * positionOfCell(const SiCellId &cellId, Amg::Vector2D &position) const
Return position correspong to cell with relative id withing the matrix.
int etaCells() const
Number of cells in eta (y) direction.
std::shared_ptr< const PixelDiodeMatrix > m_middleCells
void initialize(double phiWidth, double etaWidth)
Initialize for just a single cell.
bool singleCell() const
Query wether the matrix is just a single cell.