83 MilleBinary(
const std::string& fileName =
"milleBinaryISN.dat",
84 bool doublePrec =
false,
bool keepZeros =
false,
85 unsigned int aSize = 2000);
87 void addData(
double aMeas,
double aErr,
unsigned int numLocal,
88 unsigned int* indLocal,
double* derLocal,
89 const std::vector<int> &labGlobal,
90 const std::vector<double> &derGlobal);
Millepede-II (binary) record.
MilleBinary(const std::string &fileName="milleBinaryISN.dat", bool doublePrec=false, bool keepZeros=false, unsigned int aSize=2000)
Create binary file.
std::vector< float > floatBuffer
Float buffer.
std::vector< double > doubleBuffer
Double buffer.
void writeRecord()
Write record to file.
bool doublePrecision
Flag for storage in as double values.
bool globalDerKeepZeros
Flag for keeping global derivatives with value zero.
std::vector< int > intBuffer
Integer buffer.
void addData(double aMeas, double aErr, unsigned int numLocal, unsigned int *indLocal, double *derLocal, const std::vector< int > &labGlobal, const std::vector< double > &derGlobal)
Add data block to (end of) record.
std::ofstream binaryFile
Binary File.
Namespace for the general broken lines package.