CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
RPCTriggerConfiguration Class Referenceabstract

#include <RPCTriggerConfiguration.h>

Inheritance diagram for RPCTriggerConfiguration:
RPCBasicTrigConfig

Public Member Functions

int getDebugLevel () const
 
virtual const RPCPacDatagetPac (const RPCConst::l1RpcConeCrdnts &coneCrdnts) const =0
 Returns pointer to m_PAC that should run given LogCone. More...
 
virtual int getTBNum (const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
 Returns the index of TB (in TC) that should run given LogCone. More...
 
virtual int getTBsInTC ()=0
 returns number og Trigger Boards in one Trigger Crate. More...
 
virtual int getTCNum (const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
 Returns the index of TC that should run given LogCone. More...
 
virtual int getTCsCnt ()=0
 returns count of Trigger Crates in system. More...
 
virtual int getTowerNumOnTb (const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
 
virtual int getTowsCntOnTB (int tbNum)=0
 Returns the count of Towers, that are covered by given TB . More...
 
void setDebugLevel (int debgLevel)
 
virtual int towAddr2TowNum (int towAddr)=0
 
virtual int towNum2TowNum2Comp (int towNum)=0
 
virtual ~RPCTriggerConfiguration ()=default
 

Private Attributes

int m_DebugLevel
 

Detailed Description

Interface for classes storing the configuration of hardware in m_PAC trigger system.

Author
Karol Bunkowski (Warsaw)

Definition at line 13 of file RPCTriggerConfiguration.h.

Constructor & Destructor Documentation

◆ ~RPCTriggerConfiguration()

virtual RPCTriggerConfiguration::~RPCTriggerConfiguration ( )
virtualdefault

Member Function Documentation

◆ getDebugLevel()

int RPCTriggerConfiguration::getDebugLevel ( ) const
inline

◆ getPac()

virtual const RPCPacData* RPCTriggerConfiguration::getPac ( const RPCConst::l1RpcConeCrdnts coneCrdnts) const
pure virtual

Returns pointer to m_PAC that should run given LogCone.

Implemented in RPCBasicTrigConfig.

Referenced by RPCTriggerBoard::RPCTriggerBoard().

◆ getTBNum()

virtual int RPCTriggerConfiguration::getTBNum ( const RPCConst::l1RpcConeCrdnts coneCrdnts)
pure virtual

Returns the index of TB (in TC) that should run given LogCone.

Implemented in RPCBasicTrigConfig.

Referenced by RPCTriggerCrate::runCone().

◆ getTBsInTC()

virtual int RPCTriggerConfiguration::getTBsInTC ( )
pure virtual

returns number og Trigger Boards in one Trigger Crate.

Implemented in RPCBasicTrigConfig.

Referenced by RPCTriggerCrate::RPCTriggerCrate().

◆ getTCNum()

virtual int RPCTriggerConfiguration::getTCNum ( const RPCConst::l1RpcConeCrdnts coneCrdnts)
pure virtual

Returns the index of TC that should run given LogCone.

Implemented in RPCBasicTrigConfig.

Referenced by RPCPacTrigger::runEvent().

◆ getTCsCnt()

virtual int RPCTriggerConfiguration::getTCsCnt ( )
pure virtual

returns count of Trigger Crates in system.

Implemented in RPCBasicTrigConfig.

Referenced by RPCPacTrigger::RPCPacTrigger().

◆ getTowerNumOnTb()

virtual int RPCTriggerConfiguration::getTowerNumOnTb ( const RPCConst::l1RpcConeCrdnts coneCrdnts)
pure virtual

Returns the index of m_tower on TB.

Implemented in RPCBasicTrigConfig.

Referenced by RPCTriggerBoard::runTBGB().

◆ getTowsCntOnTB()

virtual int RPCTriggerConfiguration::getTowsCntOnTB ( int  tbNum)
pure virtual

Returns the count of Towers, that are covered by given TB .

Implemented in RPCBasicTrigConfig.

Referenced by RPCTriggerBoard::RPCTriggerBoard().

◆ setDebugLevel()

void RPCTriggerConfiguration::setDebugLevel ( int  debgLevel)
inline

Definition at line 43 of file RPCTriggerConfiguration.h.

43 { m_DebugLevel = debgLevel; }

References m_DebugLevel.

◆ towAddr2TowNum()

virtual int RPCTriggerConfiguration::towAddr2TowNum ( int  towAddr)
pure virtual

Implemented in RPCBasicTrigConfig.

◆ towNum2TowNum2Comp()

virtual int RPCTriggerConfiguration::towNum2TowNum2Comp ( int  towNum)
pure virtual

Implemented in RPCBasicTrigConfig.

Member Data Documentation

◆ m_DebugLevel

int RPCTriggerConfiguration::m_DebugLevel
private

Definition at line 46 of file RPCTriggerConfiguration.h.

Referenced by getDebugLevel(), and setDebugLevel().

RPCTriggerConfiguration::m_DebugLevel
int m_DebugLevel
Definition: RPCTriggerConfiguration.h:46