File indexing completed on 2024-04-06 12:21:40
0001 #ifndef L1Trigger_RPCTriggerConfiguration_h
0002 #define L1Trigger_RPCTriggerConfiguration_h
0003
0004
0005
0006
0007
0008
0009 #include "L1Trigger/RPCTrigger/interface/RPCPacData.h"
0010
0011
0012
0013 class RPCTriggerConfiguration {
0014 public:
0015 virtual ~RPCTriggerConfiguration() = default;
0016
0017 virtual int getTCsCnt() = 0;
0018
0019
0020 virtual int getTBsInTC() = 0;
0021
0022
0023 virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
0024
0025
0026 virtual const RPCPacData* getPac(const RPCConst::l1RpcConeCrdnts& coneCrdnts) const = 0;
0027
0028
0029 virtual int getTCNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
0030
0031
0032 virtual int getTBNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
0033
0034
0035 virtual int getTowsCntOnTB(int tbNum) = 0;
0036
0037 virtual int towAddr2TowNum(int towAddr) = 0;
0038
0039 virtual int towNum2TowNum2Comp(int towNum) = 0;
0040
0041 int getDebugLevel() const { return m_DebugLevel; }
0042
0043 void setDebugLevel(int debgLevel) { m_DebugLevel = debgLevel; }
0044
0045 private:
0046 int m_DebugLevel;
0047 };
0048 #endif