29int main(
int argc,
char **argv)
55 catch(
const exception& error) {
56 FATAL(error.what() << endl);
60 outputFiles.first.open();
61 outputFiles.second.open();
63 outputFiles.first.put(
JMeta(argc, argv));
64 outputFiles.second.put(
JMeta(argc, argv));
70 const Evt*
event = inputFile.
next();
73 outputFiles.first.put(*event);
75 outputFiles.second.put(*event);
90 outputFiles.first.put(head);
91 outputFiles.second.put(head);
95 io >> outputFiles.first;
96 io >> outputFiles.second;
98 outputFiles.first.close();
99 outputFiles.second.close();
Recording of objects on file according a format that follows from the file name extension.
Auxiliaries for defining the range of iterations of objects.
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
I/O formatting auxiliaries.
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
void createUUID()
Create UUID if not already set.
Utility class to parse command line options.
General purpose class for object reading from a list of file names.
virtual bool hasNext() override
Check availability of next element.
counter_type getCounter() const
Get counter.
virtual const pointer_type & next() override
Get next element.
bool is_corsika(const JHead &header)
Check for generator.
bool is_gseagen(const JHead &header)
Check for generator.
void copy(const Head &from, JHead &to)
Copy header from from to to.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
KM3NeT DAQ data structures and auxiliaries.
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 ...
double numberOfEvents
Number of events.