28 int main(
int argc, 
char**argv)
 
   42     JParser<> zap(
"Test program for position fit.");
 
   53   catch(
const exception &error) {
 
   54     FATAL(error.what() << endl);
 
   58   TH1D hx(
"hx", NULL, 101, -1.0, +1.0);
 
   59   TH1D hy(
"hy", NULL, 101, -1.0, +1.0);
 
   60   TH1D hz(
"hz", NULL, 101, -1.0, +1.0);
 
   67   for (
int i = 0; i != numberOfEvents; ++i) {
 
   75     for (
int j = 0; 
j != numberOfAxes; ++
j) {
 
   77       const double x  = gRandom->Gaus(0.0, 
sigma);
 
   78       const double y  = gRandom->Gaus(0.0, 
sigma);
 
   79       const double z  = gRandom->Gaus(0.0, 
sigma);
 
   81       const double dx = gRandom->Uniform(-1, +1);
 
   82       const double dy = gRandom->Uniform(-1, +1);
 
   83       const double dz = gRandom->Uniform(-1, +1);
 
  111     out << hx << hy << hz;
 
  117   ASSERT(numberOfEvents > 0);
 
General purpose messaging.
 
#define ASSERT(A,...)
Assert macro.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Linear fit of JFIT::JPoint3D.
 
int main(int argc, char **argv)
 
I/O formatting auxiliaries.
 
Linear fit of crossing point (position) between axes (objects with position and direction).
 
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.
 
Data structure for normalised vector in three dimensions.
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).