24 int main(
int argc, 
char **argv)
 
   31   JLimit_t&       numberOfEvents = inputFile.getLimit();
 
   38     JParser<> zap(
"Auxiliary program to preprocess aanet files.");
 
   42     zap[
'n'] = 
make_field(numberOfEvents)                     = JLimit::max();
 
   44     zap[
'H'] = 
make_field(filterEmptyMCH, 
"Filter events without hits.");
 
   45     zap[
'T'] = 
make_field(timeOffset_ms, 
"Add time offset [ms] to events.") = 0;
 
   49   catch(
const exception& error) {
 
   50     FATAL(error.what() << endl);
 
   56   Head header = inputFile.getHeader();
 
   66     if (filterEmptyMCH and cur->
mc_hits.empty()) { 
continue; } 
 
   68     if (timeOffset_ms != 0) { 
add_time_offset (*cur, 1.0e6 * timeOffset_ms); }
 
int main(int argc, char **argv)
 
Recording of objects on file according a format that follows from the file name extension.
 
General purpose messaging.
 
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.
 
General purpose class for object reading from a list of file names.
 
virtual bool hasNext() override
Check availability of next element.
 
virtual const pointer_type & next() override
Get next element.
 
void add_time_offset(Evt &evt, const double tOff)
Add time offset to mc event; according to current definition, the absolute time of the event is defin...
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
 
std::vector< Hit > mc_hits
MC: list of MC truth hits.
 
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.