test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual int getTCsCnt();
22 
24  virtual int getTBsInTC();
25 
28  virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts& coneCrdnts);
29 
31  virtual const RPCPacData* getPac(const RPCConst::l1RpcConeCrdnts& coneCrdnts) const;
32 
34  virtual int getTCNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts);
35 
37  virtual int getTBNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts);
38 
40  virtual int getTowsCntOnTB(int tbNum);
41 
45  virtual int towAddr2TowNum(int towAddr);
46 
49  virtual int towNum2TowNum2Comp(int towNum);
50 
51  virtual ~RPCBasicTrigConfig() {}
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
virtual int towAddr2TowNum(int towAddr)
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:119
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]
static const int m_TOWER_ON_TB[2 *RPCConst::ITOW_MAX+1+1]
static const int m_TOW_ADDR_2_TOW_NUM[36]
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.
Maximal number of abs(m_tower_number)
Definition: RPCConst.h:29
static const int m_TRIGGER_CRATES_CNT