CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/L1Trigger/RPCTrigger/interface/RPCTriggerConfiguration.h

Go to the documentation of this file.
00001 #ifndef L1Trigger_RPCTriggerConfiguration_h
00002 #define L1Trigger_RPCTriggerConfiguration_h
00003 
00009 #include "L1Trigger/RPCTrigger/interface/RPCPacData.h"
00010 
00011 //interface class for storing the geometry of trigger
00012 //f.e. which pac, or TB or TC should run given LogCone
00013 class RPCTriggerConfiguration {
00014 public:
00016   virtual int getTCsCnt() = 0;
00017 
00019   virtual int getTBsInTC() = 0;
00020 
00022   virtual int getTowerNumOnTb(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
00023 
00025   virtual const RPCPacData* getPac(const RPCConst::l1RpcConeCrdnts& coneCrdnts) const = 0;
00026 
00028   virtual int getTCNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
00029 
00031   virtual int getTBNum(const RPCConst::l1RpcConeCrdnts& coneCrdnts) = 0;
00032 
00034   virtual int getTowsCntOnTB(int tbNum) = 0;
00035 
00036   virtual int towAddr2TowNum(int towAddr) = 0;
00037 
00038   virtual int towNum2TowNum2Comp(int towNum) = 0;
00039 
00040   int getDebugLevel() const {
00041     return m_DebugLevel;
00042   }
00043 
00044   void setDebugLevel(int debgLevel) {
00045     m_DebugLevel = debgLevel;
00046   }
00047 
00048 private:
00049   int m_DebugLevel;
00050 };
00051 #endif