#include <BasicMultiVertexState.h>
Public Member Functions | |
BasicMultiVertexState () | |
BasicMultiVertexState (const std::vector< VertexState > &vsComp) | |
BasicMultiVertexState * | 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 | |
~BasicVertexState () override | |
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 89 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 |
Access methods
Implements BasicVertexState.
Definition at line 24 of file BasicMultiVertexState.h.
References BasicMultiVertexState(), error(), error4D(), position(), time(), timeError(), weight(), weight4D(), weightInMixture(), weightTimesPosition(), and weightTimesPosition4D().
|
inlineoverridevirtual |
Vector of individual components in the mixture.
Reimplemented from BasicVertexState.
Definition at line 88 of file BasicMultiVertexState.h.
References theComponents.
|
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(), VertexState::error(), and theCombinedState.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag(), and clone().
|
overridevirtual |
Mean covariance matrix of the mixture (covariance matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 36 of file BasicMultiVertexState.cc.
References checkCombinedState(), VertexState::error4D(), and theCombinedState.
Referenced by clone().
|
inlineoverridevirtual |
Implements BasicVertexState.
Definition at line 97 of file BasicMultiVertexState.h.
References checkCombinedState(), VertexState::is4D(), and theCombinedState.
|
inlineoverridevirtual |
The validity of the vertex
Implements BasicVertexState.
Definition at line 95 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 11 of file BasicMultiVertexState.cc.
References checkCombinedState(), VertexState::position(), and theCombinedState.
Referenced by clone().
|
overridevirtual |
Mean time of the mixture (time of the collapsed state)
Implements BasicVertexState.
Definition at line 17 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::time().
Referenced by clone().
|
overridevirtual |
Mean covariance matrix of the mixture (covariance matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 30 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::timeError().
Referenced by clone().
|
overridevirtual |
Mean weight matrix (inverse of covariance) of the mixture ( weight matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 42 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weight().
Referenced by clone(), and weightInMixture().
|
overridevirtual |
Mean weight matrix (inverse of covariance) of the mixture ( weight matrix of the collapsed state)
Implements BasicVertexState.
Definition at line 48 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weight4D().
Referenced by clone().
|
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 73 of file BasicMultiVertexState.cc.
References gather_cfg::cout, theComponents, valid, and weight().
Referenced by clone().
|
overridevirtual |
Mean (weight*position) matrix of the mixture
Implements BasicVertexState.
Definition at line 54 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weightTimesPosition().
Referenced by clone().
|
overridevirtual |
Mean (weight*position) matrix of the mixture
Implements BasicVertexState.
Definition at line 60 of file BasicMultiVertexState.cc.
References checkCombinedState(), theCombinedState, and VertexState::weightTimesPosition4D().
Referenced by clone().
|
mutableprivate |
Definition at line 105 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), error(), error4D(), is4D(), position(), time(), timeError(), weight(), weight4D(), weightTimesPosition(), and weightTimesPosition4D().
|
mutableprivate |
Definition at line 106 of file BasicMultiVertexState.h.
Referenced by checkCombinedState().
|
private |
Definition at line 108 of file BasicMultiVertexState.h.
Referenced by checkCombinedState().
|
mutableprivate |
Definition at line 104 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), components(), and weightInMixture().
|
private |
Definition at line 103 of file BasicMultiVertexState.h.
Referenced by checkCombinedState(), isValid(), and weightInMixture().