#include <BasicMultiVertexState.h>
Public Member Functions | |
BasicMultiVertexState () | |
BasicMultiVertexState (const std::vector< VertexState > &vsComp) | |
pointer | clone () const override |
std::vector< VertexState > | components () const override |
GlobalError | error () const override |
GlobalError | error4D () const override |
bool | is4D () const override |
bool | isValid () const override |
GlobalPoint | position () const override |
double | time () const override |
double | timeError () const override |
GlobalWeight | weight () const override |
GlobalWeight | weight4D () const override |
double | weightInMixture () const override |
AlgebraicVector3 | weightTimesPosition () const override |
AlgebraicVector4 | weightTimesPosition4D () const override |
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 | |
using | pointer = Proxy::pointer |
using | Proxy = ProxyBase11< BasicVertexState > |
Static Public Member Functions inherited from BasicVertexState | |
template<typename T , typename... Args> | |
static std::shared_ptr< BasicVertexState > | build (Args &&... args) |
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 6 of file BasicMultiVertexState.cc.
|
private |
Definition at line 76 of file BasicMultiVertexState.cc.
References MultiVertexStateCombiner::combine(), theCombinedState, theCombinedStateUp2Date, theCombiner, theComponents, and valid.
Referenced by error(), error4D(), is4D(), position(), time(), timeError(), weight(), weight4D(), weightTimesPosition(), and weightTimesPosition4D().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Vector of individual components in the mixture.
Reimplemented from BasicVertexState.
Definition at line 83 of file BasicMultiVertexState.h.
References theComponents.
|
overridevirtual |
Mean covariance matrix of the mixture (covariance matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 19 of file BasicMultiVertexState.cc.
References checkCombinedState(), VertexState::error(), and theCombinedState.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
overridevirtual |
Mean covariance matrix of the mixture (covariance matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 29 of file BasicMultiVertexState.cc.
References checkCombinedState(), VertexState::error4D(), and theCombinedState.
|
inlineoverridevirtual |
Implements BasicVertexState.
Definition at line 90 of file BasicMultiVertexState.h.
References checkCombinedState(), VertexState::is4D(), and theCombinedState.
|
inlineoverridevirtual |
The validity of the vertex
Implements BasicVertexState.
Definition at line 88 of file BasicMultiVertexState.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Mean position of the mixture (position of the collapsed state)
Implements BasicVertexState.
Definition at line 9 of file BasicMultiVertexState.cc.
References checkCombinedState(), VertexState::position(), and theCombinedState.
|
overridevirtual |
Mean time of the mixture (time of the collapsed state)
Implements BasicVertexState.
Definition at line 14 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::time().
|
overridevirtual |
Mean covariance matrix of the mixture (covariance matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 24 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::timeError().
|
overridevirtual |
Mean weight matrix (inverse of covariance) of the mixture ( weight matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 34 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weight().
Referenced by weightInMixture().
|
overridevirtual |
Mean weight matrix (inverse of covariance) of the mixture ( weight matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 39 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weight4D().
|
overridevirtual |
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 60 of file BasicMultiVertexState.cc.
References gather_cfg::cout, theComponents, valid, and weight().
|
overridevirtual |
Mean (weight*position) matrix of the mixture
Implements BasicVertexState.
Definition at line 44 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weightTimesPosition().
|
overridevirtual |
Mean (weight*position) matrix of the mixture
Implements BasicVertexState.
Definition at line 49 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weightTimesPosition4D().
|
mutableprivate |
Definition at line 100 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), error(), error4D(), is4D(), position(), time(), timeError(), weight(), weight4D(), weightTimesPosition(), and weightTimesPosition4D().
|
mutableprivate |
Definition at line 101 of file BasicMultiVertexState.h.
Referenced by checkCombinedState().
|
private |
Definition at line 103 of file BasicMultiVertexState.h.
Referenced by checkCombinedState().
|
mutableprivate |
Definition at line 99 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), components(), and weightInMixture().
|
private |
Definition at line 98 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), isValid(), and weightInMixture().