40 int main(
int argc, 
char **argv)
 
   44   using namespace KM3NETDAQ;
 
   51   typedef JParallelFileScanner_t::multi_pointer_type               multi_pointer_type;
 
   53   JParallelFileScanner_t   inputFile;
 
   54   size_t                   numberOfEvents;
 
   62     JParser<> zap(
"Program to extract events based on muon reconstruction."\
 
   63                   "\nEvents outside the accepted range of cosine zenith angle will have no hits.");
 
   65     zap[
'f'] = 
make_field(inputFile,      
"input file (output of JXXXMuonReconstruction.sh)");
 
   66     zap[
'n'] = 
make_field(numberOfEvents)                                           = std::numeric_limits<size_t>::max();
 
   73   catch(
const exception& error) {
 
   74     FATAL(error.what() << endl);
 
   81   while (inputFile.hasNext()) {
 
   83     STATUS(
"event: " << setw(8) << inputFile.getCounter() << 
'\r' << flush);
 
   85     multi_pointer_type ps = inputFile.next();
 
   96       status = ct(fit.getDZ());
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
Recording of objects on file according a format that follows from the file name extension. 
 
General purpose class for parallel reading of objects from a single file or multiple files...
 
const JFit & get_best_reconstructed_muon(const JEvt &evt)
Get best reconstructed muon. 
 
Type definition of range. 
 
I/O formatting auxiliaries. 
 
Auxiliary class for recursive type list generation. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
Parallel scanning of objects from a single file or multiple files according a format that follows fro...
 
General purpose messaging. 
 
Data structure for set of track fit results. 
 
bool has_reconstructed_muon(const JEvt &evt)
Test whether given event has a track with muon reconstruction. 
 
Auxiliary class to define a range between two values. 
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options.