#include <L1GtBoard.h>
Public Member Functions | |
const int | gtBitDaqActiveBoards () const |
const int | gtBitEvmActiveBoards () const |
const int | gtBoardHexName () const |
get / set board hex fragment name in hw record More... | |
const boost::uint16_t | gtBoardId () const |
get the board ID More... | |
const int | gtBoardIndex () const |
get / set board index More... | |
std::string | gtBoardName () const |
return board name - it depends on L1GtBoardType enum!!! More... | |
const int | gtBoardSlot () const |
get / set board slot More... | |
const L1GtBoardType | gtBoardType () const |
get / set board type More... | |
const std::map< int, std::vector< L1GtObject > > & | gtInputPsbChannels () const |
const int | gtPositionDaqRecord () const |
const int | gtPositionEvmRecord () const |
const std::vector< L1GtPsbQuad > & | gtQuadInPsb () const |
L1GtBoard () | |
constructors More... | |
L1GtBoard (const L1GtBoardType &) | |
L1GtBoard (const L1GtBoardType &, const int &) | |
L1GtBoard (const L1GtBoard &) | |
copy constructor More... | |
bool | operator!= (const L1GtBoard &) const |
unequal operator More... | |
bool | operator< (const L1GtBoard &) const |
less than operator More... | |
L1GtBoard & | operator= (const L1GtBoard &) |
assignment operator More... | |
bool | operator== (const L1GtBoard &) const |
equal operator More... | |
void | print (std::ostream &myCout) const |
print board More... | |
void | setGtBitDaqActiveBoards (const int &) |
void | setGtBitEvmActiveBoards (const int &) |
void | setGtBoardHexName (const int &) |
void | setGtBoardIndex (const int &) |
void | setGtBoardSlot (const int &) |
void | setGtBoardType (const L1GtBoardType &) |
void | setGtInputPsbChannels (const std::map< int, std::vector< L1GtObject > > &) |
void | setGtPositionDaqRecord (const int &) |
void | setGtPositionEvmRecord (const int &) |
void | setGtQuadInPsb (const std::vector< L1GtPsbQuad > &) |
virtual | ~L1GtBoard () |
destructor More... | |
Static Public Attributes | |
static const int | NumberCablesBoard = 4 |
number of InfiniCables per board More... | |
Private Attributes | |
int | m_gtBitDaqActiveBoards |
int | m_gtBitEvmActiveBoards |
int | m_gtBoardHexName |
int | m_gtBoardIndex |
board index More... | |
int | m_gtBoardSlot |
the slot of board (part of Board_Id) More... | |
L1GtBoardType | m_gtBoardType |
board type (from L1GtBoardType enum) More... | |
std::map< int, std::vector < L1GtObject > > | m_gtInputPsbChannels |
int | m_gtPositionDaqRecord |
the position of board data block in the GT DAQ readout record More... | |
int | m_gtPositionEvmRecord |
the position of board data block in the GT EVM readout record More... | |
std::vector< L1GtPsbQuad > | m_gtQuadInPsb |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1GtBoard &) |
output stream operator More... | |
Description: class for L1 GT board.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 34 of file L1GtBoard.h.
L1GtBoard::L1GtBoard | ( | ) |
L1GtBoard::L1GtBoard | ( | const L1GtBoardType & | gtBoardTypeValue | ) |
Definition at line 39 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards, m_gtBitEvmActiveBoards, m_gtBoardHexName, m_gtBoardIndex, m_gtBoardSlot, m_gtPositionDaqRecord, m_gtPositionEvmRecord, m_gtQuadInPsb, and NumberCablesBoard.
L1GtBoard::L1GtBoard | ( | const L1GtBoardType & | gtBoardTypeValue, |
const int & | gtBoardIndexValue | ||
) |
Definition at line 58 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards, m_gtBitEvmActiveBoards, m_gtBoardHexName, m_gtBoardSlot, m_gtPositionDaqRecord, m_gtPositionEvmRecord, m_gtQuadInPsb, and NumberCablesBoard.
|
virtual |
L1GtBoard::L1GtBoard | ( | const L1GtBoard & | gtb | ) |
copy constructor
Definition at line 83 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards, m_gtBitEvmActiveBoards, m_gtBoardHexName, m_gtBoardIndex, m_gtBoardSlot, m_gtBoardType, m_gtInputPsbChannels, m_gtPositionDaqRecord, m_gtPositionEvmRecord, and m_gtQuadInPsb.
|
inline |
get / set the bit of board in the GTFE ACTIVE_BOARDS for the GT DAQ readout record
Definition at line 107 of file L1GtBoard.h.
References m_gtBitDaqActiveBoards.
|
inline |
get / set the bit of board in the GTFE ACTIVE_BOARDS for the GT EVM readout record
Definition at line 116 of file L1GtBoard.h.
References m_gtBitEvmActiveBoards.
|
inline |
get / set board hex fragment name in hw record
Definition at line 132 of file L1GtBoard.h.
References m_gtBoardHexName.
const boost::uint16_t L1GtBoard::gtBoardId | ( | ) | const |
get the board ID
Definition at line 275 of file L1GtBoard.cc.
References GTFE, m_gtBoardHexName, m_gtBoardSlot, and m_gtBoardType.
Referenced by print().
|
inline |
get / set board index
Definition at line 80 of file L1GtBoard.h.
References m_gtBoardIndex.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer(), and operator<().
std::string L1GtBoard::gtBoardName | ( | ) | const |
return board name - it depends on L1GtBoardType enum!!!
Definition at line 290 of file L1GtBoard.cc.
References FDL, GMT, GTFE, m_gtBoardType, PSB, TCS, and TIM.
Referenced by print().
|
inline |
get / set board slot
Definition at line 124 of file L1GtBoard.h.
References m_gtBoardSlot.
|
inline |
get / set board type
Definition at line 72 of file L1GtBoard.h.
References m_gtBoardType.
Referenced by operator<().
|
inline |
get / set detailed input configuration for PSB (objects pro channel) int: channel number
Definition at line 151 of file L1GtBoard.h.
References m_gtInputPsbChannels.
|
inline |
get / set the position of board data block in the GT DAQ readout record
Definition at line 89 of file L1GtBoard.h.
References m_gtPositionDaqRecord.
|
inline |
get / set the position of board data block in the GT EVM readout record
Definition at line 98 of file L1GtBoard.h.
References m_gtPositionEvmRecord.
|
inline |
get / set L1 quadruplet (4x16 bits)(cable) in the PSB input valid for PSB only
Definition at line 142 of file L1GtBoard.h.
References m_gtQuadInPsb.
bool L1GtBoard::operator!= | ( | const L1GtBoard & | result | ) | const |
unequal operator
Definition at line 183 of file L1GtBoard.cc.
bool L1GtBoard::operator< | ( | const L1GtBoard & | gtb | ) | const |
less than operator
Definition at line 191 of file L1GtBoard.cc.
References gtBoardIndex(), gtBoardType(), m_gtBoardIndex, and m_gtBoardType.
assignment operator
Definition at line 105 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards, m_gtBitEvmActiveBoards, m_gtBoardHexName, m_gtBoardIndex, m_gtBoardSlot, m_gtBoardType, m_gtInputPsbChannels, m_gtPositionDaqRecord, m_gtPositionEvmRecord, and m_gtQuadInPsb.
bool L1GtBoard::operator== | ( | const L1GtBoard & | gtb | ) | const |
equal operator
Definition at line 132 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards, m_gtBitEvmActiveBoards, m_gtBoardHexName, m_gtBoardIndex, m_gtBoardSlot, m_gtBoardType, m_gtInputPsbChannels, m_gtPositionDaqRecord, m_gtPositionEvmRecord, and m_gtQuadInPsb.
void L1GtBoard::print | ( | std::ostream & | myCout | ) | const |
print board
Definition at line 336 of file L1GtBoard.cc.
References BPTX, CenJet, CenJetQ, end, ESumsQ, ETM, ETT, ForJet, ForJetQ, Free, gtBoardId(), gtBoardName(), GtExternal, HfBitCounts, HfQ, HfRingEtSums, HTM, HTT, IsoEG, IsoEGQ, JetCounts, JetCountsQ, m_gtBitDaqActiveBoards, m_gtBitEvmActiveBoards, m_gtBoardHexName, m_gtBoardIndex, m_gtBoardType, m_gtInputPsbChannels, m_gtPositionDaqRecord, m_gtPositionEvmRecord, m_gtQuadInPsb, python.multivaluedict::map(), MQB1, MQB10, MQB2, MQB5, MQB6, MQB9, MQF11, MQF12, MQF3, MQF4, MQF7, MQF8, Mu, NoIsoEG, NoIsoEGQ, PSB, findQualityFiles::size, TauJet, TauJetQ, TechTr, and TechTrig.
Referenced by operator<<().
void L1GtBoard::setGtBitDaqActiveBoards | ( | const int & | gtBitDaqActiveBoardsValue | ) |
Definition at line 235 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBitEvmActiveBoards | ( | const int & | gtBitEvmActiveBoardsValue | ) |
Definition at line 243 of file L1GtBoard.cc.
References m_gtBitEvmActiveBoards.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardHexName | ( | const int & | gtBoardHexNameValue | ) |
Definition at line 255 of file L1GtBoard.cc.
References m_gtBoardHexName.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardIndex | ( | const int & | gtBoardIndexValue | ) |
void L1GtBoard::setGtBoardSlot | ( | const int & | gtBoardSlotValue | ) |
Definition at line 249 of file L1GtBoard.cc.
References m_gtBoardSlot.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardType | ( | const L1GtBoardType & | gtBoardTypeValue | ) |
Definition at line 208 of file L1GtBoard.cc.
References m_gtBoardType.
void L1GtBoard::setGtInputPsbChannels | ( | const std::map< int, std::vector< L1GtObject > > & | gtInputPsbChannelsValue | ) |
Definition at line 270 of file L1GtBoard.cc.
References m_gtInputPsbChannels.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtPositionDaqRecord | ( | const int & | gtPositionDaqRecordValue | ) |
Definition at line 221 of file L1GtBoard.cc.
References m_gtPositionDaqRecord.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtPositionEvmRecord | ( | const int & | gtPositionEvmRecordValue | ) |
Definition at line 228 of file L1GtBoard.cc.
References m_gtPositionEvmRecord.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtQuadInPsb | ( | const std::vector< L1GtPsbQuad > & | gtQuadInPsbValue | ) |
Definition at line 263 of file L1GtBoard.cc.
References m_gtQuadInPsb.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
|
friend |
|
private |
the bit of board in the GTFE ACTIVE_BOARDS for the GT DAQ readout record
Definition at line 186 of file L1GtBoard.h.
Referenced by gtBitDaqActiveBoards(), L1GtBoard(), operator=(), operator==(), print(), and setGtBitDaqActiveBoards().
|
private |
the bit of board in the GTFE ACTIVE_BOARDS for the GT EVM readout record
Definition at line 190 of file L1GtBoard.h.
Referenced by gtBitEvmActiveBoards(), L1GtBoard(), operator=(), operator==(), print(), and setGtBitEvmActiveBoards().
|
private |
board hex fragment name in hw record gives the bits written for each GT board in the Board_Id
Definition at line 197 of file L1GtBoard.h.
Referenced by gtBoardHexName(), gtBoardId(), L1GtBoard(), operator=(), operator==(), print(), and setGtBoardHexName().
|
private |
board index
Definition at line 176 of file L1GtBoard.h.
Referenced by gtBoardIndex(), L1GtBoard(), operator<(), operator=(), operator==(), print(), and setGtBoardIndex().
|
private |
the slot of board (part of Board_Id)
Definition at line 193 of file L1GtBoard.h.
Referenced by gtBoardId(), gtBoardSlot(), L1GtBoard(), operator=(), operator==(), and setGtBoardSlot().
|
private |
board type (from L1GtBoardType enum)
Definition at line 173 of file L1GtBoard.h.
Referenced by gtBoardId(), gtBoardName(), gtBoardType(), L1GtBoard(), operator<(), operator=(), operator==(), print(), and setGtBoardType().
|
private |
valid for PSB only detailed input configuration for PSB (objects pro channel) int: channel number
Definition at line 206 of file L1GtBoard.h.
Referenced by gtInputPsbChannels(), L1GtBoard(), operator=(), operator==(), print(), and setGtInputPsbChannels().
|
private |
the position of board data block in the GT DAQ readout record
Definition at line 179 of file L1GtBoard.h.
Referenced by gtPositionDaqRecord(), L1GtBoard(), operator=(), operator==(), print(), and setGtPositionDaqRecord().
|
private |
the position of board data block in the GT EVM readout record
Definition at line 182 of file L1GtBoard.h.
Referenced by gtPositionEvmRecord(), L1GtBoard(), operator=(), operator==(), print(), and setGtPositionEvmRecord().
|
private |
valid for PSB only L1 quadruplet (4x16 bits)(cable) in the PSB input
Definition at line 201 of file L1GtBoard.h.
Referenced by gtQuadInPsb(), L1GtBoard(), operator=(), operator==(), print(), and setGtQuadInPsb().
|
static |
number of InfiniCables per board
Definition at line 67 of file L1GtBoard.h.
Referenced by L1GtBoard(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().