Go to the documentation of this file.
27 int main(
int argc,
char **argv)
43 JParser<> zap(
"Auxiliary program to blend and write summary data.");
55 catch(
const exception &error) {
56 FATAL(error.what() << endl);
73 unsigned int number_of_modules = 0;
76 number_of_modules += inputFile.
next()->size();
79 if (number_of_modules <
detector.size()) {
80 FATAL(
"Input summary data insufficient: " << number_of_modules <<
" < " <<
detector.size() << endl);
92 for (
int frame_index = 1; frame_index <= numberOfEvents; ) {
94 NOTICE(
"event: " << setw(10) << frame_index <<
'\r');
DEBUG(endl);
103 if (summary.size() ==
detector.size()) {
Data structure for all trigger parameters.
Empty structure for specification of parser element that is initialised (i.e.
void load(const JString &file_name, JDetector &detector)
Load detector from input file.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual const pointer_type & next()
Get next element.
Auxiliary class to create summary data.
virtual bool hasNext()
Check availability of next element.
virtual void rewind()
Rewind.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define DEBUG(A)
Message macros.
KM3NeT DAQ data structures and auxiliaries.
int main(int argc, char **argv)
double getTimeOfFrame(const int frame_index)
Get start time of frame in ns since start of run for a given frame index.