#include <BasicSingleVertexState.h>
Public Member Functions | |
BasicSingleVertexState () | |
BasicSingleVertexState (const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double weightTimesTime, const double timeWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const AlgebraicVector4 &weightTimesPosition, const GlobalWeight &posTimeWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const double time, const GlobalError &posTimeErr, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const double time, const GlobalWeight &posTimeWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalError &posErr, const double time, const double timeError, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalWeight &posWeight, const double time, const double timeWeight, const double &weightInMix=1.0) | |
pointer | clone () 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 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 |
double | theTime |
bool | theTimeAvailable |
GlobalWeight | theWeight |
bool | theWeightAvailable |
double | theWeightInMix |
AlgebraicVector4 | theWeightTimesPos |
bool | theWeightTimesPosAvailable |
bool | valid |
bool | vertexIs4D |
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) |
Single state measurement of a vertex. Some data is calculated on demand to improve performance.
Definition at line 12 of file BasicSingleVertexState.h.
BasicSingleVertexState::BasicSingleVertexState | ( | ) |
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 24 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 41 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 58 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const double | time, | ||
const double | timeError, | ||
const double & | weightInMix = 1.0 |
||
) |
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const double | time, | ||
const double | timeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const double | weightTimesTime, | ||
const double | timeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 121 of file BasicSingleVertexState.cc.
References theWeight.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const double | time, | ||
const GlobalError & | posTimeErr, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 144 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const double | time, | ||
const GlobalWeight & | posTimeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 162 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector4 & | weightTimesPosition, |
const GlobalWeight & | posTimeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 180 of file BasicSingleVertexState.cc.
|
inlineoverridevirtual |
|
private |
Definition at line 290 of file BasicSingleVertexState.cc.
References GlobalErrorBase< T, ErrorWeightType >::matrix(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), theErr, theErrAvailable, valid, vertexIs4D, and weight4D().
Referenced by error(), error4D(), and timeError().
|
private |
Definition at line 280 of file BasicSingleVertexState.cc.
References error4D(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), thePos, thePosAvailable, theTime, theTimeAvailable, valid, and weightTimesPosition4D().
Referenced by position(), and time().
|
private |
Definition at line 306 of file BasicSingleVertexState.cc.
References error4D(), GlobalErrorBase< T, ErrorWeightType >::matrix(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), theWeight, theWeightAvailable, valid, and vertexIs4D.
Referenced by weight(), and weight4D().
|
private |
Definition at line 322 of file BasicSingleVertexState.cc.
References GlobalErrorBase< T, ErrorWeightType >::matrix4D(), position(), theTime, theWeightTimesPos, theWeightTimesPosAvailable, valid, vertexIs4D, weight4D(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by weightTimesPosition(), and weightTimesPosition4D().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 205 of file BasicSingleVertexState.cc.
References computeError(), GlobalErrorBase< T, ErrorWeightType >::matrix(), theErr, theErrAvailable, and valid.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 213 of file BasicSingleVertexState.cc.
References computeError(), theErr, theErrAvailable, and valid.
Referenced by computePosition(), and computeWeight().
|
inlineoverridevirtual |
Implements BasicVertexState.
Definition at line 72 of file BasicSingleVertexState.h.
References vertexIs4D.
|
inlineoverridevirtual |
The validity of the vertex
Implements BasicVertexState.
Definition at line 71 of file BasicSingleVertexState.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Access methods
Implements BasicVertexState.
Definition at line 197 of file BasicSingleVertexState.cc.
References computePosition(), thePos, thePosAvailable, and valid.
Referenced by computeWeightTimesPos().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 221 of file BasicSingleVertexState.cc.
References computePosition(), theTime, theTimeAvailable, and valid.
|
overridevirtual |
Implements BasicVertexState.
Definition at line 229 of file BasicSingleVertexState.cc.
References computeError(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), mathSSE::sqrt(), theErr, theTimeAvailable, and valid.
|
overridevirtual |
Implements BasicVertexState.
Definition at line 237 of file BasicSingleVertexState.cc.
References computeWeight(), GlobalErrorBase< T, ErrorWeightType >::matrix(), theWeight, theWeightAvailable, and valid.
|
overridevirtual |
Implements BasicVertexState.
Definition at line 245 of file BasicSingleVertexState.cc.
References computeWeight(), theWeight, theWeightAvailable, and valid.
Referenced by computeError(), and computeWeightTimesPos().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 269 of file BasicSingleVertexState.cc.
References theWeightInMix, and valid.
|
overridevirtual |
Implements BasicVertexState.
Definition at line 253 of file BasicSingleVertexState.cc.
References computeWeightTimesPos(), theWeightTimesPos, theWeightTimesPosAvailable, and valid.
|
overridevirtual |
Implements BasicVertexState.
Definition at line 261 of file BasicSingleVertexState.cc.
References computeWeightTimesPos(), theWeightTimesPos, theWeightTimesPosAvailable, and valid.
Referenced by computePosition().
|
mutableprivate |
Definition at line 83 of file BasicSingleVertexState.h.
Referenced by BasicSingleVertexState(), computeError(), error(), error4D(), and timeError().
|
mutableprivate |
Definition at line 91 of file BasicSingleVertexState.h.
Referenced by computeError(), error(), and error4D().
|
mutableprivate |
Definition at line 80 of file BasicSingleVertexState.h.
Referenced by computePosition(), and position().
|
mutableprivate |
Definition at line 89 of file BasicSingleVertexState.h.
Referenced by computePosition(), and position().
|
mutableprivate |
Definition at line 81 of file BasicSingleVertexState.h.
Referenced by computePosition(), computeWeightTimesPos(), and time().
|
mutableprivate |
Definition at line 90 of file BasicSingleVertexState.h.
Referenced by computePosition(), time(), and timeError().
|
mutableprivate |
Definition at line 84 of file BasicSingleVertexState.h.
Referenced by BasicSingleVertexState(), computeWeight(), weight(), and weight4D().
|
mutableprivate |
Definition at line 92 of file BasicSingleVertexState.h.
Referenced by computeWeight(), weight(), and weight4D().
|
private |
Definition at line 87 of file BasicSingleVertexState.h.
Referenced by weightInMixture().
|
mutableprivate |
Definition at line 86 of file BasicSingleVertexState.h.
Referenced by computeWeightTimesPos(), weightTimesPosition(), and weightTimesPosition4D().
|
mutableprivate |
Definition at line 93 of file BasicSingleVertexState.h.
Referenced by computeWeightTimesPos(), weightTimesPosition(), and weightTimesPosition4D().
|
private |
Definition at line 95 of file BasicSingleVertexState.h.
Referenced by computeError(), computePosition(), computeWeight(), computeWeightTimesPos(), error(), error4D(), isValid(), position(), time(), timeError(), weight(), weight4D(), weightInMixture(), weightTimesPosition(), and weightTimesPosition4D().
|
private |
Definition at line 96 of file BasicSingleVertexState.h.
Referenced by computeError(), computeWeight(), computeWeightTimesPos(), and is4D().