#include <BasicSingleVertexState.h>
Public Member Functions | |
BasicSingleVertexState () | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
virtual BasicSingleVertexState * | clone () const |
GlobalError | error () const |
bool | isValid () const |
GlobalPoint | position () const |
GlobalWeight | weight () const |
double | weightInMixture () const |
AlgebraicVector3 | weightTimesPosition () const |
Public Member Functions inherited from BasicVertexState | |
virtual std::vector< VertexState > | components () const |
virtual | ~BasicVertexState () |
Private Member Functions | |
void | computeError () const |
void | computePosition () const |
void | computeWeight () const |
void | computeWeightTimesPos () const |
Private Attributes | |
GlobalError | theErr |
bool | theErrAvailable |
GlobalPoint | thePos |
bool | thePosAvailable |
GlobalWeight | theWeight |
bool | theWeightAvailable |
double | theWeightInMix |
AlgebraicVector3 | theWeightTimesPos |
bool | theWeightTimesPosAvailable |
bool | valid |
Additional Inherited Members | |
Public Types inherited from BasicVertexState | |
typedef ProxyBase < BasicVertexState, CopyUsingClone < BasicVertexState > > | Proxy |
typedef ReferenceCountingPointer < BasicVertexState > | RCPtr |
Single state measurement of a vertex. Some data is calculated on demand to improve performance.
Definition at line 13 of file BasicSingleVertexState.h.
BasicSingleVertexState::BasicSingleVertexState | ( | ) |
Constructors
Definition at line 4 of file BasicSingleVertexState.cc.
Referenced by clone().
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 14 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 27 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 40 of file BasicSingleVertexState.cc.
|
inlinevirtual |
Access methods
Implements BasicVertexState.
Definition at line 30 of file BasicSingleVertexState.h.
References BasicSingleVertexState().
|
private |
Definition at line 107 of file BasicSingleVertexState.cc.
References GlobalErrorBase< T, ErrorWeightType >::matrix(), theErr, theErrAvailable, valid, and weight().
Referenced by error().
|
private |
Definition at line 98 of file BasicSingleVertexState.cc.
References error(), GlobalErrorBase< T, ErrorWeightType >::matrix_new(), thePos, thePosAvailable, valid, and weightTimesPosition().
Referenced by position().
|
private |
Definition at line 117 of file BasicSingleVertexState.cc.
References error(), GlobalErrorBase< T, ErrorWeightType >::matrix(), theWeight, theWeightAvailable, and valid.
Referenced by weight().
|
private |
Definition at line 127 of file BasicSingleVertexState.cc.
References GlobalErrorBase< T, ErrorWeightType >::matrix_new(), position(), theWeightTimesPos, theWeightTimesPosAvailable, valid, weight(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by weightTimesPosition().
|
virtual |
Implements BasicVertexState.
Definition at line 61 of file BasicSingleVertexState.cc.
References computeError(), theErr, theErrAvailable, and valid.
Referenced by computePosition(), and computeWeight().
|
inlinevirtual |
The validity of the vertex
Implements BasicVertexState.
Definition at line 44 of file BasicSingleVertexState.h.
References valid.
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
|
virtual |
Access methods
Implements BasicVertexState.
Definition at line 53 of file BasicSingleVertexState.cc.
References computePosition(), thePos, thePosAvailable, and valid.
Referenced by computeWeightTimesPos().
|
virtual |
Implements BasicVertexState.
Definition at line 69 of file BasicSingleVertexState.cc.
References computeWeight(), theWeight, theWeightAvailable, and valid.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), computeError(), and computeWeightTimesPos().
|
virtual |
Implements BasicVertexState.
Definition at line 85 of file BasicSingleVertexState.cc.
References theWeightInMix, and valid.
|
virtual |
Implements BasicVertexState.
Definition at line 77 of file BasicSingleVertexState.cc.
References computeWeightTimesPos(), theWeightTimesPos, theWeightTimesPosAvailable, and valid.
Referenced by computePosition().
|
mutableprivate |
Definition at line 54 of file BasicSingleVertexState.h.
Referenced by computeError(), and error().
|
mutableprivate |
Definition at line 60 of file BasicSingleVertexState.h.
Referenced by computeError(), and error().
|
mutableprivate |
Definition at line 53 of file BasicSingleVertexState.h.
Referenced by computePosition(), and position().
|
mutableprivate |
Definition at line 59 of file BasicSingleVertexState.h.
Referenced by computePosition(), and position().
|
mutableprivate |
Definition at line 55 of file BasicSingleVertexState.h.
Referenced by computeWeight(), and weight().
|
mutableprivate |
Definition at line 61 of file BasicSingleVertexState.h.
Referenced by computeWeight(), and weight().
|
private |
Definition at line 57 of file BasicSingleVertexState.h.
Referenced by weightInMixture().
|
mutableprivate |
Definition at line 56 of file BasicSingleVertexState.h.
Referenced by computeWeightTimesPos(), and weightTimesPosition().
|
mutableprivate |
Definition at line 62 of file BasicSingleVertexState.h.
Referenced by computeWeightTimesPos(), and weightTimesPosition().
|
private |
Definition at line 64 of file BasicSingleVertexState.h.
Referenced by computeError(), computePosition(), computeWeight(), computeWeightTimesPos(), error(), isValid(), position(), weight(), weightInMixture(), and weightTimesPosition().