CMS 3D CMS Logo

RPCBasicTrigConfig.h
Go to the documentation of this file.
1 #ifndef L1Trigger_RPCBasicTrigConfig_h
2 #define L1Trigger_RPCBasicTrigConfig_h
3 
4 #ifndef _STAND_ALONE
6 #endif //_STAND_ALONE
7 
12 //#include "L1Trigger/RPCTrigger/interface/RPCException.h"
13 //---------------------------------------------------------------------------
15 public:
17 
19 
21  int getTCsCnt() override;
22 
24  int getTBsInTC() override;
25 
28  int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts& coneCrdnts) override;
29 
31  const RPCPacData* getPac(const RPCConst::l1RpcConeCrdnts& coneCrdnts) const override;
32 
34  int getTCNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) override;
35 
37  int getTBNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) override;
38 
40  int getTowsCntOnTB(int tbNum) override;
41 
45  int towAddr2TowNum(int towAddr) override;
46 
49  int towNum2TowNum2Comp(int towNum) override;
50 
51  ~RPCBasicTrigConfig() override {}
52 
53 private:
54  static const int m_TRIGGER_CRATES_CNT;
55 
56  static const int m_TB_IN_TC_CNT = 9;
57 
58  static const int m_TOWER_ON_TB[2 * RPCConst::ITOW_MAX + 1 +1];
59 
61 
62  static const int m_TB_NUM_FOR_TOWER[2 * RPCConst::ITOW_MAX + 1];
63 
64  static const int m_TOW_ADDR_2_TOW_NUM[36];
65 
67 };
68 #endif
int getTBsInTC() override
returns number og Trigger Boards in one Trigger Crate.
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:119
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.
Maximal number of abs(m_tower_number)
Definition: RPCConst.h:29
int towAddr2TowNum(int towAddr) override
static const int m_TOWER_ON_TB[2 *RPCConst::ITOW_MAX+1+1]
static const int m_TOW_ADDR_2_TOW_NUM[36]
~RPCBasicTrigConfig() override
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.
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]
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