Public Member Functions | |
MLCMeasCollector (QSequence *s) | |
constructor | |
~MLCMeasCollector () | |
destructor | |
void | Init () |
Init method. | |
QEvent * | Do (QEvent *ev) |
Do method. | |
void | Done () |
Done method. | |
Private Member Functions | |
void | ReadInitFile (const std::string &fileName) |
Private Attributes | |
std::map< int, QBaseLoadCurve * > | fCurves |
std::map< unsigned int, QEleChannelConfig > | fEleConfigs |
std::set< int > | fChannelsWithHeater |
std::set< int > | fWrongPolarityChannels |
std::set< int > | fActiveChannels |
bool | fFirstCall |
void MLCMeasCollector::ReadInitFile | ( | const std::string & | fileName | ) | [private] |
read initial electronics configuration from file named fileName
References ELE_CONFIG_MATRIX_NAME, QBaseModule::Error(), fActiveChannels, fChannelsWithHeater, fEleConfigs, QLCConfigReader::Get(), QLCConfigReader::GetActiveChannels(), QLCConfigReader::GetChannelsWithHeater(), QError::GetDescription(), QLCConfigWriter::M_LC, QLCConfigReader::Open(), and QBaseModule::Panic().
Referenced by Do().
std::map<int, QBaseLoadCurve*> MLCMeasCollector::fCurves [private] |
std::map<unsigned int, QEleChannelConfig> MLCMeasCollector::fEleConfigs [private] |
map storing electronics configuration. It is read from the file specified by the InputConfigFile cfgvar at the first call of the Init() method and is updated at each call of the Done() method with the final configuration for the channels involved in that iteration of the sequence. The matrix is dumped to the file specified by the OutputConfigFile cfgvar in the destructor.
Referenced by Done(), ReadInitFile(), and ~MLCMeasCollector().
std::set<int> MLCMeasCollector::fChannelsWithHeater [private] |
list of channels with working heater
Referenced by ReadInitFile(), and ~MLCMeasCollector().
std::set<int> MLCMeasCollector::fWrongPolarityChannels [private] |
list of channels with wrong polarity connection
Referenced by ~MLCMeasCollector().
std::set<int> MLCMeasCollector::fActiveChannels [private] |
list of active channels (i.e. channels involved in the LC procedure)
Referenced by ReadInitFile(), and ~MLCMeasCollector().
bool MLCMeasCollector::fFirstCall [private] |