18 std::string mergerName = pSet.
getParameter<std::string>(
"merger");
19 std::string distanceName = pSet.
getParameter<std::string>(
"distance");
21 if ( mergerName==
"CloseComponentsMerger" ) {
24 if ( distanceName==
"KullbackLeiblerDistance" )
29 throw VertexException(
"GsfVertexMerger: Distance type "+distanceName+
" unknown. Check distance parameter in GsfMergerParameters PSet");
37 throw VertexException(
"GsfVertexMerger: Merger type "+mergerName+
" unknown. Check merger parameter in GsfMergerParameters PSet");
69 using namespace GaussianStateConversions;
MultiGaussianState< 3 > multiGaussianStateFromVertex(const VertexState aState)
T getParameter(std::string const &) const
std::vector< RefCountedVertexTrack > tracks() const
VertexState vertexState() const
DeepCopyPointerByClone< MultiGaussianStateMerger< 3 > > merger
virtual MultiState merge(const MultiState &mgs) const =0
CachingVertex< 5 > merge(const CachingVertex< 5 > &vertex) const
GlobalError priorError() const
VertexState vertexFromMultiGaussianState(const MultiGaussianState< 3 > &multiState)
Mixture of multi-variate gaussian states.
AlgebraicVector3 weightTimesPosition() const
float totalChiSquared() const
std::vector< VertexState > components() const
GlobalWeight weight() const
unsigned int maxComponents
GsfVertexMerger(const edm::ParameterSet &pSet)
GlobalPoint priorPosition() const