|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONMDT_CABLING_HEDGEHOGBOARD_H
5 #define MUONMDT_CABLING_HEDGEHOGBOARD_H
37 using Mapping = std::array<uint8_t, nChPerBoard>;
71 ostr<<
"layer: "<<
static_cast<int>(tubeLay.
layer)
72 <<
", tube: "<<
static_cast<int>(tubeLay.
tube);
bool operator==(const TubeLayer &other) const
Equality operator with another TubeLayer object.
TubeLayer twinPair(const TubeLayer &tubeLay) const
Returns the tube & layer short circuited with the given tubeLayer.
HedgehogBoard()=default
Default constructor.
void setHVDelayTime(const double hvTime)
Define a HV delay in the time of arrival between the primary & twin electronics signal.
friend std::ostream & operator<<(std::ostream &ostr, const TubeLayer &tubeLay)
std::optional< double > m_hvDelay
bool operator<(const HedgehogBoard &other) const
Ordering of hedgehog boards, performed by Identifier.
uint8_t pinNumber(const TubeLayer &tubeLay) const
Returns the pinNumber of the tubeLayer.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
uint8_t pairPin(const TubeLayer &tubeLay) const
Returns the number of the pin that's twin to the tubeLayer If the pin is not short circuited,...
std::array< uint8_t, nChPerBoard > Mapping
uint16_t boardId() const
Returns the identifier of the hedgehog board.
uint8_t layer
Layer number [1- numTubeLayers()].
Helper struct to represent the High-voltage pins and a possible connection between them.
std::shared_ptr< const HedgehogBoard > HedgehogBoardPtr
bool operator!=(const TubeLayer &other) const
Inequality operator with another TubeLayer object.
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
const Mapping & data() const
Returns the underlying map.
static constexpr unsigned nChPerBoard
double hvDelayTime() const
Returns the HV delay time.
Helper struct to return a tube & tube layer pair.
bool hasHVDelayTime() const
Returns whether the HedgehogBoard has a specifc delay time.
uint8_t numTubeLayers() const
Returns the number of tube layers 3 or 4.
uint8_t tube
Tube number [1- 24/numTubeLayers()].
uint8_t numTubesPerLayer() const
Returns the number of tubes per layer.