#include <BasicMultiVertexState.h>
Public Member Functions | |
BasicMultiVertexState () | |
BasicMultiVertexState (const std::vector< VertexState > &vsComp) | |
virtual BasicMultiVertexState * | clone () const |
virtual std::vector< VertexState > | components () 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 | ~BasicVertexState () |
Private Member Functions | |
void | checkCombinedState () const |
Private Attributes | |
VertexState | theCombinedState |
bool | theCombinedStateUp2Date |
MultiVertexStateCombiner | theCombiner |
std::vector< VertexState > | theComponents |
bool | valid |
Additional Inherited Members | |
Public Types inherited from BasicVertexState | |
typedef ProxyBase < BasicVertexState, CopyUsingClone < BasicVertexState > > | Proxy |
typedef ReferenceCountingPointer < BasicVertexState > | RCPtr |
Multi state measurement of a vertex. Some data is calculated on demand to improve performance.
Definition at line 12 of file BasicMultiVertexState.h.
|
inline |
BasicMultiVertexState::BasicMultiVertexState | ( | const std::vector< VertexState > & | vsComp | ) |
Definition at line 7 of file BasicMultiVertexState.cc.
|
private |
Definition at line 61 of file BasicMultiVertexState.cc.
References MultiVertexStateCombiner::combine(), theCombinedState, theCombinedStateUp2Date, theCombiner, theComponents, and valid.
Referenced by error(), position(), weight(), and weightTimesPosition().
|
inlinevirtual |
Access methods
Implements BasicVertexState.
Definition at line 24 of file BasicMultiVertexState.h.
References BasicMultiVertexState().
|
inlinevirtual |
Vector of individual components in the mixture.
Reimplemented from BasicVertexState.
Definition at line 60 of file BasicMultiVertexState.h.
References theComponents.
|
virtual |
Mean covariance matrix of the mixture (covariance matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 18 of file BasicMultiVertexState.cc.
References checkCombinedState(), and theCombinedState.
|
inlinevirtual |
The validity of the vertex
Implements BasicVertexState.
Definition at line 67 of file BasicMultiVertexState.h.
References valid.
|
virtual |
Mean position of the mixture (position of the collapsed state)
Implements BasicVertexState.
Definition at line 11 of file BasicMultiVertexState.cc.
References checkCombinedState(), and theCombinedState.
|
virtual |
Mean weight matrix (inverse of covariance) of the mixture ( weight matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 25 of file BasicMultiVertexState.cc.
References checkCombinedState(), and theCombinedState.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and weightInMixture().
|
virtual |
The weight of this state. It will be the sum of the weights of the individual components in the mixture.
Implements BasicVertexState.
Definition at line 45 of file BasicMultiVertexState.cc.
References gather_cfg::cout, theComponents, valid, and weight().
|
virtual |
Mean (weight*position) matrix of the mixture
Implements BasicVertexState.
Definition at line 32 of file BasicMultiVertexState.cc.
References checkCombinedState(), and theCombinedState.
|
mutableprivate |
Definition at line 75 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), error(), position(), weight(), and weightTimesPosition().
|
mutableprivate |
Definition at line 76 of file BasicMultiVertexState.h.
Referenced by checkCombinedState().
|
private |
Definition at line 78 of file BasicMultiVertexState.h.
Referenced by checkCombinedState().
|
mutableprivate |
Definition at line 74 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), components(), and weightInMixture().
|
private |
Definition at line 73 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), isValid(), and weightInMixture().