#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 |
GlobalError | error4D () const |
bool | is4D () const |
bool | isValid () const |
GlobalPoint | position () const |
double | time () const |
double | timeError () const |
GlobalWeight | weight () const |
GlobalWeight | weight4D () const |
double | weightInMixture () const |
AlgebraicVector3 | weightTimesPosition () const |
AlgebraicVector4 | weightTimesPosition4D () 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 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().
|
inlinevirtual |
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().
|
inlinevirtual |
Vector of individual components in the mixture.
Reimplemented from BasicVertexState.
Definition at line 88 of file BasicMultiVertexState.h.
References theComponents.
|
virtual |
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().
|
virtual |
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().
|
inlinevirtual |
Implements BasicVertexState.
Definition at line 97 of file BasicMultiVertexState.h.
References checkCombinedState(), VertexState::is4D(), and theCombinedState.
|
inlinevirtual |
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().
|
virtual |
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().
|
virtual |
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().
|
virtual |
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().
|
virtual |
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().
|
virtual |
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().
|
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 73 of file BasicMultiVertexState.cc.
References gather_cfg::cout, theComponents, valid, and weight().
Referenced by clone().
|
virtual |
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().
|
virtual |
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().