16int main(
int argc,
char **argv)
31 JParser<> zap(
"Example application for acoustics geometry.");
41 catch(
const exception &error) {
42 FATAL(error.what() << endl);
48 const double x0 = 0.0;
49 const double y0 = 0.0;
50 const double z0 = 0.0;
54 string.has_hydrophone =
true;
58 for (
int i = 1; i <= grid.getSize(); ++i) {
63 <<
FIXED(6,3) << parameters.
tx <<
' '
64 <<
FIXED(6,3) << parameters.
ty << endl;
74 for (
int i = 1; i <= grid.getSize(); ++i) {
77 string.getPosition(parameters, i - 1),
78 string.getPosition(parameters, i)
81 cout << setw(2) << i <<
' '
94 for (
int i = 1; i <= grid.getSize(); ++i) {
Model for fit to acoutsics data.
int main(int argc, char **argv)
Example application for acoustics geometry.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Data structure for position in three dimensions.
const JPosition3D & getPosition() const
Get position.
double getY() const
Get y position.
double getZ() const
Get z position.
double getX() const
Get x position.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
Auxiliary data structure for parameters of mechanical model.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...