|
Jpp
pmt_effective_area_update
the software that should make you happy
|
Data structure for track fit results with history and optional associated values. More...
#include <JEvt.hh>
Public Member Functions | |
| JFit () | |
| Default constructor. More... | |
| JFit (const JHistory &history, const double x, const double y, const double z, const double dx, const double dy, const double dz, const double t, const double Q, const int NDF, const double E=0.0, const int status=-1) | |
| Constructor. More... | |
| JFit (const JHistory &history, const double x, const double y, const double z, const int status=-1) | |
| Constructor for storing position only. More... | |
| JFit & | add (const int type) |
| Add event to history. More... | |
| double | getX () const |
| Get X-position. More... | |
| double | getY () const |
| Get Y-position. More... | |
| double | getZ () const |
| Get Z-position. More... | |
| double | getDX () const |
| Get X-slope. More... | |
| double | getDY () const |
| Get Y-slope. More... | |
| double | getDZ () const |
| Get Z-slope. More... | |
| double | getT () const |
| Get time. More... | |
| double | getQ () const |
| Get quality. More... | |
| int | getNDF () const |
| Get number of degrees of freedom. More... | |
| double | getE () const |
| Get energy. More... | |
| int | getStatus () const |
| Get status of the fit; negative values should refer to a bad fit. More... | |
| void | move (const double step, const double velocity) |
| Move vertex along this track with given velocity. More... | |
| void | setE (const double E) |
| Set energy. More... | |
| size_t | getDimensionOfErrorMatrix () const |
| Get dimension of error matrix. More... | |
| const std::vector< double > & | getV () const |
| Get error matrix. More... | |
| double | getV (const size_t row, const size_t col) const |
| Get element of error matrix. More... | |
| template<class T > | |
| void | setV (const size_t size, const T &data) |
| Set error matrix. More... | |
| const std::vector< double > & | getW () const |
| Get associated values. More... | |
| void | setW (const std::vector< double > &W) |
| Set associated values. More... | |
| int | getN () const |
| Get number of associated values. More... | |
| bool | hasW (const int i) const |
| Check availability of value. More... | |
| double | getW (const int i) const |
| Get associated value. More... | |
| double | getW (const int i, const double value) const |
| Get associated value. More... | |
| void | setW (const int i, const double value) |
| Set associated value. More... | |
| ClassDef (JFit, 6) | |
| const JHistory & | getHistory () const |
| Get history. More... | |
| JHistory & | getHistory () |
| Get history. More... | |
| ClassDef (JHistory, 1) | |
Protected Attributes | |
| double | __x |
| double | __y |
| double | __z |
| double | __dx |
| double | __dy |
| double | __dz |
| double | __t |
| double | __Q |
| int | __NDF |
| std::vector< double > | V |
| std::vector< double > | W |
| double | __E |
| int | __status |
Data structure for track fit results with history and optional associated values.
Definition at line 33 of file JReconstruction/JEvt.hh.
|
inline |
Default constructor.
Parameters are initialized with non physical values.
Definition at line 43 of file JReconstruction/JEvt.hh.
|
inline |
Constructor.
| history | history |
| x | X-position |
| y | Y-position |
| z | Z-position |
| dx | X-slope |
| dy | Y-slope |
| dz | Z-slope |
| t | time |
| Q | quality |
| NDF | number of degrees of freedom |
| E | energy |
| status | status |
Definition at line 74 of file JReconstruction/JEvt.hh.
|
inline |
Constructor for storing position only.
Note that the type of fit can be obtained via the history information.
| history | history |
| x | X-position |
| y | Y-position |
| z | Z-position |
| status | status |
Definition at line 113 of file JReconstruction/JEvt.hh.
|
inline |
Add event to history.
| type | application type |
Definition at line 140 of file JReconstruction/JEvt.hh.
|
inline |
Get X-position.
Definition at line 148 of file JReconstruction/JEvt.hh.
|
inline |
Get Y-position.
Definition at line 149 of file JReconstruction/JEvt.hh.
|
inline |
Get Z-position.
Definition at line 150 of file JReconstruction/JEvt.hh.
|
inline |
Get X-slope.
Definition at line 151 of file JReconstruction/JEvt.hh.
|
inline |
Get Y-slope.
Definition at line 152 of file JReconstruction/JEvt.hh.
|
inline |
Get Z-slope.
Definition at line 153 of file JReconstruction/JEvt.hh.
|
inline |
Get time.
Definition at line 154 of file JReconstruction/JEvt.hh.
|
inline |
Get quality.
Definition at line 155 of file JReconstruction/JEvt.hh.
|
inline |
Get number of degrees of freedom.
Definition at line 156 of file JReconstruction/JEvt.hh.
|
inline |
Get energy.
Definition at line 157 of file JReconstruction/JEvt.hh.
|
inline |
Get status of the fit; negative values should refer to a bad fit.
Definition at line 158 of file JReconstruction/JEvt.hh.
|
inline |
Move vertex along this track with given velocity.
| step | step |
| velocity | velocity |
Definition at line 167 of file JReconstruction/JEvt.hh.
|
inline |
Set energy.
| E | energy |
Definition at line 181 of file JReconstruction/JEvt.hh.
|
inline |
Get dimension of error matrix.
Definition at line 192 of file JReconstruction/JEvt.hh.
|
inline |
Get error matrix.
Note that only the lower-half of the matrix is returned.
Definition at line 205 of file JReconstruction/JEvt.hh.
|
inline |
Get element of error matrix.
| row | row (0 <= row < dimension) |
| col | col (0 <= col < dimension) |
Definition at line 218 of file JReconstruction/JEvt.hh.
|
inline |
Set error matrix.
The given size corresponds to the dimension of a 2D-array of which the elements should be accessible via the usual array operators.
Note that only the lower-half of the given matrix is stored.
| size | size |
| data | matrix |
Definition at line 240 of file JReconstruction/JEvt.hh.
|
inline |
|
inline |
|
inline |
Get number of associated values.
Definition at line 279 of file JReconstruction/JEvt.hh.
|
inline |
Check availability of value.
| i | index |
Definition at line 291 of file JReconstruction/JEvt.hh.
|
inline |
Get associated value.
| i | index |
Definition at line 303 of file JReconstruction/JEvt.hh.
|
inline |
Get associated value.
| i | index |
| value | default value |
Definition at line 316 of file JReconstruction/JEvt.hh.
|
inline |
Set associated value.
| i | index |
| value | value |
Definition at line 331 of file JReconstruction/JEvt.hh.
| JFIT::JFit::ClassDef | ( | JFit | , |
| 6 | |||
| ) |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
protected |
Definition at line 344 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 345 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 346 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 347 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 348 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 349 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 350 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 351 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 352 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 353 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 354 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 355 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 356 of file JReconstruction/JEvt.hh.
1.8.5