12 class MSPoint :
public std::vector<double>
15 MSPoint(
const pandora::CaloHit* pCaloHit = NULL)
20 const pandora::CaloHit* m_caloHit;
26 std::vector<MSPoint> original_points;
27 std::vector<MSPoint> shifted_points;
33 MeanShift(
double kernelBandwidth = 0.1,
double clusterEpsilon = 0.5,
double shiftEpsilon = 0.00001);
35 std::vector<MSCluster> cluster(
const std::vector<MSPoint>&);
38 void shift_point(
const MSPoint&,
const std::vector<MSPoint>&,
double,
MSPoint&);
39 std::vector<MSPoint> meanshift(
const std::vector<MSPoint>& points,
double kernel_bandwidth,
double shiftEpsilon);
40 std::vector<MSCluster> cluster(
const std::vector<MSPoint>&,
const std::vector<MSPoint>&,
double clusterEpsilon);
42 double m_kernelBandwidth;
43 double m_clusterEpsilon;
44 double m_shiftEpsilon;
Definition: MeanShift.h:30
Definition: MeanShift.h:12
Definition: MeanShift.h:23