Auxiliary program to print fit results;. 
   88   using namespace KM3NETDAQ;
 
   91   typedef JParallelFileScanner_t::multi_pointer_type          multi_pointer_type;
 
   93   JParallelFileScanner_t inputFile;
 
  101     JParser<> zap(
"Auxiliary program to print fit results.");
 
  104     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
  111   catch(
const exception& error) {
 
  112     FATAL(error.what() << endl);
 
  117   const int WIDTH = 16;
 
  124     center = get<JPosition3D>(
getHeader(inputFile));
 
  125   } 
catch(
const exception& error) {}
 
  128   while (inputFile.hasNext()) {
 
  130     cout << 
"event: " << setw(10) << inputFile.getCounter() << endl;
 
  132     multi_pointer_type ps = inputFile.next();
 
  143     cout << 
"trigger: " << setw(10) << tev->
getCounter() << 
' '  
  146     if (mc.getEntries() != 0) {
 
  160           cout << 
LEFT(
WIDTH) << 
"neutrino" << right << 
' ' << ta << endl;
 
  172                                   is_hadron  (*i) ? 
"hadron"   : 
"other") << right << 
' ' << ta << endl;
 
  177     cout << 
"number of fits " << setw(4) << right << evt->size() << endl;
 
  179     for (
size_t i = 0; i != min(evt->size(), numberOfFits); ++i) {
 
  181       const JFit& fit = (*evt)[i];
 
  187       cout << 
LEFT(
WIDTH) << 
"fit" << right  << 
' '   
  189            << 
FIXED(7,2) << fit.getQ()       << 
' ' 
  193       cout << fit.getHistory() << endl;
 
bool is_electron(const Trk &track)
Test whether given track is a (anti-)electron. 
 
Auxiliary data structure for alignment of data. 
 
Utility class to parse command line options. 
 
JDAQUTCExtended getTimesliceStart() const 
Get start of timeslice. 
 
JTrack3E getTrack(const Trk &track)
Get track. 
 
static const int JENERGY_MAXIMAL_ENERGY
maximal energy [GeV] from JEnergy.cc 
 
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. 
 
General purpose sorter of fit results. 
 
General purpose class for parallel reading of objects from a single file or multiple files...
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
 
Auxiliary class to convert DAQ hit time to/from Monte Carlo hit time. 
 
Auxiliary data structure for floating point format specification. 
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header. 
 
static const int JENERGY_MINIMAL_ENERGY
minimal energy [GeV] from JEnergy.cc 
 
Auxiliary class for defining the range of iterations of objects. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
double putTime() const 
Get Monte Carlo time minus DAQ/trigger time. 
 
Reconstruction type dependent comparison of track quality. 
 
Data structure for position in three dimensions. 
 
const JLimit & getLimit() const 
Get limit. 
 
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino. 
 
bool is_hadron(const Trk &track)
Test whether given track is a hadron. 
 
Auxiliary data structure for floating point format specification. 
 
JTriggerCounter_t getCounter() const 
Get trigger counter. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.