#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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
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 | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
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 41 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 55 of file L1GtPsbConfig.cc.
References m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, and m_gtPsbEnableRecSerLink.
|
inline |
get / set board slot
Definition at line 67 of file L1GtPsbConfig.h.
References m_gtBoardSlot.
|
inline |
get / set CH0_SEND_LVDS_NOT_DS92LV16
Definition at line 72 of file L1GtPsbConfig.h.
References m_gtPsbCh0SendLvds.
|
inline |
get / set CH1_SEND_LVDS_NOT_DS92LV16
Definition at line 77 of file L1GtPsbConfig.h.
References m_gtPsbCh1SendLvds.
|
inline |
get / set enable LVDS
Definition at line 82 of file L1GtPsbConfig.h.
References m_gtPsbEnableRecLvds.
|
inline |
get / set enable channels for receiving signal via serial links
Definition at line 87 of file L1GtPsbConfig.h.
References m_gtPsbEnableRecSerLink.
bool L1GtPsbConfig::operator!= | ( | const L1GtPsbConfig & | result | ) | const |
bool L1GtPsbConfig::operator< | ( | const L1GtPsbConfig & | gtb | ) | const |
less than operator
Definition at line 110 of file L1GtPsbConfig.cc.
References m_gtBoardSlot.
L1GtPsbConfig & L1GtPsbConfig::operator= | ( | const L1GtPsbConfig & | gtb | ) |
assignment operator
Definition at line 66 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 81 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 144 of file L1GtPsbConfig.cc.
References TauDecayModes::dec, m_gtBoardSlot, m_gtPsbCh0SendLvds, m_gtPsbCh1SendLvds, m_gtPsbEnableRecLvds, and m_gtPsbEnableRecSerLink.
|
private |
void L1GtPsbConfig::setGtBoardSlot | ( | const int & | gtBoardSlotValue | ) |
Definition at line 121 of file L1GtPsbConfig.cc.
References m_gtBoardSlot.
void L1GtPsbConfig::setGtPsbCh0SendLvds | ( | const bool & | gtPsbCh0SendLvdsValue | ) |
Definition at line 124 of file L1GtPsbConfig.cc.
References m_gtPsbCh0SendLvds.
Referenced by L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
void L1GtPsbConfig::setGtPsbCh1SendLvds | ( | const bool & | gtPsbCh1SendLvdsValue | ) |
Definition at line 129 of file L1GtPsbConfig.cc.
References m_gtPsbCh1SendLvds.
Referenced by L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
void L1GtPsbConfig::setGtPsbEnableRecLvds | ( | const std::vector< bool > & | gtPsbEnableRecLvdsValue | ) |
Definition at line 134 of file L1GtPsbConfig.cc.
References m_gtPsbEnableRecLvds.
Referenced by L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
void L1GtPsbConfig::setGtPsbEnableRecSerLink | ( | const std::vector< bool > & | gtPsbEnableRecSerLinkValue | ) |
Definition at line 139 of file L1GtPsbConfig.cc.
References m_gtPsbEnableRecSerLink.
Referenced by L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
|
friend |
Definition at line 114 of file L1GtPsbConfig.h.
|
friend |
Definition at line 114 of file L1GtPsbConfig.h.
|
friend |
|
private |
the slot of board (part of Board_Id)
Definition at line 99 of file L1GtPsbConfig.h.
Referenced by gtBoardSlot(), L1GtPsbConfig(), operator<(), operator=(), operator==(), print(), and setGtBoardSlot().
|
private |
CH0_SEND_LVDS_NOT_DS92LV16.
Definition at line 102 of file L1GtPsbConfig.h.
Referenced by gtPsbCh0SendLvds(), L1GtPsbConfig(), operator=(), operator==(), print(), and setGtPsbCh0SendLvds().
|
private |
CH1_SEND_LVDS_NOT_DS92LV16.
Definition at line 105 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 109 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 112 of file L1GtPsbConfig.h.
Referenced by gtPsbEnableRecSerLink(), L1GtPsbConfig(), operator=(), operator==(), print(), and setGtPsbEnableRecSerLink().
|
static |
number of LVDS groups per board
Definition at line 60 of file L1GtPsbConfig.h.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), L1GtPsbConfig(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().
|
static |
number of channels per board
Definition at line 63 of file L1GtPsbConfig.h.
Referenced by L1GtPsbSetupConfigOnlineProd::addDefaultPsb(), L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), L1GtPsbConfig(), and L1GtPsbSetupTrivialProducer::L1GtPsbSetupTrivialProducer().