MStabDbWriter Class Reference

Inheritance diagram for MStabDbWriter:

QModule QBaseModule

List of all members.


Detailed Description

Writes the parameters of the fits used for stabilizing in the data base the config file parameters are the names of the files in which the information is stored.

Author:
Elena Guardincerri
  • Config example:
     module StabDbWriter
     verbosity = info
     enable = true
     StabAlgo = StabilizationBerkeley
     StabVersion = 0
     AmpAlgo = OB
     AmpVersion = 0
     NumberOfIterations = 2
     MaximumDegree = 10 
     ParametersBFileName0 = parametersB_0.txt
     ParametersBFileName1 = parametersB_1.txt
     TimesBFileName0 = thermometerB_0.txt
     TimesBFileName1 = thermometerB_1.txt
     ParametersTFileName0 = parametersT_0.txt
     ParametersTFileName1 = parametersT_1.txt
     TimesTFileName0 = thermometerT_0.txt
     TimesTFileName1 = thermometerT_1.txt
endmod

TimesBFileNameX [string = "thermometerB_X.txt"]:
   ASCII file where the time intervals the measurement has
    been divided into are written.
   These are the intervals used to stabilize in the baseline domain.
   X is a number ranging from 0 to NumberOfIterations - 1

Public Member Functions

 MStabDbWriter (QSequence *)
 Constructor.
virtual void Init ()
 Init method: reads parameters.
virtual QEventDo (QEvent *)
 Do method: correct pulse amplitudes.
virtual void Done ()
 Done method is called after event loop.

Private Member Functions

std::map< int, std::vector< int > > Sort (std::vector< std::map< int, std::vector< int > > > &)
void Sort (std::map< int, std::vector< int > > &, std::map< int, std::vector< int > > &, std::map< int, std::vector< int > > &)
int DetermineInterval (time_t, time_t, std::vector< int > &)

Private Attributes

int fNumberOfIterations
std::vector< std::string > fTimeBFiles
std::vector< std::string > fTimeTFiles
std::vector< std::string > fParametersBFiles
std::vector< std::string > fParametersTFiles
std::string fStabAlgo
std::string fAmpAlgo
int fStabVersion
int fAmpVersion
int fStartTime
int fStopTime
bool fFirstEvent
int fParametersMax
std::vector< std::map< int,
std::vector< int > > > 
fTimesIterationsB
std::vector< std::map< int,
std::vector< int > > > 
fTimesIterationsT
std::map< int, std::vector< int > > fTimes
int fRun

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