Go to the documentation of this file.
24 int main(
int argc,
char **argv)
31 JLimit_t& numberOfEvents = inputFile.getLimit();
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;
Auxiliary class for defining the range of iterations of objects.
#define ASSERT(A,...)
Assert macro.
virtual bool hasNext()
Check availability of next element.
Utility class to parse command line options.
int getDetectorID() const
Get detector identifier.
virtual const pointer_type & next()
Get next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for multiplexing object iterators.
int getRunNumber() const
Get run number.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose class for object reading from a list of file names.
KM3NeT DAQ data structures and auxiliaries.
Long64_t counter_type
Type definition for counter.