CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:
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
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:118
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 ~RPCTriggerConfiguration()=default
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