30 int main(
int argc,
char **argv)
37 JLimit_t& numberOfEvents = inputFile.getLimit();
42 JParser<> zap(
"Example program to add MultiHead.");
45 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
51 catch(
const exception& error) {
52 FATAL(error.what() << endl);
68 buffer.push_back(header);
73 }
catch(
const exception& error) {
74 FATAL(
"Missing header." << endl);
81 const Evt* evt = inputFile.
next();
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
#define DEBUG(A)
Message macros.
int main(int argc, char **argv)
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
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
virtual bool hasNext() override
Check availability of next element.
counter_type getCounter() const
Get counter.
virtual const pointer_type & next() override
Get next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
The Head class reflects the header of Monte-Carlo event files, which consists of keys (also referred ...
Auxiliary class for defining the range of iterations of objects.