MWPSlowController Class Reference
[Modules]

Inheritance diagram for MWPSlowController:

QDriver QBaseModule

List of all members.


Detailed Description

to be done

Author:
Marco Vignati The purpose of this module is to handle parallelization in the load curves procedure.

Public Member Functions

 MWPSlowController (QSequence *s)
 constructor
virtual ~MWPSlowController ()
 destructor
Action Init ()
 Init method.
Action Do (QEvent *ev)
 return immediately if there are still measurements to be performed with current electronics configuration, or prepare new configuration if there are no channels that are still waiting for a measurement with current one
Action Done ()
 Done method.

Private Member Functions

void GroupChannels (const std::list< unsigned int > &channels)
 group logical channels in subgroups
void InitConfig (QEleChannelConfig &conf)
 init QLCMeasConfig object with default front end settings values
QWPCommon::Step PopulateNextConfig (const QWPCommon::Step step)
 determine electronics configuration for next set of measurements and apply to hardware

Private Attributes

std::vector< std::list
< unsigned int > > 
fGroups
 vector of logical channel subgroups. Each element is in turn a list of logical channels belonging to a given subgroup
std::map< unsigned int,
QEleChannelConfig
fGroupStartConfigs
std::map< unsigned int,
QEleChannelConfig
fDumpStartConfigs
std::set< unsigned int > fNextChannels
std::string fTmpConfigOutputFile
std::string fConfigOutputFile
QLCConfigWriter fFullCfgWriter
QLCConfigReader fCfgReader
QLCConfigWriter fCfgWriter
bool fGndMeasurement
int fRL
int fBias
double fExternalBias
bool fInvertPolarity
bool fAdjustOffset
bool fGGMeasurement
std::map< unsigned int,
unsigned int > 
fEventsPerConfig
int fMaxEvPerConfig
QWPCommon::Step fStep
int fGain
unsigned int fDaqRun
bool fReadConfigFromFile
std::map< unsigned int, Offset > fOffsetsMap

Classes

struct  Offset

Member Function Documentation

QDriver::Action MWPSlowController::Init (  )  [virtual]

void MWPSlowController::GroupChannels ( const std::list< unsigned int > &  channels  )  [private]

group logical channels in subgroups

Parameters:
channels list of all logical channels to be grouped
channels are grouped in ascending order and with the group size specified in the cfg file

References fGroups, QBaseModule::GetInt(), and QBaseModule::Info().

Referenced by Init().

void MWPSlowController::InitConfig ( QEleChannelConfig conf  )  [private]

init QLCMeasConfig object with default front end settings values

Parameters:
conf QLCMeasConfig object to be initialized (passed by reference)
polarity bias polarity to be set in new configuration

QWPCommon::Step MWPSlowController::PopulateNextConfig ( const QWPCommon::Step  step  )  [private]


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

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