1 #ifndef __JSUPPORT__JDAQFILEREADER__
2 #define __JSUPPORT__JDAQFILEREADER__
23 namespace JPP {
using namespace JSUPPORT; }
40 template<class T, bool = JLANG::JConversion<T,JDAQPreamble>::is_derived>
78 using namespace KM3NETDAQ;
85 this->setstate(ios::badbit);
89 }
else if (preamble.getDataType() == getDataType<T>()) {
91 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).
then fatal The output file must have the wildcard in the e g root fi 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
size_t getSizeof< JDAQPreamble >()
Get size of type.
JDAQFileReader()
Default constructor.