1 #ifndef _OutermostClusterizer1D_H_
2 #define _OutermostClusterizer1D_H_
30 std::pair < std::vector < Cluster1D<T> >, std::vector < const T * > >
46 : theEstimator( o.theEstimator->
clone() )
67 std::pair < std::vector< Cluster1D<T> >, std::vector< const T * > >
70 using namespace Clusterizer1DCommons;
72 std::vector < const T * > unusedtracks;
80 std::pair < std::vector < Cluster1D >, std::vector < const T * > >
ret ( ov, unusedtracks );
85 std::pair < std::vector < Cluster1D >, std::vector < const T * > >
ret ( ov, unusedtracks );
90 std::vector < Cluster1D >
v = ov;
92 std::vector < Cluster1D > sols;
97 for (
typename std::vector< Cluster1D >::const_iterator
i=
v.begin()+1;
i!=
v.begin()+sze ; ++
i )
101 sols.push_back (
tmp );
103 for (
typename std::vector< Cluster1D >::const_iterator
i=
v.begin()+sze+1;
i!=
v.end() ; ++
i )
107 sols.push_back (
tmp );
109 std::pair < std::vector < Cluster1D >, std::vector < const T * > >
ret ( sols, unusedtracks );
WeightEstimator< T > * theEstimator
~OutermostClusterizer1D()
virtual OutermostClusterizer1D * clone() const
OutermostClusterizer1D(const WeightEstimator< T > &est=TrivialWeightEstimator< T >())
std::vector< std::vector< double > > tmp
std::pair< std::vector< Cluster1D< T > >, std::vector< const T * > > operator()(const std::vector< Cluster1D< T > > &) const