#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 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 36 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 109 of file L1GtBoard.h.
References m_gtBitDaqActiveBoards, and setGtBitDaqActiveBoards().
|
inline |
get / set the bit of board in the GTFE ACTIVE_BOARDS for the GT EVM readout record
Definition at line 118 of file L1GtBoard.h.
References m_gtBitEvmActiveBoards, and setGtBitEvmActiveBoards().
|
inline |
get / set board hex fragment name in hw record
Definition at line 134 of file L1GtBoard.h.
References m_gtBoardHexName, and setGtBoardHexName().
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 gtInputPsbChannels(), and print().
|
inline |
get / set board index
Definition at line 82 of file L1GtBoard.h.
References m_gtBoardIndex, and setGtBoardIndex().
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, AlCaHLTBitMon_QueryRunRegistry::string, TCS, and TIM.
Referenced by gtInputPsbChannels(), and print().
|
inline |
get / set board slot
Definition at line 126 of file L1GtBoard.h.
References m_gtBoardSlot, and setGtBoardSlot().
|
inline |
get / set board type
Definition at line 74 of file L1GtBoard.h.
References m_gtBoardType, and setGtBoardType().
Referenced by operator<().
|
inline |
get / set detailed input configuration for PSB (objects pro channel) int: channel number
Definition at line 153 of file L1GtBoard.h.
References gtBoardId(), gtBoardName(), m_gtInputPsbChannels, genParticles_cff::map, operator<<, print(), setGtInputPsbChannels(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
get / set the position of board data block in the GT DAQ readout record
Definition at line 91 of file L1GtBoard.h.
References m_gtPositionDaqRecord, and setGtPositionDaqRecord().
|
inline |
get / set the position of board data block in the GT EVM readout record
Definition at line 100 of file L1GtBoard.h.
References m_gtPositionEvmRecord, and setGtPositionEvmRecord().
|
inline |
get / set L1 quadruplet (4x16 bits)(cable) in the PSB input valid for PSB only
Definition at line 144 of file L1GtBoard.h.
References m_gtQuadInPsb, and setGtQuadInPsb().
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, 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.
Referenced by gtInputPsbChannels(), and operator<<().
|
private |
void L1GtBoard::setGtBitDaqActiveBoards | ( | const int & | gtBitDaqActiveBoardsValue | ) |
Definition at line 235 of file L1GtBoard.cc.
References m_gtBitDaqActiveBoards.
Referenced by gtBitDaqActiveBoards(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBitEvmActiveBoards | ( | const int & | gtBitEvmActiveBoardsValue | ) |
Definition at line 243 of file L1GtBoard.cc.
References m_gtBitEvmActiveBoards.
Referenced by gtBitEvmActiveBoards(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardHexName | ( | const int & | gtBoardHexNameValue | ) |
Definition at line 255 of file L1GtBoard.cc.
References m_gtBoardHexName.
Referenced by gtBoardHexName(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardIndex | ( | const int & | gtBoardIndexValue | ) |
Definition at line 214 of file L1GtBoard.cc.
References m_gtBoardIndex.
Referenced by gtBoardIndex().
void L1GtBoard::setGtBoardSlot | ( | const int & | gtBoardSlotValue | ) |
Definition at line 249 of file L1GtBoard.cc.
References m_gtBoardSlot.
Referenced by gtBoardSlot(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtBoardType | ( | const L1GtBoardType & | gtBoardTypeValue | ) |
Definition at line 208 of file L1GtBoard.cc.
References m_gtBoardType.
Referenced by 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 gtInputPsbChannels(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtPositionDaqRecord | ( | const int & | gtPositionDaqRecordValue | ) |
Definition at line 221 of file L1GtBoard.cc.
References m_gtPositionDaqRecord.
Referenced by gtPositionDaqRecord(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtPositionEvmRecord | ( | const int & | gtPositionEvmRecordValue | ) |
Definition at line 228 of file L1GtBoard.cc.
References m_gtPositionEvmRecord.
Referenced by gtPositionEvmRecord(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
void L1GtBoard::setGtQuadInPsb | ( | const std::vector< L1GtPsbQuad > & | gtQuadInPsbValue | ) |
Definition at line 263 of file L1GtBoard.cc.
References m_gtQuadInPsb.
Referenced by gtQuadInPsb(), and L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer().
|
friend |
Definition at line 211 of file L1GtBoard.h.
|
friend |
Definition at line 211 of file L1GtBoard.h.
|
friend |
output stream operator
Definition at line 532 of file L1GtBoard.cc.
Referenced by gtInputPsbChannels().
|
private |
the bit of board in the GTFE ACTIVE_BOARDS for the GT DAQ readout record
Definition at line 188 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 192 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 199 of file L1GtBoard.h.
Referenced by gtBoardHexName(), gtBoardId(), L1GtBoard(), operator=(), operator==(), print(), and setGtBoardHexName().
|
private |
board index
Definition at line 178 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 195 of file L1GtBoard.h.
Referenced by gtBoardId(), gtBoardSlot(), L1GtBoard(), operator=(), operator==(), and setGtBoardSlot().
|
private |
board type (from L1GtBoardType enum)
Definition at line 175 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 208 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 181 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 184 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 203 of file L1GtBoard.h.
Referenced by gtQuadInPsb(), L1GtBoard(), operator=(), operator==(), print(), and setGtQuadInPsb().
|
static |
number of InfiniCables per board
Definition at line 69 of file L1GtBoard.h.
Referenced by L1GtBoard(), L1GtBoardMapsTrivialProducer::L1GtBoardMapsTrivialProducer(), and operator<<().