30 #ifndef MILLEBINARY_H_ 31 #define MILLEBINARY_H_ 71 bool doublePrec =
false,
unsigned int aSize = 2000);
73 void addData(
double aMeas,
double aErr,
unsigned int numLocal,
74 unsigned int* indLocal,
double* derLocal,
75 const std::vector<int> &labGlobal,
76 const std::vector<double> &derGlobal);
MilleBinary(const std::string &fileName="milleBinaryISN.dat", bool doublePrec=false, unsigned int aSize=2000)
Create binary file.
void writeRecord()
Write record to file.
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::vector< double > doubleBuffer
Double buffer.
Namespace for the general broken lines package.
bool doublePrecision
Flag for storage in as double values.
std::ofstream binaryFile
Binary File.
Millepede-II (binary) record.
std::vector< float > floatBuffer
Float buffer.