#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 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 L1GtBoard &) | |
copy constructor More... | |
L1GtBoard (const L1GtBoardType &) | |
L1GtBoard (const L1GtBoardType &, const int &) | |
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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
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 | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
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 35 of file L1GtBoard.h.
L1GtBoard::L1GtBoard | ( | ) |
L1GtBoard::L1GtBoard | ( | const L1GtBoardType & | gtBoardTypeValue | ) |
Definition at line 34 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 49 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 69 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 91 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 97 of file L1GtBoard.h.
References m_gtBitEvmActiveBoards.
|
inline |
get / set board hex fragment name in hw record
Definition at line 107 of file L1GtBoard.h.
References m_gtBoardHexName.
const uint16_t L1GtBoard::gtBoardId | ( | ) | const |
get the board ID
Definition at line 220 of file L1GtBoard.cc.
References GTFE, m_gtBoardHexName, m_gtBoardSlot, and m_gtBoardType.
Referenced by print().
|
inline |
get / set board index
Definition at line 73 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 233 of file L1GtBoard.cc.
References FDL, GMT, GTFE, m_gtBoardType, PSB, AlCaHLTBitMon_QueryRunRegistry::string, TCS, and TIM.
Referenced by print().
|
inline |
|
inline |
get / set board type
Definition at line 68 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 119 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 79 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 85 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 113 of file L1GtBoard.h.
References m_gtQuadInPsb.
bool L1GtBoard::operator!= | ( | const L1GtBoard & | result | ) | const |
bool L1GtBoard::operator< | ( | const L1GtBoard & | gtb | ) | const |
less than operator
Definition at line 159 of file L1GtBoard.cc.
References gtBoardIndex(), gtBoardType(), m_gtBoardIndex, and m_gtBoardType.
assignment operator
Definition at line 88 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 110 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 267 of file L1GtBoard.cc.
References amcDumpToRaw_cfi::boardId, BPTX, Castor, CenJet, CenJetQ, TauDecayModes::dec, 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, genParticles_cff::map, MQB1, MQB10, MQB2, MQB5, MQB6, MQB9, MQF11, MQF12, MQF3, MQF4, MQF7, MQF8, Mu, NoIsoEG, NoIsoEGQ, electrons_cff::objType, PSB, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, TauJet, TauJetQ, TechTr, and TechTrig.
|
private |
void L1GtBoard::setGtBitDaqActiveBoards | ( | const int & | gtBitDaqActiveBoardsValue | ) |
Definition at line 193 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBitEvmActiveBoards | ( | const int & | gtBitEvmActiveBoardsValue | ) |
Definition at line 199 of file L1GtBoard.cc.
References m_gtBitEvmActiveBoards.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardHexName | ( | const int & | gtBoardHexNameValue | ) |
Definition at line 207 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 204 of file L1GtBoard.cc.
References m_gtBoardSlot.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardType | ( | const L1GtBoardType & | gtBoardTypeValue | ) |
void L1GtBoard::setGtInputPsbChannels | ( | const std::map< int, std::vector< L1GtObject > > & | gtInputPsbChannelsValue | ) |
Definition at line 215 of file L1GtBoard.cc.
References m_gtInputPsbChannels.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtPositionDaqRecord | ( | const int & | gtPositionDaqRecordValue | ) |
Definition at line 181 of file L1GtBoard.cc.
References m_gtPositionDaqRecord.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtPositionEvmRecord | ( | const int & | gtPositionEvmRecordValue | ) |
Definition at line 187 of file L1GtBoard.cc.
References m_gtPositionEvmRecord.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtQuadInPsb | ( | const std::vector< L1GtPsbQuad > & | gtQuadInPsbValue | ) |
Definition at line 211 of file L1GtBoard.cc.
References m_gtQuadInPsb.
Referenced by L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
|
friend |
Definition at line 172 of file L1GtBoard.h.
|
friend |
Definition at line 172 of file L1GtBoard.h.
|
friend |
output stream operator
Definition at line 446 of file L1GtBoard.cc.
|
private |
the bit of board in the GTFE ACTIVE_BOARDS for the GT DAQ readout record
Definition at line 150 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 154 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 161 of file L1GtBoard.h.
Referenced by gtBoardHexName(), gtBoardId(), L1GtBoard(), operator=(), operator==(), print(), and setGtBoardHexName().
|
private |
board index
Definition at line 140 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 157 of file L1GtBoard.h.
Referenced by gtBoardId(), gtBoardSlot(), L1GtBoard(), operator=(), operator==(), and setGtBoardSlot().
|
private |
board type (from L1GtBoardType enum)
Definition at line 137 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 170 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 143 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 146 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 165 of file L1GtBoard.h.
Referenced by gtQuadInPsb(), L1GtBoard(), operator=(), operator==(), print(), and setGtQuadInPsb().
|
static |
number of InfiniCables per board
Definition at line 64 of file L1GtBoard.h.
Referenced by L1GtBoard(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().