45 int main(
int argc,
char **argv)
55 JParser<> zap(
"Example program to print eigen values in 3D.");
62 catch(
const exception& error) {
63 FATAL(error.what() << endl);
67 vector<JVector3D> buffer;
69 if (inputFile !=
"") {
71 ifstream in(inputFile.c_str());
73 for (
double x,
y, z; in >>
x >>
y >> z; ) {
83 for (JEigenValues3D::const_iterator i = eigen.begin(); i != eigen.end(); ++i) {
84 cout <<
FIXED(7,3) << i->first <<
' ' << i->second << endl;
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Data structure for vector in three dimensions.
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.