60 JParser<> zap(
"Auxiliary program to convert binary data to ROOT formatted data.");
69 catch(
const exception &error) {
83 if (!writer.is_open()) {
99 ifstream in(i->c_str());
105 if (!(is >> preamble)) {
109 DEBUG(
"length " << preamble.getLength() <<
endl);
110 DEBUG(
"type " << preamble.getDataType() <<
endl);
114 ERROR(
"File " << *i <<
" invalid length " << preamble.getLength() <<
endl);
121 if (i != writer.end()) {
123 buffer.resize(preamble.getLength());
132 i->second->copy(
bin);
138 ERROR(
"Illegal data type, skip" <<
endl);
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
TTree reading for template data type.
Binary input based on std::istream.
Template definition of a multi-dimensional oscillation probability interpolation table.
map_type::iterator iterator
static JKey_t getKey(JType< T > type)
Get key.
Simple data structure for the DAQ preamble required for a correct calculation of the object size for ...
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Support classes and methods for experiment specific I/O.
KM3NeT DAQ data structures and auxiliaries.
Auxiliary class for a type holder.