ATLAS Offline Software
|
#include <PixelMultipleConnection1D.h>
Public Member Functions | |
PixelMultipleConnection1D () | |
PixelMultipleConnection1D (const int lowerIndex, const std::vector< int > &connections) | |
Constructor with parameters: lower diode index for which the connection scheme is given vector containing, for each diode, the readout cell number to which the corresponding diode is connected. More... | |
void | set (const int lowerIndex, const std::vector< int > &connections) |
bool | outsideReadout (const int index) const |
Check if the readout cell is in the range; Also for index of gangedCell. More... | |
bool | outsideDiode (const int cell) const |
Check if the diode is in the range: More... | |
int | numberOfConnectedCells (const int index) const |
Return the number of diodes that are connected to this readout cell, Must check outsideReadout first. More... | |
int | connectedCell (const int index, unsigned int number) const |
Return the diode index corresponding the this readout. More... | |
int | readoutOfDiode (const int index) const |
Return readout cell id of this diode, Must check outsideDiode first. More... | |
int | gangedCell (const int index) const |
If the diode is gnaged return the other diode. More... | |
Private Member Functions | |
void | debugPrintout () |
Private Attributes | |
int | m_lowerDiode |
lower diode index to which it applies More... | |
int | m_upperDiode |
upper diode index to which it applies More... | |
int | m_lowerReadout |
lower cell to which it applies More... | |
int | m_upperReadout |
upper cell to which it applies More... | |
std::vector< std::vector< int > > | m_readoutToDiode |
connection table readout -> diodes More... | |
std::vector< int > | m_diodeToReadout |
connection table diode -> readout More... | |
std::vector< int > | m_diodeGanged |
connection table diode -> other diode. More... | |
Class used to handle connection of multiple diodes to the same readout cell
Definition at line 27 of file PixelMultipleConnection1D.h.
InDetDD::PixelMultipleConnection1D::PixelMultipleConnection1D | ( | ) |
Definition at line 31 of file PixelMultipleConnection1D.cxx.
InDetDD::PixelMultipleConnection1D::PixelMultipleConnection1D | ( | const int | lowerIndex, |
const std::vector< int > & | connections | ||
) |
Constructor with parameters: lower diode index for which the connection scheme is given vector containing, for each diode, the readout cell number to which the corresponding diode is connected.
Definition at line 21 of file PixelMultipleConnection1D.cxx.
|
inline |
Return the diode index corresponding the this readout.
number 0 will return the primary cell (ie diode index = readout cell index) Must check outsideReadout first.
Definition at line 111 of file PixelMultipleConnection1D.h.
|
private |
Definition at line 111 of file PixelMultipleConnection1D.cxx.
|
inline |
If the diode is gnaged return the other diode.
If the diode is not ganged return the same diode. Must check outsideReadout first.
Definition at line 121 of file PixelMultipleConnection1D.h.
|
inline |
Return the number of diodes that are connected to this readout cell, Must check outsideReadout first.
Definition at line 106 of file PixelMultipleConnection1D.h.
|
inline |
Check if the diode is in the range:
Definition at line 100 of file PixelMultipleConnection1D.h.
|
inline |
Check if the readout cell is in the range; Also for index of gangedCell.
Definition at line 94 of file PixelMultipleConnection1D.h.
|
inline |
Return readout cell id of this diode, Must check outsideDiode first.
Definition at line 116 of file PixelMultipleConnection1D.h.
void InDetDD::PixelMultipleConnection1D::set | ( | const int | lowerIndex, |
const std::vector< int > & | connections | ||
) |
Definition at line 39 of file PixelMultipleConnection1D.cxx.
|
private |
connection table diode -> other diode.
Definition at line 81 of file PixelMultipleConnection1D.h.
|
private |
connection table diode -> readout
Definition at line 80 of file PixelMultipleConnection1D.h.
|
private |
lower diode index to which it applies
Definition at line 75 of file PixelMultipleConnection1D.h.
|
private |
lower cell to which it applies
Definition at line 77 of file PixelMultipleConnection1D.h.
|
private |
connection table readout -> diodes
Definition at line 79 of file PixelMultipleConnection1D.h.
|
private |
upper diode index to which it applies
Definition at line 76 of file PixelMultipleConnection1D.h.
|
private |
upper cell to which it applies
Definition at line 78 of file PixelMultipleConnection1D.h.