Private Member Functions | |
void | Dump (unsigned int crateId, bool isDump) const |
Dump on screen hardware mapping (and settings, if loaded) for the given crateId. | |
const QDaqChannel & | DaqChan (unsigned int Lg) const |
Get reference to QDaqChannel relative to logical channel Lg. | |
int | GetBoards (unsigned int crate, std::map< unsigned int, std::string > &boards) const |
for the requested Daq crate, fill a map of board slots and corresponding board name | |
unsigned int | GetActiveChannels (unsigned int crate, unsigned int slot, QDaqChannel::SettingsType_t what, std::vector< QDaqChannel > &chList) const |
fill vector of daq channels with given settings loaded | |
unsigned int | GetMapping (std::map< unsigned int, QDaqChannel > &cMap) const |
fill map of lg channels and corresponding hardware mapping | |
unsigned int | GetActiveChannels (std::map< unsigned int, QDaqChannel > &cMap, QDaqChannel::SettingsType_t what) const |
fill map of lg channels and corresponding QDaqChannels with requested settings filled | |
void | Clear () |
Clear cache. | |
void | FillDefaultTriggers (unsigned int crateId) |
fill channels that don't have an entry in trgsettings table with default trigger settings | |
Private Attributes | |
std::map< unsigned int, QDaqChannel > | fChannels |
map containing mapping and settings for all loaded logical channels | |
Friends | |
class | QApolloDbBase |
int QApolloDbCache::GetBoards | ( | unsigned int | crate, | |
std::map< unsigned int, std::string > & | boards | |||
) | const [private] |
for the requested Daq crate, fill a map of board slots and corresponding board name
References fChannels, QLgChannel::GetDaqBoard(), QLgChannel::GetDaqBoardName(), QLgChannel::GetDaqCrate(), and QLgChannel::GetDaqSlot().
Referenced by QApolloDbBase::GetBoards().
unsigned int QApolloDbCache::GetActiveChannels | ( | unsigned int | crate, | |
unsigned int | slot, | |||
QDaqChannel::SettingsType_t | what, | |||
std::vector< QDaqChannel > & | chList | |||
) | const [private] |
fill vector of daq channels with given settings loaded
Vector is filled for channels belonging to the given slot of the given crate. If slot is zero all slots belonging to crate are assumed
what | settings to be loaded |
References fChannels, QLgChannel::GetDaqCrate(), QLgChannel::GetDaqSlot(), and QLgChannel::IsEnabled().
Referenced by QApolloDbBase::GetActiveChannels().
unsigned int QApolloDbCache::GetMapping | ( | std::map< unsigned int, QDaqChannel > & | cMap | ) | const [private] |
fill map of lg channels and corresponding hardware mapping
References fChannels, QLgChannel::Lg(), and QDaqChannel::Mapping_s.
Referenced by QApolloDbBase::GetMapping().
unsigned int QApolloDbCache::GetActiveChannels | ( | std::map< unsigned int, QDaqChannel > & | cMap, | |
QDaqChannel::SettingsType_t | what | |||
) | const [private] |
fill map of lg channels and corresponding QDaqChannels with requested settings filled
References fChannels, and QLgChannel::Lg().