#include <istream>
#include <ostream>
#include <iomanip>
#include <limits>
#include <vector>
#include <algorithm>
#include <cmath>
#include <TROOT.h>
#include <TObject.h>
#include "JLang/JType.hh"
#include "JROOT/JTreeParameters.hh"
#include "JReconstruction/JFitStatus.hh"
#include "JReconstruction/JHistory.hh"
Go to the source code of this file.
|
| class | JFIT::JFit |
| | Data structure for track fit results with history and optional associated values. More...
|
| |
| class | JFIT::JEvt |
| | Data structure for set of track fit results. More...
|
| |
|
| namespace | JRECONSTRUCTION |
| | Support.
|
| |
| namespace | JPP |
| | This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
|
| |
| namespace | JFIT |
| | Auxiliary classes and methods for linear and iterative data regression.
|
| |
◆ 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
26
33
36
38
40 for (
int i = 0; i != fit.
getN(); ++i) {
41 out <<
"W[" << i <<
"] = " <<
FIXED(12,5) << fit.
getW(i) <<
endl;
42 }
43 }
44
45 return out;
46}
int getPrintOption(std::ostream &out)
Get print option.
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.
Template definition of a multi-dimensional oscillation probability interpolation table.
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.
◆ getTreeParameters
Get TTree parameters for given data type.
- Returns
- TTree parameters
Definition at line 501 of file JReconstruction/JEvt.hh.
502{
504}
Data structure for TTree parameters.