17 std::string mergerName = pSet.
getParameter<std::string>(
"merger");
18 std::string distanceName = pSet.
getParameter<std::string>(
"distance");
20 if ( mergerName==
"CloseComponentsMerger" ) {
23 if ( distanceName==
"KullbackLeiblerDistance" )
28 throw VertexException(
"GsfVertexMerger: Distance type "+distanceName+
" unknown. Check distance parameter in GsfMergerParameters PSet");
36 throw VertexException(
"GsfVertexMerger: Merger type "+mergerName+
" unknown. Check merger parameter in GsfMergerParameters PSet");
68 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