1 #ifndef __JSUPPORT__JDAQFILEREADER__ 
    2 #define __JSUPPORT__JDAQFILEREADER__ 
   20 namespace JPP { 
using namespace JSUPPORT; }
 
   34   template<class T, bool = JLANG::JConversion<T,JDAQPreamble>::is_derived>
 
   59       using namespace KM3NETDAQ;
 
   66           this->setstate(ios::badbit);
 
   70         } 
else if (preamble.getDataType() == getDataType<T>()) {
 
   72           buffer.resize(preamble.getLength());
 
Object reading from binary file. 
 
virtual bool setObject(T &object) override
Set object. 
 
Interface for null access. 
 
Binary input based on std::istream. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
Implementation for null iteration. 
 
Simple data structure for the DAQ preamble required for a correct calculation of the object size for ...
 
std::vector< char > buffer
 
Interface for object iteration with named access. 
 
DAQ object reading from binary file (i.e. .dat). 
 
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 CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in