53 Mille(
const char *outFileName,
bool asBinary =
true,
bool writeZero =
false);
56 void mille(
int NLC,
const float *derLc,
int NGL,
const float *derGl,
57 const int *label,
float rMeas,
float sigma);
58 void special(
int nSpecial,
const float *floatings,
const int *integers);
Class to write C binary file.
void end()
Write buffer (set of derivatives with same local parameters) to file.
int myBufferInt[myBufferSize]
to collect labels etc.
bool myAsBinary
if false output as text
bool checkBufferSize(int nLocal, int nGlobal)
Enough space for next nLocal + nGlobal derivatives incl. measurement?
void special(int nSpecial, const float *floatings, const int *integers)
Add special data to buffer.
std::ofstream myOutFile
C-binary for output.
bool myHasSpecial
if true, special(..) already called for this record
void kill()
Reset buffers, i.e. kill derivatives accumulated for current set.
float myBufferFloat[myBufferSize]
to collect derivatives etc.
int myBufferPos
position in buffer
void mille(int NLC, const float *derLc, int NGL, const float *derGl, const int *label, float rMeas, float sigma)
Add measurement to buffer.
bool myWriteZero
if true also write out derivatives/labels ==0
Mille(const char *outFileName, bool asBinary=true, bool writeZero=false)
author : Gero Flucke, University Hamburg, 2006 date : October 2006
void newSet()
Initialize for new set of locals, e.g. new track.
real(mps), dimension(nplan) sigma
measurement sigma (hit)