|
FairRoot/PandaRoot
|
#include <Constraint.h>
Public Types | |
| enum | Type { unknown =0, beamspot, lifetime, resonance, composite, track, photon, conversion, kinematic, massEnergy, geometric, mass, beamenergy, merged, ntypes } |
Public Member Functions | |
| bool | operator< (const Constraint &rhs) const |
| bool | operator== (const Constraint &rhs) const |
| Type | type () const |
| unsigned int | dim () const |
| bool | isLineair () const |
| unsigned int | nIter () const |
| Constraint () | |
| Constraint (const ParticleBase *node, Type atype, int depth, unsigned int adim, int maxniter=1) | |
| virtual | ~Constraint () |
| virtual ErrCode | project (const FitParams *fitpar, Projection &p) const |
| virtual ErrCode | filter (FitParams *fitpar) const |
| virtual ErrCode | filter (FitParams *fitpar, const FitParams *reference) const |
| virtual void | print (std::ostream &os=std::cout) const |
| std::string | name () const |
| void | setWeight (int w) |
Protected Member Functions | |
| Constraint (Constraint::Type atype) | |
| void | setDim (unsigned int d) |
| void | setNIter (unsigned int d) |
Private Attributes | |
| const ParticleBase * | m_node |
| int | m_depth |
| Type | m_type |
| unsigned int | m_dim |
| int | m_weight |
| int | m_maxNIter |
Definition at line 22 of file Constraint.h.
| Enumerator | |
|---|---|
| unknown | |
| beamspot | |
| lifetime | |
| resonance | |
| composite | |
| track | |
| photon | |
| conversion | |
| kinematic | |
| massEnergy | |
| geometric | |
| mass | |
| beamenergy | |
| merged | |
| ntypes | |
Definition at line 28 of file Constraint.h.
|
inline |
Definition at line 55 of file Constraint.h.
|
inline |
Definition at line 57 of file Constraint.h.
|
inlinevirtual |
Definition at line 63 of file Constraint.h.
|
inlineprotected |
Definition at line 77 of file Constraint.h.
|
inline |
Definition at line 51 of file Constraint.h.
References m_dim.
Referenced by DecayTreeFitter::MergedConstraint::push_back().
Definition at line 59 of file Constraint.cxx.
References DecayTreeFitter::FitParams::addChiSquare(), DecayTreeFitter::ErrCode::badsetup, DecayTreeFitter::FitParams::dim(), fabs(), DecayTreeFitter::ErrCode::failure(), kalman, ntypes, p, DecayTreeFitter::FitParams::par(), print(), DecayTreeFitter::ErrCode::Print(), status, and vtxverbose.
|
virtual |
Definition at line 131 of file Constraint.cxx.
References DecayTreeFitter::FitParams::addChiSquare(), DecayTreeFitter::ErrCode::badsetup, DecayTreeFitter::KalmanCalculator::chisq(), DecayTreeFitter::FitParams::dim(), DecayTreeFitter::ErrCode::failure(), DecayTreeFitter::KalmanCalculator::init(), kalman, name, ntypes, p, DecayTreeFitter::FitParams::par(), print(), DecayTreeFitter::ErrCode::Print(), status, DecayTreeFitter::KalmanCalculator::updateCov(), DecayTreeFitter::KalmanCalculator::updatePar(), and vtxverbose.
|
inline |
| std::string DecayTreeFitter::Constraint::name | ( | ) | const |
|
inline |
Definition at line 53 of file Constraint.h.
References m_maxNIter.
Referenced by DecayTreeFitter::MergedConstraint::push_back().
| bool DecayTreeFitter::Constraint::operator< | ( | const Constraint & | rhs | ) | const |
|
inline |
|
virtual |
|
virtual |
Reimplemented in DecayTreeFitter::MergedConstraint.
Definition at line 51 of file Constraint.cxx.
References DecayTreeFitter::Projection::setParticle().
|
inlineprotected |
Definition at line 80 of file Constraint.h.
Referenced by DecayTreeFitter::MergedConstraint::MergedConstraint(), and DecayTreeFitter::MergedConstraint::push_back().
|
inlineprotected |
Definition at line 81 of file Constraint.h.
References d, and m_maxNIter.
Referenced by DecayTreeFitter::MergedConstraint::push_back().
|
inline |
|
inline |
|
private |
Definition at line 84 of file Constraint.h.
Referenced by operator<().
|
private |
Definition at line 86 of file Constraint.h.
|
private |
Definition at line 89 of file Constraint.h.
Referenced by isLineair(), nIter(), and setNIter().
|
private |
Definition at line 83 of file Constraint.h.
|
private |
Definition at line 85 of file Constraint.h.
Referenced by operator<(), operator==(), and type().
|
private |
Definition at line 88 of file Constraint.h.
Referenced by setWeight().
1.8.8