51 typedef JParallelFileScanner_t::multi_pointer_type multi_pointer_type;
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) {
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());
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
int main(int argc, char **argv)
Parallel scanning of objects from a single file or multiple files according a format that follows fro...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Auxiliary class to define a range between two values.
ROOT TTree parameter settings of various packages.
Data structure for set of track fit results.
Template definition of a multi-dimensional oscillation probability interpolation table.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const JFit & get_best_reconstructed_muon(const JEvt &evt)
Get best reconstructed muon.
bool has_reconstructed_muon(const JEvt &evt)
Test whether given event has a track with muon reconstruction.
KM3NeT DAQ data structures and auxiliaries.
Type definition of range.