CMS 3D CMS Logo

Public Member Functions | Private Attributes

RPCTriggerConfiguration Class Reference

#include <RPCTriggerConfiguration.h>

Inheritance diagram for RPCTriggerConfiguration:
RPCBasicTrigConfig

List of all members.

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.
virtual int getTBNum (const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
 Returns the index of TB (in TC) that should run given LogCone.
virtual int getTBsInTC ()=0
 returns number og Trigger Boards in one Trigger Crate.
virtual int getTCNum (const RPCConst::l1RpcConeCrdnts &coneCrdnts)=0
 Returns the index of TC that should run given LogCone.
virtual int getTCsCnt ()=0
 returns count of Trigger Crates in system.
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 .
void setDebugLevel (int debgLevel)
virtual int towAddr2TowNum (int towAddr)=0
virtual int towNum2TowNum2Comp (int towNum)=0

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.


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 44 of file RPCTriggerConfiguration.h.

References m_DebugLevel.

Referenced by RPCTrigger::produce().

                                    {
    m_DebugLevel = debgLevel;
  }
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

Definition at line 49 of file RPCTriggerConfiguration.h.

Referenced by getDebugLevel(), and setDebugLevel().