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
virtual int towAddr2TowNum(int towAddr)
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
virtual const RPCPacData * getPac(const RPCConst::l1RpcConeCrdnts &coneCrdnts) const
Returns pointer to m_PAC that should run given LogCone. The PACs are holded by L1PacManager.
virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts &coneCrdnts)
static const int m_TOWERS_CNT_ON_TB[m_TB_IN_TC_CNT]
RPCBasicTrigConfig()
Ctor.
Maximal number of abs(m_tower_number)
static const int m_TOWER_ON_TB[2 *RPCConst::ITOW_MAX+1+1]
static const int m_TOW_ADDR_2_TOW_NUM[36]
TPacType * getPac(int m_tower, int logSector, int logSegment) const
virtual int getTBsInTC()
returns number og Trigger Boards in one Trigger Crate.
static const int m_TB_IN_TC_CNT
static const int m_TB_NUM_FOR_TOWER[2 *RPCConst::ITOW_MAX+1]
virtual int towNum2TowNum2Comp(int towNum)
RPCPacManager< RPCPacData > * m_PacManager
virtual int getTBNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts)
Returns the index of TB (in TC) that should run given LogCone.
virtual int getTCNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts)
Returns the index of TC that should run given LogCone.
virtual int getTowsCntOnTB(int tbNum)
Returns the count of Towers (3 or 4), that are covered by given TB.
virtual int getTCsCnt()
returns count of Trigger Crates in system.
static const int m_TRIGGER_CRATES_CNT