Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Functions
JConvertFit.cc File Reference

Auxiliary program to convert data formats. More...

#include <string>
#include <iostream>
#include <iomanip>
#include "km3net-dataformat/offline/Head.hh"
#include "km3net-dataformat/offline/MultiHead.hh"
#include "km3net-dataformat/offline/Evt.hh"
#include "JDAQ/JDAQTimesliceIO.hh"
#include "JDAQ/JDAQEventIO.hh"
#include "JDAQ/JDAQSummarysliceIO.hh"
#include "JTrigger/JTriggerParameters.hh"
#include "JSupport/JMultipleFileScanner.hh"
#include "JSupport/JFileRecorder.hh"
#include "JSupport/JMeta.hh"
#include "JSupport/JSupport.hh"
#include "JReconstruction/JEvt.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Auxiliary program to convert data formats.

Author
mdejong

Definition in file JConvertFit.cc.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 32 of file JConvertFit.cc.

33{
34 using namespace std;
35 using namespace JPP;
36
38
41 int debug;
42
43 try {
44
45 JParser<> zap("Auxiliary program to convert data formats including JFIT::JEvt data." \
46 "\nThis application can be used to combine multiple files from J(Muon|Shower)XXX[.sh] after splitting raw data file with e.g. JDAQSplit.");
47
48 zap['f'] = make_field(inputFile);
50 zap['d'] = make_field(debug) = 1;
51
52 zap(argc, argv);
53 }
54 catch(const exception& error) {
55 FATAL(error.what() << endl);
56 }
57
58
59 outputFile.open();
60
62
63 inputFile >> outputFile;
64
65 outputFile.close();
66}
string outputFile
#define FATAL(A)
Definition JMessage.hh:67
int debug
debug level
Definition JSirene.cc:72
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Definition JParser.hh:2142
Template definition of a multi-dimensional oscillation probability interpolation table.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for ROOT I/O of application specific meta data.
Definition JMeta.hh:72