45 static constexpr short NDDL = 14;
66 static void ddlToCrorcLink(
short iddl,
short& flp,
short& crorc,
short& link)
105 link = (iddl - 6) % 4;
112 static bool isTRUReadoutchannel(
short hwAddress) {
return (hwAddress < 112) || (hwAddress >= 2048 && hwAddress < 2048 + 112); }
123 std::string mPath =
"";
124 bool mInitialized =
false;
125 bool mInvInitialized =
false;
Checks validity of hardware address (HW) and transform it to digit AbsId index.
static constexpr short NDDL
Total number of DDLs.
static constexpr short NMaxHWAddress
Maximal HW address (size of array)
ErrorStatus constructAbsToHWMatrix()
Construct vector for conversion only if necessary.
static Mapping * Instance()
static constexpr short NTRUBranchReadoutChannels
Number of TRU readout channels per branch.
static bool isTRUReadoutchannel(short hwAddress)
static constexpr short NHWPERDDL
Number of HW addressed per DDL.
static constexpr short NCHANNELS
Number of channels starting from 1.
static constexpr short TRUFinalProductionChannel
ErrorStatus hwToAbsId(short ddl, short hw, short &absId, CaloFlag &caloFlag) const
convert hardware address to absId and caloFlag
static void ddlToCrorcLink(short iddl, short &flp, short &crorc, short &link)
convert ddl number to crorc and link number
ErrorStatus absIdTohw(short absId, short caloFlag, short &ddl, short &hwAddr) const
convert absId and caloflag to hardware address and ddl
static constexpr short NTRUReadoutChannels
Total number of TRU readout channels.
GLsizei const GLchar *const * path
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...