39     return KM3NETDAQ::getDataType<T>();
 
   49 int main(
int argc, 
char **argv)
 
   55   Long64_t       numberOfEvents;
 
   60     JParser<> zap(
"Auxiliary program to convert binary data to ROOT formatted data.");
 
   64     zap[
'n'] = 
make_field(numberOfEvents)  = numeric_limits<Long64_t>::max();
 
   69   catch(
const exception &error) {
 
   70     FATAL(error.what() << endl);
 
   76   using namespace KM3NETDAQ;
 
   84   if (!writer.is_open()) {
 
   94   Long64_t event_count = 0;
 
   98     STATUS(
"File: " << *i << endl);
 
  100     ifstream 
in(i->c_str());
 
  104       STATUS(
"event: " << setw(10) << event_count << 
'\r'); 
DEBUG(endl);
 
  106       if (!(
is >> preamble)) {
 
  110       DEBUG(
"length   " << preamble.getLength()   << endl);
 
  111       DEBUG(
"type     " << preamble.getDataType() << endl);
 
  115         ERROR(
"File " << *i << 
" invalid length " << preamble.getLength() << endl);
 
  122       if (i != writer.end()) {
 
  124         buffer.resize(preamble.getLength());
 
  133         i->second->copy(bin);
 
  139         ERROR(
"Illegal data type, skip" << endl);
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
Auxiliary class to copy input data to corresponding TTree. 
 
Auxiliary class for a type holder. 
 
TTree reading for template data type. 
 
static JKey_t getKey(JType< T > type)
Get key. 
 
Binary input based on std::istream. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
map_type::iterator iterator
 
Simple data structure for the DAQ preamble required for a correct calculation of the object size for ...
 
virtual void open(const char *file_name) override
Open file. 
 
General purpose messaging. 
 
Utility class to parse command line options. 
 
size_t getSizeof< JDAQPreamble >()
Get size of type. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
#define DEBUG(A)
Message macros.