Go to the source code of this file.
◆ operator<<()
Write fit results to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | fit | fit results  | 
  
   
- Returns
 - output stream 
 
Definition at line 12 of file JReconstruction/JEvt.cc.
   13{
   16    
   18 
   19  out << "history:";
   20 
   21  for (JHistory::const_reverse_iterator i = history.rbegin(); i != history.rend(); ++i) {
   22    out << ' ' << i->type;
   23  }
   24 
   25  out << endl;
   26      
   27  out << 
"x    " << 
FIXED(7,2) << fit.
getX()  << endl;
 
   28  out << 
"y    " << 
FIXED(7,2) << fit.
getY()  << endl;
 
   29  out << 
"z    " << 
FIXED(7,2) << fit.
getZ()  << endl;
 
   30  out << 
"dx   " << 
FIXED(7,3) << fit.
getDX() << endl;
 
   31  out << 
"dy   " << 
FIXED(7,3) << fit.
getDY() << endl;
 
   32  out << 
"dz   " << 
FIXED(7,3) << fit.
getDZ() << endl;
 
   33 
   34  out << 
"Q    " << 
FIXED(12,5) << fit.
getQ()   << endl;
 
   35  out << 
"NDF  " << setw(5)     << fit.
getNDF() << endl;
 
   36 
   37  out << 
"status " << fit.
getStatus() << endl;
 
   38 
   39  for (
int i = 0; i != fit.
getN(); ++i) {
 
   40    out << 
"W[" << i << 
"] = " << 
FIXED(10,5) << fit.
getW(i) << endl;
 
   41  }
   42 
   43  return out;
   44}
double getDZ() const
Get Z-slope.
 
double getDY() const
Get Y-slope.
 
double getZ() const
Get Z-position.
 
int getStatus() const
Get status of the fit; negative values should refer to a bad fit.
 
double getDX() const
Get X-slope.
 
double getY() const
Get Y-position.
 
double getQ() const
Get quality.
 
const std::vector< double > & getW() const
Get associated values.
 
int getN() const
Get number of associated values.
 
int getNDF() const
Get number of degrees of freedom.
 
double getX() const
Get X-position.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary data structure for floating point format specification.
 
Container for historical events.
 
const JHistory & getHistory() const
Get history.