test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
16  virtual int getTCsCnt() = 0;
17 
19  virtual int getTBsInTC() = 0;
20 
22  virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
23 
25  virtual const RPCPacData* getPac(const RPCConst::l1RpcConeCrdnts& coneCrdnts) const = 0;
26 
28  virtual int getTCNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
29 
31  virtual int getTBNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
32 
34  virtual int getTowsCntOnTB(int tbNum) = 0;
35 
36  virtual int towAddr2TowNum(int towAddr) = 0;
37 
38  virtual int towNum2TowNum2Comp(int towNum) = 0;
39 
40  int getDebugLevel() const {
41  return m_DebugLevel;
42  }
43 
44  void setDebugLevel(int debgLevel) {
45  m_DebugLevel = debgLevel;
46  }
47 
48 private:
50 };
51 #endif
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:119
virtual int getTBsInTC()=0
returns number og Trigger Boards in one Trigger Crate.
virtual int getTCsCnt()=0
returns count of Trigger Crates in system.
virtual int getTBNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
Returns the index of TB (in TC) that should run given LogCone.
virtual int towAddr2TowNum(int towAddr)=0
virtual const RPCPacData * getPac(const RPCConst::l1RpcConeCrdnts &coneCrdnts) const =0
Returns pointer to m_PAC that should run given LogCone.
virtual int getTowsCntOnTB(int tbNum)=0
Returns the count of Towers, that are covered by given TB .
virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
void setDebugLevel(int debgLevel)
virtual int getTCNum(const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
Returns the index of TC that should run given LogCone.
virtual int towNum2TowNum2Comp(int towNum)=0