24 int main(
int argc,
char **argv)
28 using namespace KM3NETDAQ;
36 JParser<> zap(
"Auxiliary program to print DAQ header data.");
38 zap[
'f'] =
make_field(inputFile,
"input file.");
44 catch(
const exception &error) {
45 FATAL(error.what() << endl);
53 int numberOfErrors = 0;
56 for ( ; in.
hasNext() && counter != inputFile.getLimit(); ++counter) {
67 if (inputFile.getLimit() > 1) {
68 ASSERT(numberOfErrors == 0);
72 cout << header << endl;
Utility class to parse command line options.
ROOT TTree parameter settings of various packages.
int getDetectorID() const
Get detector identifier.
Long64_t counter_type
Type definition for counter.
Auxiliary class for multiplexing object iterators.
int getRunNumber() const
Get run number.
Auxiliary class for defining the range of iterations of objects.
#define ASSERT(A,...)
Assert macro.
I/O formatting auxiliaries.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
virtual const pointer_type & next() override
Get next element.
virtual bool hasNext() override
Check availability of next element.
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
General purpose class for object reading from a list of file names.
Utility class to parse command line options.
const JLimit & getLimit() const
Get limit.
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
int main(int argc, char *argv[])