1 #ifndef CloseComponentsMerger_H
2 #define CloseComponentsMerger_H
18 template <
unsigned int N>
46 typedef std::pair< SingleStatePtr, typename SingleStateMap::iterator >
MinDistResult;
59 #include "TrackingTools/GsfTools/interface/CloseComponentsMerger.icc"
61 #endif // CloseComponentsMerger_H
DeepCopyPointerByClone< DistanceBetweenComponents< N > > theDistance
MultiState merge(const MultiState &mgs) const override
int theMaxNumberOfComponents
CloseComponentsMerger * clone() const override
Mixture of multi-variate gaussian states.
std::multimap< double, SingleStatePtr > SingleStateMap
MultiGaussianState< N > MultiState
MultiState mergeOld(const MultiState &mgs) const
MinDistResult compWithMinDistToLargestWeight(SingleStateMap &) const
std::pair< SingleStatePtr, typename SingleStateMap::iterator > MinDistResult
CloseComponentsMerger(int n, const DistanceBetweenComponents< N > *distance)
std::shared_ptr< SingleState > SingleStatePtr