20 return 0x3F + towNum + 1;
65 throw RPCException(
"RPCBasicTrigConfig::towAddr2TowNum - wrong towAddr");
114 4, 4, 4, 3, 3, 3, 4, 4, 4
119 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4,4,4,5,5,5,6,6,6,6,7, 7, 7, 7, 8, 8, 8, 8
124 -16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5, -4, -3, -2,-99, -1, 0,
126 1,-99, 2, 3, 4,-99, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
int getTBsInTC() override
returns number og Trigger Boards in one Trigger Crate.
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
int getTCNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts) override
Returns the index of TC that should run given LogCone.
static const int m_TOWERS_CNT_ON_TB[m_TB_IN_TC_CNT]
int getTowsCntOnTB(int tbNum) override
Returns the count of Towers (3 or 4), that are covered by given TB.
int towAddr2TowNum(int towAddr) override
RPCBasicTrigConfig()
Ctor.
static const int m_TOWER_ON_TB[2 *RPCConst::ITOW_MAX+1+1]
static const int m_TOW_ADDR_2_TOW_NUM[36]
const RPCPacData * getPac(const RPCConst::l1RpcConeCrdnts &coneCrdnts) const override
Returns pointer to m_PAC that should run given LogCone. The PACs are holded by L1PacManager.
TPacType * getPac(int m_tower, int logSector, int logSegment) const
static const int m_TB_IN_TC_CNT
int towNum2TowNum2Comp(int towNum) override
int getTBNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts) override
Returns the index of TB (in TC) that should run given LogCone.
static const int m_TB_NUM_FOR_TOWER[2 *RPCConst::ITOW_MAX+1]
Maximal number of abs(m_tower_number)
RPCPacManager< RPCPacData > * m_PacManager
int getTCsCnt() override
returns count of Trigger Crates in system.
int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts &coneCrdnts) override
static const int m_TRIGGER_CRATES_CNT