public class MilleBinary extends Object
Modifier and Type | Field and Description |
---|---|
(package private) FileChannel |
_channel |
(package private) List<Float> |
_floatBuffer |
(package private) List<Integer> |
_intBuffer |
(package private) static String |
DEFAULT_OUTPUT_FILE_NAME |
Constructor and Description |
---|
MilleBinary()
Default Constructor
|
MilleBinary(String outputFileName)
Fully qualified Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addData(float aMeas,
float aErr,
List<Integer> indLocal,
List<Double> derLocal,
List<Integer> labGlobal,
List<Double> derGlobal)
Add data block to (end of) record.
|
void |
close()
Closes the binary output file
|
void |
printRecord() |
void |
writeRecord()
Write record to file.
|
FileChannel _channel
static String DEFAULT_OUTPUT_FILE_NAME
public MilleBinary()
public MilleBinary(String outputFileName)
outputFileName
- name of output binary file for millepede IIpublic void close()
public void addData(float aMeas, float aErr, List<Integer> indLocal, List<Double> derLocal, List<Integer> labGlobal, List<Double> derGlobal)
aMeas
- ValueaErr
- ErrorindLocal
- List of labels of local parametersderLocal
- List of derivatives for local parameterslabGlobal
- List of labels of global parametersderGlobal
- List of derivatives for global parameterspublic void writeRecord()
public void printRecord()
Copyright © 2019. All rights reserved.