31 Mille(
const char *outFileName,
bool asBinary =
true,
bool writeZero =
false);
34 void mille(
int NLC,
const float *derLc,
int NGL,
const float *derGl,
35 const int *label,
float rMeas,
float sigma);
36 void special(
int nSpecial,
const float *floatings,
const int *integers);
bool myHasSpecial
if true, special(..) already called for this record largest label allowed: 2^31 ...
void mille(int NLC, const float *derLc, int NGL, const float *derGl, const int *label, float rMeas, float sigma)
Add measurement to buffer.
bool myAsBinary
if false output as text
std::ofstream myOutFile
C-binary for output.
float myBufferFloat[myBufferSize]
to collect derivatives etc.
void special(int nSpecial, const float *floatings, const int *integers)
Add special data to buffer.
void kill()
Reset buffers, i.e. kill derivatives accumulated for current set.
bool myWriteZero
if true also write out derivatives/labels ==0 buffer size for ints and floa...
Double_t sigma[NCHANNELS]
void end()
Write buffer (set of derivatives with same local parameters) to file.
int myBufferInt[myBufferSize]
to collect labels etc.
Class to write C binary file.
int myBufferPos
position in buffer
void newSet()
Initialize for new set of locals, e.g. new track.
bool checkBufferSize(int nLocal, int nGlobal)
Enough space for next nLocal + nGlobal derivatives incl. measurement?
Mille(const char *outFileName, bool asBinary=true, bool writeZero=false)
Opens outFileName (by default as binary file).