33 int main(
int argc, 
char **argv)
 
   37   using namespace KM3NETDAQ;
 
   48     JParser<> zap(
"Auxiliary program to store Monte Carlo true muon in format for subsequent fits.");
 
   52     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   57   catch(
const exception& error) {
 
   58     FATAL(error.what() << endl);
 
   69   while (inputFile.hasNext()) {
 
   71     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
   76     const Evt*       
event = ps;
 
   83     if (muon != event->mc_trks.end()) {
 
Utility class to parse command line options. 
 
ROOT TTree parameter settings. 
 
JTrack3E getTrack(const Trk &track)
Get track. 
 
Synchronously read DAQ events and Monte Carlo events (and optionally other events). 
 
double putTime() const 
Get Monte Carlo minus DAQ/trigger hit time. 
 
bool has_neutrino(const Evt &evt)
Test whether given event has an incoming neutrino. 
 
bool is_muon(const Trk &track)
Test whether given track is a (anti-)muon. 
 
Recording of objects on file according a format that follows from the file name extension. 
 
Auxiliary class to synchronously read DAQ events and Monte Carlo events (and optionally other events)...
 
JTime & add(const JTime &value)
Addition operator. 
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header. 
 
Auxiliary class for defining the range of iterations of objects. 
 
double getE() const 
Get energy. 
 
Data structure for vector in three dimensions. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
General purpose messaging. 
 
JFit getFit(const JHistory &history, const JTrack3D &track, const double Q, const int NDF, const double energy=0.0, const int status=0)
Get fit. 
 
Vec pos
postion of the track at time t [m] 
 
Data structure for set of track fit results. 
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time. 
 
const JLimit & getLimit() const 
Get limit. 
 
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino. 
 
General purpose class for multiple pointers. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event. 
 
#define DEBUG(A)
Message macros. 
 
int main(int argc, char *argv[])