46 int main(
int argc,
char **argv)
62 JParser<> zap(
"Auxiliary program to blend and write summary data.");
74 catch(
const exception &error) {
75 FATAL(error.what() << endl);
91 unsigned int number_of_modules = 0;
94 number_of_modules += inputFile.
next()->size();
97 if (number_of_modules <
detector.size()) {
98 FATAL(
"Input summary data insufficient: " << number_of_modules <<
" < " <<
detector.size() << endl);
110 for (
int frame_index = 1; frame_index <= numberOfEvents; ) {
112 NOTICE(
"event: " << setw(10) << frame_index <<
'\r');
DEBUG(endl);
121 if (summary.size() ==
detector.size()) {
Data structure for detector geometry and calibration.
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
#define DEBUG(A)
Message macros.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Auxiliaries for creation of summary data.
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
General purpose class for object reading from a list of file names.
virtual void rewind() override
Rewind.
virtual bool hasNext() override
Check availability of next element.
virtual const pointer_type & next() override
Get next element.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
double getTimeOfFrame(const int frame_index)
Get start time of frame in ns since start of run for a given frame index.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class to create summary data.