ATLAS Offline Software
|
Front panel input class to the CTP simulation. More...
#include <FrontPanelCTP.h>
Public Member Functions | |
FrontPanelCTP () | |
FrontPanelCTP (uint32_t cableword0clock0, uint32_t cableword0clock1, uint32_t cableword1clock0, uint32_t cableword1clock1, uint32_t cableword2clock0, uint32_t cableword2clock1) | |
~FrontPanelCTP () | |
Destructor: More... | |
void | setCableWord0 (unsigned int clock, uint32_t data) |
set the data that is sent on cable 0 More... | |
void | setCableWord1 (unsigned int clock, uint32_t data) |
set the data that is sent on cable 1 More... | |
void | setCableWord2 (unsigned int clock, uint32_t data) |
set the data that is sent on cable 2 More... | |
void | setOptCableWord (const std::string &conn, const std::bitset< 128 > &data) |
set the data that is sent on the optical cables More... | |
uint32_t | cableWord0 (unsigned int clock) const |
return the data that is sent on cable 0 More... | |
uint32_t | cableWord1 (unsigned int clock) const |
return the data that it sent on cable 1 More... | |
uint32_t | cableWord2 (unsigned int clock) const |
return the data that is sent on cable 2 More... | |
std::bitset< 128 > | optcableWord (const std::string &conn) const |
return the data that is sent on the optical cables by index More... | |
Private Attributes | |
uint32_t | m_cableWord0 [2] { 0, 0 } |
uint32_t | m_cableWord1 [2] { 0, 0 } |
uint32_t | m_cableWord2 [2] { 0, 0 } |
std::map< std::string, std::bitset< 128 > > | m_optcableWord |
Front panel input class to the CTP simulation.
This class holds the multiplicities of the inputs that are received via the front panel of the CTPCORE+ module.
Definition at line 35 of file FrontPanelCTP.h.
LVL1::FrontPanelCTP::FrontPanelCTP | ( | ) |
Definition at line 15 of file FrontPanelCTP.cxx.
LVL1::FrontPanelCTP::FrontPanelCTP | ( | uint32_t | cableword0clock0, |
uint32_t | cableword0clock1, | ||
uint32_t | cableword1clock0, | ||
uint32_t | cableword1clock1, | ||
uint32_t | cableword2clock0, | ||
uint32_t | cableword2clock1 | ||
) |
LVL1::FrontPanelCTP::~FrontPanelCTP | ( | ) |
unsigned int LVL1::FrontPanelCTP::cableWord0 | ( | unsigned int | clock | ) | const |
return the data that is sent on cable 0
Definition at line 56 of file FrontPanelCTP.cxx.
unsigned int LVL1::FrontPanelCTP::cableWord1 | ( | unsigned int | clock | ) | const |
return the data that it sent on cable 1
return the data that is sent on cable 1
Definition at line 62 of file FrontPanelCTP.cxx.
unsigned int LVL1::FrontPanelCTP::cableWord2 | ( | unsigned int | clock | ) | const |
return the data that is sent on cable 2
Definition at line 68 of file FrontPanelCTP.cxx.
|
inline |
return the data that is sent on the optical cables by index
Definition at line 77 of file FrontPanelCTP.h.
void LVL1::FrontPanelCTP::setCableWord0 | ( | unsigned int | clock, |
uint32_t | data | ||
) |
set the data that is sent on cable 0
Definition at line 37 of file FrontPanelCTP.cxx.
void LVL1::FrontPanelCTP::setCableWord1 | ( | unsigned int | clock, |
uint32_t | data | ||
) |
set the data that is sent on cable 1
Definition at line 43 of file FrontPanelCTP.cxx.
void LVL1::FrontPanelCTP::setCableWord2 | ( | unsigned int | clock, |
uint32_t | data | ||
) |
set the data that is sent on cable 2
Definition at line 49 of file FrontPanelCTP.cxx.
|
inline |
|
private |
Definition at line 83 of file FrontPanelCTP.h.
|
private |
Definition at line 84 of file FrontPanelCTP.h.
|
private |
Definition at line 85 of file FrontPanelCTP.h.
|
private |
Definition at line 87 of file FrontPanelCTP.h.