24int main(
int argc,
char **argv)
36 JParser<> zap(
"Example for determination of center of optical module.");
38 zap[
'e'] =
make_field(precision,
"precision of fit comparison and centering") =
pair_type(1.0e-12, 1.0e-4);
43 catch(
const exception &error) {
44 FATAL(error.what() << endl);
47 const JModule module = getModule<JKM3NeT_t>(1001);
51 DEBUG(
"position " << position << endl);
52 DEBUG(
"center " << center << endl);
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
Data structure for optical module.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Linear fit of JFIT::JPoint3D.
I/O formatting auxiliaries.
Data structure for a composite optical module.
Template definition of linear fit.
Data structure for position in three dimensions.
Data structure for vector in three dimensions.
bool equals(const JVector3D &vector, const double precision=std::numeric_limits< double >::min()) const
Check equality.
Utility class to parse command line options.
int main(int argc, char **argv)
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).