MLCEleCheckController Class Reference
[ModulesApollo]

Inheritance diagram for MLCEleCheckController:

MLCBaseController QDriver QBaseModule

List of all members.


Detailed Description

version of LCController to be used in the "electronics check" step of the detector startup procedure

Author:
Sergio Di Domizio This controller is to be used in the procedure where the electronics channels are checked. Besides the ones that are required by the base controller, the EleStartupConfig file for this controller must contain the following objects:
  • EleCheckFlow: a 2xN QMatrix in which each row is a couple of test signal values: positive (first) and negative (second). N is the number of measurements to be performed


Public Member Functions

 MLCEleCheckController (QSequence *s)
 constructor
virtual ~MLCEleCheckController ()
 destructor

Protected Member Functions

virtual QError ReadWorkFlow ()
virtual ActionId SetupNextConf ()
virtual void InitFlowController ()
virtual void SetProcedureType ()

Private Attributes

std::list< std::pair< int, int > > fTestSigValues
std::list< std::pair< int, int >
>::const_iterator 
fNextStepIterator

Member Function Documentation

QError MLCEleCheckController::ReadWorkFlow (  )  [protected, virtual]

read work flow to be used during the load curves procedure
In this implementation the workflow is defined by a 2xN QMatrix in which each row represents a couple of (TestSignalPos, TestSignalNeg) values.
The name of the QMatrix is "EleCheckFlow".
The values in the QMatrix are in bitwise format.
The pairs are applied in the order they appear in the matrix, for both positive and negative polarity.

Implements MLCBaseController.

References fNextStepIterator, fTestSigValues, QLCConfigReader::GetEleCheckWorkFlow(), QBaseModule::GetString(), QLCConfigWriter::M_LC, QLCConfigReader::Open(), and QError::Set().

QDriver::ActionId MLCEleCheckController::SetupNextConf (  )  [protected, virtual]

set electronics configuration for all channels and/or external bias to be used in the next configuration

Returns:
QDriver::ACT_NEXTEV if there is at least another configuration to be measured, or QDriver::ACT_RERUN if the procedure is complete for the current group.

Implements MLCBaseController.

References fNextStepIterator, fTestSigValues, MLCBaseController::GetCurrentConfigs(), and QBaseModule::Info().

void MLCEleCheckController::InitFlowController (  )  [protected, virtual]

virtual void MLCEleCheckController::SetProcedureType (  )  [inline, protected, virtual]

Set procedure type. There is a 1-1 correspondence between a controller and a procedure type. Procedure types are defined in QLCSharedDefs.hh

Implements MLCBaseController.

References MLCBaseController::fProcedureType, and LC_ELECHECK.


Member Data Documentation

std::list< std::pair<int, int> > MLCEleCheckController::fTestSigValues [private]

list of test signal value pairs (<pos, neg>)

Referenced by ReadWorkFlow(), and SetupNextConf().

std::list< std::pair<int, int> >::const_iterator MLCEleCheckController::fNextStepIterator [private]

iterator pointing to the element of fTestSigValues corresponding to the next configuration to be measured.

Referenced by ReadWorkFlow(), and SetupNextConf().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:02 2010 for CUORE Software by  doxygen 1.5.6