#include <L1GtPsbConfig.h>
Public Member Functions | |
const int | gtBoardSlot () const |
get / set board slot More... | |
const bool | gtPsbCh0SendLvds () const |
get / set CH0_SEND_LVDS_NOT_DS92LV16 More... | |
const bool | gtPsbCh1SendLvds () const |
get / set CH1_SEND_LVDS_NOT_DS92LV16 More... | |
const std::vector< bool > & | gtPsbEnableRecLvds () const |
get / set enable LVDS More... | |
const std::vector< bool > & | gtPsbEnableRecSerLink () const |
get / set enable channels for receiving signal via serial links More... | |
L1GtPsbConfig () | |
constructors More... | |
L1GtPsbConfig (const int &) | |
constructor using board slot More... | |
L1GtPsbConfig (const L1GtPsbConfig &) | |
copy constructor More... | |
bool | operator!= (const L1GtPsbConfig &) const |
unequal operator More... | |
bool | operator< (const L1GtPsbConfig &) const |
less than operator More... | |
L1GtPsbConfig & | operator= (const L1GtPsbConfig &) |
assignment operator More... | |
bool | operator== (const L1GtPsbConfig &) const |
equal operator More... | |
void | print (std::ostream &myCout) const |
print board More... | |
void | setGtBoardSlot (const int &) |
void | setGtPsbCh0SendLvds (const bool &) |
void | setGtPsbCh1SendLvds (const bool &) |
void | setGtPsbEnableRecLvds (const std::vector< bool > &) |
void | setGtPsbEnableRecSerLink (const std::vector< bool > &) |
virtual | ~L1GtPsbConfig () |
destructor More... | |
Static Public Attributes | |
static const int | PsbNumberLvdsGroups = 16 |
number of LVDS groups per board More... | |
static const int | PsbSerLinkNumberChannels = 8 |
number of channels per board More... | |
Private Attributes | |
COND_SERIALIZABLE | |
int | m_gtBoardSlot |
the slot of board (part of Board_Id) More... | |
bool | m_gtPsbCh0SendLvds |
CH0_SEND_LVDS_NOT_DS92LV16. More... | |
bool | m_gtPsbCh1SendLvds |
CH1_SEND_LVDS_NOT_DS92LV16. More... | |
std::vector< bool > | m_gtPsbEnableRecLvds |
std::vector< bool > | m_gtPsbEnableRecSerLink |
enable channels for receiving signal via serial links More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1GtPsbConfig &) |
output stream operator More... | |
Description: class for L1 GT PSB board configuration.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 32 of file L1GtPsbConfig.h.
L1GtPsbConfig::L1GtPsbConfig | ( | ) |
constructors
Definition at line 30 of file L1GtPsbConfig.cc.
References m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, m_gtPsbEnableRecSerLink, PsbNumberLvdsGroups, and PsbSerLinkNumberChannels.
L1GtPsbConfig::L1GtPsbConfig | ( | const int & | psbSlot | ) |
constructor using board slot
Definition at line 44 of file L1GtPsbConfig.cc.
References m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, m_gtPsbEnableRecSerLink, PsbNumberLvdsGroups, and PsbSerLinkNumberChannels.
|
virtual |
L1GtPsbConfig::L1GtPsbConfig | ( | const L1GtPsbConfig & | gtb | ) |
copy constructor
Definition at line 63 of file L1GtPsbConfig.cc.
References m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, and m_gtPsbEnableRecSerLink.
|
inline |
get / set board slot
Definition at line 72 of file L1GtPsbConfig.h.
References m_gtBoardSlot.
|
inline |
get / set CH0_SEND_LVDS_NOT_DS92LV16
Definition at line 80 of file L1GtPsbConfig.h.
References m_gtPsbCh0SendLvds.
|
inline |
get / set CH1_SEND_LVDS_NOT_DS92LV16
Definition at line 88 of file L1GtPsbConfig.h.
References m_gtPsbCh1SendLvds.
|
inline |
get / set enable LVDS
Definition at line 96 of file L1GtPsbConfig.h.
References m_gtPsbEnableRecLvds.
|
inline |
get / set enable channels for receiving signal via serial links
Definition at line 104 of file L1GtPsbConfig.h.
References m_gtPsbEnableRecSerLink.
bool L1GtPsbConfig::operator!= | ( | const L1GtPsbConfig & | result | ) | const |
unequal operator
Definition at line 125 of file L1GtPsbConfig.cc.
bool L1GtPsbConfig::operator< | ( | const L1GtPsbConfig & | gtb | ) | const |
less than operator
Definition at line 133 of file L1GtPsbConfig.cc.
References m_gtBoardSlot.
L1GtPsbConfig & L1GtPsbConfig::operator= | ( | const L1GtPsbConfig & | gtb | ) |
assignment operator
Definition at line 77 of file L1GtPsbConfig.cc.
References m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, and m_gtPsbEnableRecSerLink.
bool L1GtPsbConfig::operator== | ( | const L1GtPsbConfig & | gtb | ) | const |
equal operator
Definition at line 96 of file L1GtPsbConfig.cc.
References m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, and m_gtPsbEnableRecSerLink.
void L1GtPsbConfig::print | ( | std::ostream & | myCout | ) | const |
print board
Definition at line 179 of file L1GtPsbConfig.cc.
References m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, and m_gtPsbEnableRecSerLink.
Referenced by operator<<().
void L1GtPsbConfig::setGtBoardSlot | ( | const int & | gtBoardSlotValue | ) |
Definition at line 146 of file L1GtPsbConfig.cc.
References m_gtBoardSlot.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), and L1GtPsbSetupConfigOnlineProd::addPsbFromDb().
void L1GtPsbConfig::setGtPsbCh0SendLvds | ( | const bool & | gtPsbCh0SendLvdsValue | ) |
Definition at line 152 of file L1GtPsbConfig.cc.
References m_gtPsbCh0SendLvds.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
void L1GtPsbConfig::setGtPsbCh1SendLvds | ( | const bool & | gtPsbCh1SendLvdsValue | ) |
Definition at line 158 of file L1GtPsbConfig.cc.
References m_gtPsbCh1SendLvds.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
void L1GtPsbConfig::setGtPsbEnableRecLvds | ( | const std::vector< bool > & | gtPsbEnableRecLvdsValue | ) |
Definition at line 164 of file L1GtPsbConfig.cc.
References m_gtPsbEnableRecLvds.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
void L1GtPsbConfig::setGtPsbEnableRecSerLink | ( | const std::vector< bool > & | gtPsbEnableRecSerLinkValue | ) |
Definition at line 172 of file L1GtPsbConfig.cc.
References m_gtPsbEnableRecSerLink.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
|
friend |
output stream operator
Definition at line 214 of file L1GtPsbConfig.cc.
|
private |
Definition at line 136 of file L1GtPsbConfig.h.
|
private |
the slot of board (part of Board_Id)
Definition at line 120 of file L1GtPsbConfig.h.
Referenced by gtBoardSlot(), L1GtPsbConfig(), operator<(), operator=(), operator==(), print(), and setGtBoardSlot().
|
private |
CH0_SEND_LVDS_NOT_DS92LV16.
Definition at line 123 of file L1GtPsbConfig.h.
Referenced by gtPsbCh0SendLvds(), L1GtPsbConfig(), operator=(), operator==(), print(), and setGtPsbCh0SendLvds().
|
private |
CH1_SEND_LVDS_NOT_DS92LV16.
Definition at line 126 of file L1GtPsbConfig.h.
Referenced by gtPsbCh1SendLvds(), L1GtPsbConfig(), operator=(), operator==(), print(), and setGtPsbCh1SendLvds().
|
private |
enable LVDS (PsbNumberLvdsGroups = 16 groups of four bits) can be enabled/disabled per group
Definition at line 130 of file L1GtPsbConfig.h.
Referenced by gtPsbEnableRecLvds(), L1GtPsbConfig(), operator=(), operator==(), print(), and setGtPsbEnableRecLvds().
|
private |
enable channels for receiving signal via serial links
Definition at line 133 of file L1GtPsbConfig.h.
Referenced by gtPsbEnableRecSerLink(), L1GtPsbConfig(), operator=(), operator==(), print(), and setGtPsbEnableRecSerLink().
|
static |
number of LVDS groups per board
Definition at line 64 of file L1GtPsbConfig.h.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), L1GtPsbConfig(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
|
static |
number of channels per board
Definition at line 67 of file L1GtPsbConfig.h.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), L1GtPsbConfig(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().