#include <GsfVertexWeightCalculator.h>
Public Types | |
typedef ReferenceCountingPointer < LinearizedTrackState< 5 > > | RefCountedLinearizedTrackState |
Public Member Functions | |
double | calculate (const VertexState &oldVertex, const RefCountedLinearizedTrackState track, double cov) const |
Private Types | |
typedef LinearizedTrackState < 5 >::AlgebraicMatrixN3 | AlgebraicMatrixN3 |
typedef LinearizedTrackState < 5 >::AlgebraicMatrixNM | AlgebraicMatrixNM |
typedef LinearizedTrackState < 5 >::AlgebraicSymMatrixNN | AlgebraicSymMatrixNN |
typedef LinearizedTrackState < 5 >::AlgebraicVectorN | AlgebraicVectorN |
Calulates the (non-normalised) weight of a component the new mixture of vertices for the Gaussian Sum vertex filter. (c.f. Th.Speer & R. Fruewirth, Comp.Phys.Comm 174, 935 (2006) )
Definition at line 14 of file GsfVertexWeightCalculator.h.
|
private |
Definition at line 31 of file GsfVertexWeightCalculator.h.
|
private |
Definition at line 32 of file GsfVertexWeightCalculator.h.
|
private |
Definition at line 33 of file GsfVertexWeightCalculator.h.
|
private |
Definition at line 30 of file GsfVertexWeightCalculator.h.
typedef ReferenceCountingPointer<LinearizedTrackState<5> > GsfVertexWeightCalculator::RefCountedLinearizedTrackState |
Definition at line 18 of file GsfVertexWeightCalculator.h.
double GsfVertexWeightCalculator::calculate | ( | const VertexState & | oldVertex, |
const RefCountedLinearizedTrackState | track, | ||
double | cov | ||
) | const |
Method to calculate the weight A negative weight is returned in case of error.
Definition at line 7 of file GsfVertexWeightCalculator.cc.
References a, b, diffTreeTool::diff, VertexState::error(), create_public_lumi_plots::exp, edm::isNotFinite(), M_PI, GlobalErrorBase< T, ErrorWeightType >::matrix_new(), VertexState::position(), funct::pow(), mathSSE::sqrt(), puppiForMET_cff::weight, VertexState::weightInMixture(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GsfVertexUpdator::createNewComponent(), and GsfVertexSmoother::createNewComponent().