#include <BasicSingleVertexState.h>
Public Member Functions | |
BasicSingleVertexState () | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0) | |
BasicSingleVertexState (const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
BasicSingleVertexState (const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, 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 time, const double timeWeight, 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 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 AlgebraicVector4 &weightTimesPosition, const GlobalWeight &posTimeWeight, 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 13 of file BasicSingleVertexState.h.
BasicSingleVertexState::BasicSingleVertexState | ( | ) |
Constructors
Definition at line 9 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 19 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 33 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 47 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const double | time, | ||
const double | timeError, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 61 of file BasicSingleVertexState.cc.
References theErr.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const double | time, | ||
const double | timeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 84 of file BasicSingleVertexState.cc.
References theWeight.
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const double | weightTimesTime, | ||
const double | timeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 106 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 128 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const GlobalPoint & | pos, |
const double | time, | ||
const GlobalWeight & | posTimeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 143 of file BasicSingleVertexState.cc.
BasicSingleVertexState::BasicSingleVertexState | ( | const AlgebraicVector4 & | weightTimesPosition, |
const GlobalWeight & | posTimeWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 158 of file BasicSingleVertexState.cc.
|
inlineoverridevirtual |
Access methods
Implements BasicVertexState.
Definition at line 51 of file BasicSingleVertexState.h.
References error(), error4D(), position(), time(), timeError(), weight(), weight4D(), weightInMixture(), weightTimesPosition(), and weightTimesPosition4D().
|
private |
Definition at line 256 of file BasicSingleVertexState.cc.
References GlobalErrorBase< T, ErrorWeightType >::matrix(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), theErr, theErrAvailable, valid, vertexIs4D, and weight4D().
Referenced by error(), error4D(), is4D(), and timeError().
|
private |
Definition at line 246 of file BasicSingleVertexState.cc.
References error4D(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), thePos, thePosAvailable, theTime, theTimeAvailable, valid, and weightTimesPosition4D().
Referenced by is4D(), position(), and time().
|
private |
Definition at line 271 of file BasicSingleVertexState.cc.
References error4D(), GlobalErrorBase< T, ErrorWeightType >::matrix(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), theWeight, theWeightAvailable, valid, and vertexIs4D.
Referenced by is4D(), weight(), and weight4D().
|
private |
Definition at line 286 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 is4D(), weightTimesPosition(), and weightTimesPosition4D().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 178 of file BasicSingleVertexState.cc.
References computeError(), GlobalErrorBase< T, ErrorWeightType >::matrix(), theErr, theErrAvailable, and valid.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag(), and clone().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 185 of file BasicSingleVertexState.cc.
References computeError(), theErr, theErrAvailable, and valid.
Referenced by clone(), computePosition(), and computeWeight().
|
inlineoverridevirtual |
Implements BasicVertexState.
Definition at line 71 of file BasicSingleVertexState.h.
References computeError(), computePosition(), computeWeight(), computeWeightTimesPos(), and vertexIs4D.
|
inlineoverridevirtual |
The validity of the vertex
Implements BasicVertexState.
Definition at line 70 of file BasicSingleVertexState.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Access methods
Implements BasicVertexState.
Definition at line 171 of file BasicSingleVertexState.cc.
References computePosition(), thePos, thePosAvailable, and valid.
Referenced by clone(), and computeWeightTimesPos().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 192 of file BasicSingleVertexState.cc.
References computePosition(), theTime, theTimeAvailable, and valid.
Referenced by clone().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 198 of file BasicSingleVertexState.cc.
References computeError(), GlobalErrorBase< T, ErrorWeightType >::matrix4D(), mathSSE::sqrt(), theErr, theTimeAvailable, and valid.
Referenced by clone().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 204 of file BasicSingleVertexState.cc.
References computeWeight(), GlobalErrorBase< T, ErrorWeightType >::matrix(), theWeight, theWeightAvailable, and valid.
Referenced by clone().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 211 of file BasicSingleVertexState.cc.
References computeWeight(), theWeight, theWeightAvailable, and valid.
Referenced by clone(), computeError(), and computeWeightTimesPos().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 233 of file BasicSingleVertexState.cc.
References theWeightInMix, and valid.
Referenced by clone().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 218 of file BasicSingleVertexState.cc.
References computeWeightTimesPos(), theWeightTimesPos, theWeightTimesPosAvailable, and valid.
Referenced by clone().
|
overridevirtual |
Implements BasicVertexState.
Definition at line 225 of file BasicSingleVertexState.cc.
References computeWeightTimesPos(), theWeightTimesPos, theWeightTimesPosAvailable, and valid.
Referenced by clone(), and 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().