Go to the documentation of this file.
34 int main(
int argc,
char **argv)
47 JParser<> zap(
"Auxiliary program to convert format of detector files.");
51 zap[
'V'] =
make_field(variant) =
"", getDetectorVersions<string>();
56 catch(
const exception &error) {
57 FATAL(error.what() << endl);
63 load(detectorFile, detector);
65 catch(
const JException& error) {
70 detector.setVersion(variant);
73 detector.comment.add(JMeta(argc,argv));
78 catch(
const JException& error) {
void load(const JString &file_name, JDetector &detector)
Load detector from input file.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
void store(const JString &file_name, const JDetector &detector)
Store detector to output file.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object