29 int main(
int argc, 
char **argv)
 
   33   using namespace KM3NETDAQ;
 
   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));  
 
   66   while (inputFile.hasNext()) {
 
   68     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
   70     const Evt* 
event = inputFile.next();
 
   72     if (inputFile.getCounter() & 1) { 
 
   73       outputFiles.first.put(*event);
 
   75       outputFiles.second.put(*event);
 
   84     header.genvol.numberOfEvents /= 2;
 
   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();  
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
bool is_gseagen(const JHead &header)
Check for generator. 
 
Recording of objects on file according a format that follows from the file name extension. 
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header. 
 
I/O formatting auxiliaries. 
 
bool is_corsika(const JHead &header)
Check for generator. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
General purpose messaging. 
 
The Head class reflects the header of Monte-Carlo event files, which consists of keys (also referred ...
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
void copy(const Head &from, JHead &to)
Copy header from from to to. 
 
Auxiliaries for defining the range of iterations of objects. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event. 
 
#define DEBUG(A)
Message macros.