Go to the documentation of this file.
34 int main(
int argc,
char **argv)
43 JParallelFileScanner_t inputFile;
52 JParser<> zap(
"Program to perform intermediate fit of muon trajectory to data.");
58 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
63 catch(
const exception& error) {
64 FATAL(error.what() << endl);
83 const JMuonSimplex muonSimplex(moduleRouter, muonParams);
85 while (inputFile.hasNext()) {
87 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
89 JParallelFileScanner_t::multi_pointer_type ps = inputFile.next();
98 muonSimplex.
getJEvt(timeSlice, *in, out);
Auxiliary class for defining the range of iterations of objects.
Empty structure for specification of parser element that is initialised (i.e.
void load(const JString &file_name, JDetector &detector)
Load detector from input file.
Utility class to parse command line options.
Data structure for set of track fit results.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
int main(int argc, char **argv)
const JLimit & getLimit() const
Get limit.
Router for direct addressing of module data in detector data structure.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose class for parallel reading of objects from a single file or multiple files.
#define DEBUG(A)
Message macros.
class to handle the Simplex angular reconstruction.
KM3NeT DAQ data structures and auxiliaries.
void getJEvt(const KM3NETDAQ::JDAQTimeslice &timeSlice, JFIT::JEvt &InPreFits, JFIT::JEvt &OutFits) const
Declaration of Member function that actually performs the reconstruction.
Object reading from a list of files.
The template JSharedPointer class can be used to share a pointer to an object.