Go to the documentation of this file.
   26 int main(
int argc, 
char **argv)
 
   38     JParser<> zap(
"Example program to read Monte Carlo events.");
 
   40     zap[
'f'] = 
make_field(inputFile,      
"list of files");
 
   41     zap[
'n'] = 
make_field(numberOfEvents, 
"number of events to read from file(s)")  = JLimit::max();
 
   46   catch(
const exception &error) {
 
   47     FATAL(error.what() << endl);
 
   62       DEBUG(
"Monte Carlo event " << event->mc_id << endl);
 
   79       const Evt*       
event = ps;   
 
   82       DEBUG(
"Monte Carlo event " << event->mc_id      << endl);
 
  
Auxiliary class for defining the range of iterations of objects.
 
JTriggerCounter_t getCounter() const
Get trigger counter.
 
General purpose class for multiple pointers.
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
 
Utility class to parse command line options.
 
int main(int argc, char **argv)
 
virtual bool hasNext()
Check availability of next element.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
counter_type getCounter() const
Get counter.
 
virtual const pointer_type & next()
Get next element.
 
virtual const multi_pointer_type & next()
Get next element.
 
virtual bool hasNext()
Check availability of next element.
 
Auxiliary class to synchronously read DAQ events and Monte Carlo events (and optionally other events)...
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
#define DEBUG(A)
Message macros.
 
KM3NeT DAQ data structures and auxiliaries.