CMS 3D CMS Logo

RPCTriggerConfiguration.h
Go to the documentation of this file.
1 #ifndef L1Trigger_RPCTriggerConfiguration_h
2 #define L1Trigger_RPCTriggerConfiguration_h
3 
10 
11 //interface class for storing the geometry of trigger
12 //f.e. which pac, or TB or TC should run given LogCone
14 public:
15  virtual ~RPCTriggerConfiguration() = default;
17  virtual int getTCsCnt() = 0;
18 
20  virtual int getTBsInTC() = 0;
21 
23  virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
24 
26  virtual const RPCPacData* getPac(const RPCConst::l1RpcConeCrdnts& coneCrdnts) const = 0;
27 
29  virtual int getTCNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
30 
32  virtual int getTBNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
33 
35  virtual int getTowsCntOnTB(int tbNum) = 0;
36 
37  virtual int towAddr2TowNum(int towAddr) = 0;
38 
39  virtual int towNum2TowNum2Comp(int towNum) = 0;
40 
41  int getDebugLevel() const { return m_DebugLevel; }
42 
43  void setDebugLevel(int debgLevel) { m_DebugLevel = debgLevel; }
44 
45 private:
47 };
48 #endif
RPCTriggerConfiguration::getTCNum
virtual int getTCNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
Returns the index of TC that should run given LogCone.
RPCTriggerConfiguration::towNum2TowNum2Comp
virtual int towNum2TowNum2Comp(int towNum)=0
RPCTriggerConfiguration::getDebugLevel
int getDebugLevel() const
Definition: RPCTriggerConfiguration.h:41
RPCTriggerConfiguration::m_DebugLevel
int m_DebugLevel
Definition: RPCTriggerConfiguration.h:46
RPCTriggerConfiguration::getTBsInTC
virtual int getTBsInTC()=0
returns number og Trigger Boards in one Trigger Crate.
RPCTriggerConfiguration::getTCsCnt
virtual int getTCsCnt()=0
returns count of Trigger Crates in system.
RPCConst::l1RpcConeCrdnts
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:118
RPCTriggerConfiguration::getTBNum
virtual int getTBNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
Returns the index of TB (in TC) that should run given LogCone.
RPCTriggerConfiguration::towAddr2TowNum
virtual int towAddr2TowNum(int towAddr)=0
RPCTriggerConfiguration::~RPCTriggerConfiguration
virtual ~RPCTriggerConfiguration()=default
RPCTriggerConfiguration::getPac
virtual const RPCPacData * getPac(const RPCConst::l1RpcConeCrdnts &coneCrdnts) const =0
Returns pointer to m_PAC that should run given LogCone.
RPCPacData.h
RPCTriggerConfiguration::setDebugLevel
void setDebugLevel(int debgLevel)
Definition: RPCTriggerConfiguration.h:43
RPCTriggerConfiguration::getTowerNumOnTb
virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
RPCTriggerConfiguration::getTowsCntOnTB
virtual int getTowsCntOnTB(int tbNum)=0
Returns the count of Towers, that are covered by given TB .
RPCTriggerConfiguration
Definition: RPCTriggerConfiguration.h:13
RPCPacData
Definition: RPCPacData.h:33