2 #include "CommonTools/Statistics/interface/hsm_1d.icc"
10 const int sze = values.size();
14 std::vector <float> x_vals, y_vals, z_vals;
15 x_vals.reserve(sze-1);
16 y_vals.reserve(sze-1);
17 z_vals.reserve(sze-1);
18 for ( std::vector<GlobalPoint>::const_iterator
i=values.begin();
19 i!=values.end() ;
i++ )
21 x_vals.push_back(
i->x() );
22 y_vals.push_back(
i->y() );
23 z_vals.push_back(
i->z() );
32 GlobalPoint ret ( hsm_1d(x_vals), hsm_1d(y_vals), hsm_1d(z_vals) );
tuple ret
prodAgent to be discontinued
GlobalPoint hsm_3d(const std::vector< GlobalPoint > &values)
cordinate wise half sample mode in 3d