Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 29 of file JORCAShowerPositionFit.cc.
38 JParallelFileScanner_t inputFile;
52 zap[
'F'] =
make_field(pdfFile) =
"PDF_ShowerPositionFit.root";
53 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
57 if (zap.
read(argc, argv) != 0)
return 1;
59 catch(
const exception& error){
60 FATAL(error.what() << endl);
84 while (inputFile.hasNext()) {
86 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
88 JParallelFileScanner_t::multi_pointer_type ps = inputFile.next();
98 ShowerPosFit.getJEvt(timeSliceBuildL0, timeSliceBuildL2, *in, out);
Auxiliary class for defining the range of iterations of objects.
class to handle the second step of the shower reconstruction, mainly dedicated for ORCA
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).
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.
General purpose class for object reading from a list of file names.
#define DEBUG(A)
Message macros.
KM3NeT DAQ data structures and auxiliaries.
Auxiliary classes and methods for 3D geometrical objects and operations.
Auxiliary classes and methods for detector calibration.
The template JSharedPointer class can be used to share a pointer to an object.
int read(const int argc, const char *const argv[])
Parse the program's command line options.