12#ifndef READOUTGEOMETRYBASE_PIXELMULTIPLECONNECTION1D_H
13#define READOUTGEOMETRYBASE_PIXELMULTIPLECONNECTION1D_H
43 void set(
const int lowerIndex,
const std::vector<int> &connections);
int m_lowerDiode
lower diode index to which it applies
int gangedCell(const int index) const
If the diode is gnaged return the other diode.
bool outsideReadout(const int index) const
Check if the readout cell is in the range; Also for index of gangedCell.
std::vector< int > m_diodeGanged
connection table diode -> other diode.
bool outsideDiode(const int cell) const
Check if the diode is in the range:
int m_upperReadout
upper cell to which it applies
void set(const int lowerIndex, const std::vector< int > &connections)
int m_upperDiode
upper diode index to which it applies
std::vector< std::vector< int > > m_readoutToDiode
connection table readout -> diodes
int connectedCell(const int index, unsigned int number) const
Return the diode index corresponding the this readout.
PixelMultipleConnection1D()
int m_lowerReadout
lower cell to which it applies
int numberOfConnectedCells(const int index) const
Return the number of diodes that are connected to this readout cell, Must check outsideReadout first.
int readoutOfDiode(const int index) const
Return readout cell id of this diode, Must check outsideDiode first.
std::vector< int > m_diodeToReadout
connection table diode -> readout
std::string number(const double &d, const std::string &s)