#include <VertexState.h>
Public Member Functions | |
std::vector< VertexState > | components () const |
GlobalError | error () const |
bool | isValid () const |
Make the ReferenceCountingProxy method to check validity public. | |
GlobalPoint | position () const |
VertexState (BasicVertexState *p) | |
VertexState (const GlobalPoint &pos, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
VertexState (const AlgebraicVector3 &weightTimesPosition, const GlobalWeight &posWeight, const double &weightInMix=1.0) | |
VertexState (const GlobalPoint &pos, const GlobalError &posErr, const double &weightInMix=1.0) | |
VertexState () | |
VertexState (const reco::BeamSpot &beamSpot) | |
GlobalWeight | weight () const |
double | weightInMixture () const |
AlgebraicVector3 | weightTimesPosition () const |
Private Types | |
typedef BasicVertexState::Proxy | Base |
Class containing a measurement of a vertex. Some data is calculated on demand to improve performance.
Definition at line 12 of file VertexState.h.
typedef BasicVertexState::Proxy VertexState::Base [private] |
Definition at line 15 of file VertexState.h.
VertexState::VertexState | ( | ) |
Definition at line 6 of file VertexState.cc.
VertexState::VertexState | ( | BasicVertexState * | p | ) |
Definition at line 9 of file VertexState.cc.
: Base(p) {}
VertexState::VertexState | ( | const GlobalPoint & | pos, |
const GlobalError & | posErr, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 12 of file VertexState.cc.
VertexState::VertexState | ( | const GlobalPoint & | pos, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 16 of file VertexState.cc.
VertexState::VertexState | ( | const AlgebraicVector3 & | weightTimesPosition, |
const GlobalWeight & | posWeight, | ||
const double & | weightInMix = 1.0 |
||
) |
Definition at line 20 of file VertexState.cc.
: Base ( new BSVS (weightTimesPosition, posWeight, weightInMix)) {}
VertexState::VertexState | ( | const reco::BeamSpot & | beamSpot | ) |
Definition at line 24 of file VertexState.cc.
: Base ( new BSVS ( GlobalPoint(Basic3DVector<float> (beamSpot.position())), GlobalError(beamSpot.rotatedCovariance3D()), 1.0)) {}
std::vector<VertexState> VertexState::components | ( | ) | const [inline] |
conversion to VertexSeed
Definition at line 61 of file VertexState.h.
References ProxyBase< T, Cloner >::data().
Referenced by GsfVertexUpdator::add(), GsfVertexSmoother::meanVertex(), GsfVertexMerger::merge(), GaussianStateConversions::multiGaussianStateFromVertex(), GsfVertexSmoother::priorVertexChi2(), and GsfVertexSmoother::vertexAndTrackUpdate().
{ return data().components(); }
GlobalError VertexState::error | ( | ) | const [inline] |
Definition at line 34 of file VertexState.h.
References ProxyBase< T, Cloner >::data().
Referenced by GsfVertexWeightCalculator::calculate(), VertexDistance::compatibility(), VertexDistance::distance(), KinematicVertex::error(), BasicMultiVertexState::error(), SequentialVertexFitter< N >::fit(), reco::GhostTrackVertexFinder::mergeVertices(), TransientVertex::positionError(), CachingVertex< 5 >::priorError(), TransientVertex::priorError(), PrimaryVertexProducer::produce(), reco::GhostTrackVertexFinder::reassignTracks(), reco::GhostTrackVertexFinder::refitGhostTrack(), stateMean(), and KalmanVertexTrackUpdator< 5 >::trackRefit().
{ return data().error(); }
bool VertexState::isValid | ( | void | ) | const [inline] |
Make the ReferenceCountingProxy method to check validity public.
Reimplemented from ProxyBase< T, Cloner >.
Definition at line 67 of file VertexState.h.
References ProxyBase< T, Cloner >::data(), and ProxyBase< T, Cloner >::isValid().
Referenced by GsfVertexUpdator::createNewComponent(), and KalmanVertexUpdator< N >::update().
{return Base::isValid() && data().isValid();}
GlobalPoint VertexState::position | ( | void | ) | const [inline] |
Definition at line 29 of file VertexState.h.
References ProxyBase< T, Cloner >::data().
Referenced by CheckHitPattern::analyze(), GsfVertexWeightCalculator::calculate(), KalmanVertexUpdator< N >::chi2Increment(), VertexDistance::compatibility(), SingleTrackVertexConstraint::constrain(), VertexDistance::distance(), SequentialVertexFitter< N >::fit(), SequentialVertexFitter< 5 >::linearizeTracks(), reco::GhostTrackVertexFinder::mergeVertices(), BasicMultiVertexState::position(), KinematicVertex::position(), TransientVertex::position(), CachingVertex< 5 >::priorPosition(), TransientVertex::priorPosition(), reco::GhostTrackVertexFinder::reassignTracks(), reco::GhostTrackVertexFinder::refitGhostTrack(), relinearizeTrack(), SequentialVertexFitter< N >::reLinearizeTracks(), SequentialVertexFitter< 5 >::reLinearizeTracks(), stateMean(), KalmanVertexTrackUpdator< 5 >::trackRefit(), KVFHelper< N >::vertexChi2(), and reco::GhostTrackVertexFinder::vertices().
{ return data().position(); }
GlobalWeight VertexState::weight | ( | void | ) | const [inline] |
Definition at line 39 of file VertexState.h.
References ProxyBase< T, Cloner >::data().
Referenced by GsfVertexUpdator::add(), GsfVertexMerger::merge(), KalmanVertexUpdator< N >::positionUpdate(), SequentialVertexFitter< N >::reLinearizeTracks(), KalmanVertexTrackUpdator< 5 >::trackRefit(), KVFHelper< N >::vertexChi2(), and BasicMultiVertexState::weight().
{ return data().weight(); }
double VertexState::weightInMixture | ( | ) | const [inline] |
Definition at line 49 of file VertexState.h.
References ProxyBase< T, Cloner >::data().
Referenced by GsfVertexWeightCalculator::calculate().
{ return data().weightInMixture(); }
AlgebraicVector3 VertexState::weightTimesPosition | ( | ) | const [inline] |
Definition at line 44 of file VertexState.h.
References ProxyBase< T, Cloner >::data().
Referenced by GsfVertexUpdator::add(), GsfVertexMerger::merge(), KalmanVertexUpdator< N >::positionUpdate(), and BasicMultiVertexState::weightTimesPosition().
{ return data().weightTimesPosition(); }