|
Jpp - the software that should make you happy
|
Data structure for track fit results. 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... | |
| const std::vector< double > & | getW () const |
| Get values. More... | |
| void | setW (const std::vector< double > &W) |
| Set values. More... | |
| int | getN () const |
| Get number of values. More... | |
| bool | hasW (const int i) const |
| Check availability of value. More... | |
| double | getW (const int i) const |
| Get value. More... | |
| double | getW (const int i, const double value) const |
| Get value. More... | |
| void | setW (const int i, const double value) |
| Set value. More... | |
| ClassDef (JFit, 5) | |
| 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 > | W |
| double | __E |
| int | __status |
Data structure for track fit results.
Definition at line 32 of file JReconstruction/JEvt.hh.
|
inline |
Default constructor.
Parameters are initialized with non physical values
Definition at line 41 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 72 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 110 of file JReconstruction/JEvt.hh.
|
inline |
Add event to history.
| type | application type |
Definition at line 137 of file JReconstruction/JEvt.hh.
|
inline |
Get X-position.
Definition at line 145 of file JReconstruction/JEvt.hh.
|
inline |
Get Y-position.
Definition at line 146 of file JReconstruction/JEvt.hh.
|
inline |
Get Z-position.
Definition at line 147 of file JReconstruction/JEvt.hh.
|
inline |
Get X-slope.
Definition at line 148 of file JReconstruction/JEvt.hh.
|
inline |
Get Y-slope.
Definition at line 149 of file JReconstruction/JEvt.hh.
|
inline |
Get Z-slope.
Definition at line 150 of file JReconstruction/JEvt.hh.
|
inline |
Get time.
Definition at line 151 of file JReconstruction/JEvt.hh.
|
inline |
Get quality.
Definition at line 152 of file JReconstruction/JEvt.hh.
|
inline |
Get number of degrees of freedom.
Definition at line 153 of file JReconstruction/JEvt.hh.
|
inline |
Get energy.
Definition at line 154 of file JReconstruction/JEvt.hh.
|
inline |
Get status of the fit; negative values should refer to a bad fit.
Definition at line 155 of file JReconstruction/JEvt.hh.
|
inline |
Move vertex along this track with given velocity.
| step | step |
| velocity | velocity |
Definition at line 164 of file JReconstruction/JEvt.hh.
|
inline |
Set energy.
| E | energy |
Definition at line 178 of file JReconstruction/JEvt.hh.
|
inline |
|
inline |
|
inline |
Get number of values.
Definition at line 211 of file JReconstruction/JEvt.hh.
|
inline |
Check availability of value.
| i | index |
Definition at line 223 of file JReconstruction/JEvt.hh.
|
inline |
|
inline |
Get value.
| i | index |
| value | default value |
Definition at line 248 of file JReconstruction/JEvt.hh.
|
inline |
| JFIT::JFit::ClassDef | ( | JFit | , |
| 5 | |||
| ) |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
protected |
Definition at line 276 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 277 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 278 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 279 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 280 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 281 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 282 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 283 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 284 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 285 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 286 of file JReconstruction/JEvt.hh.
|
protected |
Definition at line 287 of file JReconstruction/JEvt.hh.
1.8.5