endmod
Parameters: StabAlgo [string = StabilizationBerkeley] StabVersion [int = 0 ] AmpAlgo [ string = "OB"] AmpVersion [int = 0] NumberOfIterations [ int = 2]: Number of time the stabilization algorithm has been applied The number of parameters and time files read is determined by this number MaximumDegree [int = 10]: the maximum degree of the polynomials used to stabilize
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 QEvent * | Do (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 |