Public Types | |
enum | SettingsType_t { Mapping_s = 1L << 0, Bes_s = 1L << 1, FE_s = 1L << 2, Daq_s = 1L << 3, Pulser_s = 1L << 4, Trg_s = 1L << 5, All_s = Mapping_s | Bes_s | FE_s | Daq_s | Pulser_s | Trg_s, Ele_s = Mapping_s | Bes_s | FE_s | Pulser_s } |
human readable settings type identifiers More... | |
Public Member Functions | |
QDaqChannel () | |
default constructor | |
QDaqChannel (const QDaqChannel &lg, SettingsType_t what) | |
copy constructor | |
bool | GetSaveFlag () const |
get channel save flag | |
bool | GetParameter (SettingsType_t what, const std::string &parName, QVdt &par) const |
get parameter | |
bool | GetTrgParameter (const unsigned int tag, const std::string &parName, QVdt &par) |
get trigger parameter | |
void | Dump () const |
dump on screen loaded settings and mapping | |
Private Member Functions | |
void | Clear () |
Private Attributes | |
std::map< std::string, QVdt > | fFESettings |
std::map< std::string, QVdt > | fBesSettings |
std::map< std::string, QVdt > | fPulSettings |
std::map< std::string, QVdt > | fDaqSettings |
std::string | fTrgName1 |
std::string | fTrgName2 |
std::string | fTrgName3 |
std::string | fTrgName4 |
std::map< std::string, QVdt > | fTrgSettings1 |
std::map< std::string, QVdt > | fTrgSettings2 |
std::map< std::string, QVdt > | fTrgSettings3 |
std::map< std::string, QVdt > | fTrgSettings4 |
bool | fSaveFlag |
bool | fDefaultTrg |
Friends | |
class | QApolloDbBase |
class | QApolloDbCache |
QDaqChannel::QDaqChannel | ( | const QDaqChannel & | lg, | |
SettingsType_t | what | |||
) |
copy constructor
lg | QDaqChannel from which data is copied | |
what | settings to be copied |
References Bes_s, Daq_s, QLgChannel::fBesId, fBesSettings, QLgChannel::fDaqBoard, QLgChannel::fDaqChannel, QLgChannel::fDaqId, fDaqSettings, QLgChannel::fDaqSlot, fDefaultTrg, FE_s, QLgChannel::fFEId, fFESettings, fPulSettings, fSaveFlag, fTrgName1, fTrgName2, fTrgName3, fTrgName4, fTrgSettings1, fTrgSettings2, fTrgSettings3, fTrgSettings4, QLgChannel::GetBSBoard(), QLgChannel::GetBSChannel(), QLgChannel::GetBSCrate(), QLgChannel::GetBSId(), QLgChannel::GetBSSlot(), QLgChannel::GetDaqBoard(), QLgChannel::GetDaqBoardName(), QLgChannel::GetDaqChannel(), QLgChannel::GetDaqCrate(), QLgChannel::GetDaqId(), QLgChannel::GetDaqSlot(), QLgChannel::GetFEBoard(), QLgChannel::GetFEChannel(), QLgChannel::GetFECrate(), QLgChannel::GetFEId(), QLgChannel::GetFESlot(), QLgChannel::GetHeaterChannel(), QLgChannel::GetHeaterId(), QLgChannel::GetHeaterName(), QLgChannel::IsEnabled(), QLgChannel::Lg(), Pulser_s, Trg_s, and QLgChannel::Type().
bool QDaqChannel::GetParameter | ( | SettingsType_t | what, | |
const std::string & | parName, | |||
QVdt & | par | |||
) | const |
get parameter
what | setting type the parameter belongs to: valid settings type for this method are Bes_s, FE_s, Daq_s, Pulser_s. Use specific GetTrgParameter method for trigger settings. | |
parName | parameter name. | |
par | reference to QVdt object to be filled with requested parameter |
References Bes_s, Daq_s, FE_s, and Pulser_s.
Referenced by QPulserChannel::Set().
bool QDaqChannel::GetTrgParameter | ( | const unsigned int | tag, | |
const std::string & | parName, | |||
QVdt & | par | |||
) |
get trigger parameter
tag | trigger tag, can be 1..4 | |
parName | parameter name. | |
par | reference to QVdt object to be filled with requested parameter |