CMS 3D CMS Logo

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

virtual RPCTriggerConfiguration::~RPCTriggerConfiguration ( )
virtualdefault

Member Function Documentation

int RPCTriggerConfiguration::getDebugLevel ( ) const
inline
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().

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().

virtual int RPCTriggerConfiguration::getTBsInTC ( )
pure virtual

returns number og Trigger Boards in one Trigger Crate.

Implemented in RPCBasicTrigConfig.

Referenced by RPCTriggerCrate::RPCTriggerCrate().

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().

virtual int RPCTriggerConfiguration::getTCsCnt ( )
pure virtual

returns count of Trigger Crates in system.

Implemented in RPCBasicTrigConfig.

Referenced by RPCPacTrigger::RPCPacTrigger().

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().

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().

void RPCTriggerConfiguration::setDebugLevel ( int  debgLevel)
inline

Definition at line 45 of file RPCTriggerConfiguration.h.

References m_DebugLevel.

45  {
46  m_DebugLevel = debgLevel;
47  }
virtual int RPCTriggerConfiguration::towAddr2TowNum ( int  towAddr)
pure virtual

Implemented in RPCBasicTrigConfig.

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

Implemented in RPCBasicTrigConfig.

Member Data Documentation

int RPCTriggerConfiguration::m_DebugLevel
private

Definition at line 50 of file RPCTriggerConfiguration.h.

Referenced by getDebugLevel(), and setDebugLevel().