18int main(
int argc,
char **argv)
29 JParser<> zap(
"Auxiliary program to print mechanical constants.");
32 zap[
'S'] =
make_field(
string,
"string number") = 0;
33 zap[
'D'] =
make_field(
id,
"detector identifier") = 0;
38 catch(
const exception &error) {
39 FATAL(error.what() << endl);
45 DEBUG(
"Load mechanical model parameters from file: " << JDetectorMechanics::getFilename(
id) << endl);
47 getMechanics.load(
id);
51 cout << setw(4) <<
string <<
' ' << getMechanics(
string) << endl;
53 cout << getMechanics << endl;
Mechanical modelling of string.
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
I/O formatting auxiliaries.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Empty structure for specification of parser element that is initialised (i.e. does not require input)...