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
RPCPacManager.h
MessageLogger.h
RPCTriggerConfiguration.h
RPCBasicTrigConfig::towNum2TowNum2Comp
int towNum2TowNum2Comp(int towNum) override
Definition: RPCBasicTrigConfig.cc:12
RPCBasicTrigConfig::m_TOWERS_CNT_ON_TB
static const int m_TOWERS_CNT_ON_TB[m_TB_IN_TC_CNT]
Definition: RPCBasicTrigConfig.h:60
RPCBasicTrigConfig::m_TB_NUM_FOR_TOWER
static const int m_TB_NUM_FOR_TOWER[2 *RPCConst::ITOW_MAX+1]
Definition: RPCBasicTrigConfig.h:62
RPCBasicTrigConfig::m_TRIGGER_CRATES_CNT
static const int m_TRIGGER_CRATES_CNT
Definition: RPCBasicTrigConfig.h:54
RPCConst.h
RPCBasicTrigConfig::~RPCBasicTrigConfig
~RPCBasicTrigConfig() override
Definition: RPCBasicTrigConfig.h:51
RPCConst::l1RpcConeCrdnts
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:118
RPCBasicTrigConfig::m_TOW_ADDR_2_TOW_NUM
static const int m_TOW_ADDR_2_TOW_NUM[36]
Definition: RPCBasicTrigConfig.h:64
RPCBasicTrigConfig::getTBNum
int getTBNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts) override
Returns the index of TB (in TC) that should run given LogCone.
Definition: RPCBasicTrigConfig.cc:71
RPCConst::ITOW_MAX
Maximal number of abs(m_tower_number)
Definition: RPCConst.h:27
RPCBasicTrigConfig::getTCNum
int getTCNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts) override
Returns the index of TC that should run given LogCone.
Definition: RPCBasicTrigConfig.cc:44
RPCBasicTrigConfig::getTowerNumOnTb
int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts &coneCrdnts) override
Definition: RPCBasicTrigConfig.cc:63
RPCBasicTrigConfig
Definition: RPCBasicTrigConfig.h:14
RPCBasicTrigConfig::m_TB_IN_TC_CNT
static const int m_TB_IN_TC_CNT
Definition: RPCBasicTrigConfig.h:56
RPCBasicTrigConfig::m_TOWER_ON_TB
static const int m_TOWER_ON_TB[2 *RPCConst::ITOW_MAX+1+1]
Definition: RPCBasicTrigConfig.h:58
RPCBasicTrigConfig::getPac
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.
Definition: RPCBasicTrigConfig.cc:67
RPCBasicTrigConfig::getTCsCnt
int getTCsCnt() override
returns count of Trigger Crates in system.
Definition: RPCBasicTrigConfig.cc:29
RPCBasicTrigConfig::m_PacManager
RPCPacManager< RPCPacData > * m_PacManager
Definition: RPCBasicTrigConfig.h:66
RPCBasicTrigConfig::getTBsInTC
int getTBsInTC() override
returns number og Trigger Boards in one Trigger Crate.
Definition: RPCBasicTrigConfig.cc:36
RPCTriggerConfiguration
Definition: RPCTriggerConfiguration.h:13
RPCBasicTrigConfig::RPCBasicTrigConfig
RPCBasicTrigConfig()
Ctor.
Definition: RPCBasicTrigConfig.cc:8
RPCBasicTrigConfig::towAddr2TowNum
int towAddr2TowNum(int towAddr) override
Definition: RPCBasicTrigConfig.cc:54
RPCPacData
Definition: RPCPacData.h:33
RPCPacManager< RPCPacData >
RPCBasicTrigConfig::getTowsCntOnTB
int getTowsCntOnTB(int tbNum) override
Returns the count of Towers (3 or 4), that are covered by given TB.
Definition: RPCBasicTrigConfig.cc:50