changed to out formating of the fitting parameters such that enough relevant digits are written

This commit is contained in:
2012-11-06 06:52:33 +00:00
parent e1585a807e
commit e5dd674b44
3 changed files with 154 additions and 52 deletions

View File

@@ -79,6 +79,10 @@ class PMsr2Data
bool PrepareNewSortedInputFile(unsigned int) const; // template
PMsrHandler* GetSingleRunMsrFile() const;
void WriteValue(fstream &outFile, const double &value, const unsigned int &width) const;
void WriteValue(fstream &outFile, const double &value, const double &errValue, const unsigned int &width, const bool &db) const;
int GetFirstSignificantDigit(const double &value) const;
string fFileExtension;
vector<unsigned int> fRunVector;
mutable vector<unsigned int>::const_iterator fRunVectorIter;