1 #ifndef __JSUPPORT__JDAQFILEREADER__
2 #define __JSUPPORT__JDAQFILEREADER__
22 namespace JPP {
using namespace JSUPPORT; }
39 template<class T, bool = JLANG::JConversion<T,JDAQPreamble>::is_derived>
77 using namespace KM3NETDAQ;
84 this->setstate(ios::badbit);
88 }
else if (preamble.getDataType() == getDataType<T>()) {
90 buffer.resize(preamble.getLength());
Object reading from binary file (i.e. .jpp).
virtual bool setObject(T &object) override
Set object.
Interface for null access.
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
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 JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
JDAQFileReader()
Default constructor.