30 using namespace KM3NETDAQ;
31 using namespace JDETECTOR;
32 using namespace JLANG;
36 int main(
int argc,
char **argv) {
49 zap[
'f'] =
make_field(inputFile ,
"Path to input file " );
50 zap[
'o'] =
make_field(outputFile ,
"Path to output file" ) =
"out.root";
51 zap[
'a'] =
make_field(detectorFile ,
"path to detector file" );
58 catch(
const exception &error) {
59 ERROR(error.what() << endl);
62 RunAnalyzer Analyzer (inputFile, detectorFile, nTimeslices, nSummaryslices, nEvents);
74 TFile out(outputFile.c_str(),
"recreate");
80 run_histograms.Write_to_file(out);
Utility class to parse command line options.
int main(int argc, char *argv[])
ROOT TTree parameter settings of various packages.
static counter_type max()
Get maximum counter value.
Data structure for detector geometry and calibration.
Timeslice data structure for L1 data.
Auxiliary class for defining the range of iterations of objects.
Class dedicated to the analysis of KM3NeT runs.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
JRA_Histograms getHistograms()
Timeslice data structure for L2 data.
Timeslice data structure for SN data.
bool putObject(TDirectory &dir, const TObject &object)
Write object to ROOT directory.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Direct access to module in detector data structure.
Utility class to parse command line options.
KM3NeT DAQ constants, bit handling, etc.
Timeslice data structure for L0 data.