|
|
Go to the documentation of this file.
50 : m_gtBoardType(gtBoardTypeValue), m_gtBoardIndex(gtBoardIndexValue) {
221 uint16_t boardIdValue = 0;
239 gtBoardNameValue =
"GTFE";
242 gtBoardNameValue =
"FDL";
245 gtBoardNameValue =
"PSB";
248 gtBoardNameValue =
"GMT";
251 gtBoardNameValue =
"TCS";
254 gtBoardNameValue =
"TIM";
259 gtBoardNameValue =
"ERROR";
263 return gtBoardNameValue;
272 <<
"Board Name: " << boardName <<
"_" <<
m_gtBoardIndex << std::endl
280 myCout <<
"PSB Input per Cable: DEPRECATED" << std::endl;
288 }
else if (*cIt ==
IsoEGQ) {
298 }
else if (*cIt ==
ESumsQ) {
302 }
else if (*cIt ==
MQB1) {
304 }
else if (*cIt ==
MQB2) {
306 }
else if (*cIt ==
MQF3) {
308 }
else if (*cIt ==
MQF4) {
310 }
else if (*cIt ==
MQB5) {
312 }
else if (*cIt ==
MQB6) {
314 }
else if (*cIt ==
MQF7) {
316 }
else if (*cIt ==
MQF8) {
318 }
else if (*cIt ==
MQB9) {
320 }
else if (*cIt ==
MQB10) {
322 }
else if (*cIt ==
MQF11) {
324 }
else if (*cIt ==
MQF12) {
326 }
else if (*cIt ==
Free) {
328 }
else if (*cIt ==
HfQ) {
331 myCout <<
"\n\nError: no such member " << (*cIt) <<
" in enum L1GtPsbQuad\n\n" << std::endl;
335 myCout <<
" " <<
objType <<
" ";
340 myCout <<
"Input objects pro channel:";
346 myCout <<
"\n Channel " << cIt->first <<
" (" << (cIt->second).
size() <<
" objects): ";
348 for (std::vector<L1GtObject>::const_iterator itObj = (cIt->second).begin(); itObj != (cIt->second).
end(); ++itObj) {
356 myCout <<
" NoIsoEG ";
366 myCout <<
" CenJet ";
371 myCout <<
" ForJet ";
376 myCout <<
" TauJet ";
401 myCout <<
" JetCounts ";
406 myCout <<
" HfBitCounts ";
411 myCout <<
" HfRingEtSums ";
416 myCout <<
" TechTrig ";
421 myCout <<
" Castor ";
431 myCout <<
" GtExternal ";
436 myCout <<
" ERROR: Unknown type " << (*itObj);
void setGtBoardType(const L1GtBoardType &)
virtual ~L1GtBoard()
destructor
void print(std::ostream &myCout) const
print board
void setGtBoardIndex(const int &)
void setGtQuadInPsb(const std::vector< L1GtPsbQuad > &)
void setGtBoardSlot(const int &)
void setGtPositionEvmRecord(const int &)
const L1GtBoardType gtBoardType() const
get / set board type
L1GtBoardType m_gtBoardType
board type (from L1GtBoardType enum)
static const int NumberCablesBoard
number of InfiniCables per board
void setGtPositionDaqRecord(const int &)
std::ostream & operator<<(std::ostream &os, const L1GtBoard &result)
void setGtInputPsbChannels(const std::map< int, std::vector< L1GtObject > > &)
std::vector< L1GtPsbQuad > m_gtQuadInPsb
L1GtBoardType
board types in GT
void setGtBoardHexName(const int &)
int m_gtBitDaqActiveBoards
std::string gtBoardName() const
return board name - it depends on L1GtBoardType enum!!!
int m_gtBoardSlot
the slot of board (part of Board_Id)
L1GtBoard & operator=(const L1GtBoard &)
assignment operator
bool operator!=(const L1GtBoard &) const
unequal operator
const int gtBoardIndex() const
get / set board index
bool operator<(const L1GtBoard &) const
less than operator
int m_gtBoardIndex
board index
bool operator==(const L1GtBoard &) const
equal operator
int m_gtBitEvmActiveBoards
int m_gtPositionDaqRecord
the position of board data block in the GT DAQ readout record
std::map< int, std::vector< L1GtObject > > m_gtInputPsbChannels
int m_gtPositionEvmRecord
the position of board data block in the GT EVM readout record
const uint16_t gtBoardId() const
get the board ID
void setGtBitEvmActiveBoards(const int &)
void setGtBitDaqActiveBoards(const int &)