48 produces<edmNew::DetSetVector<SiStripApproximateCluster>>();
52 auto result = std::make_unique<edmNew::DetSetVector<SiStripApproximateCluster>>();
55 for (
const auto& detClusters : clusterCollection) {
58 for (
const auto& cluster : detClusters) {
59 float barycenter = cluster.barycenter();
60 uint8_t
width = cluster.width();
61 float avgCharge = cluster.avgCharge();
65 barycenter = std::round(barycenter);
68 avgCharge = std::round(avgCharge);
71 barycenter = std::round(barycenter);
72 avgCharge = std::round(avgCharge);
75 barycenter = std::round(barycenter * 10) / 10;
78 avgCharge = std::round(avgCharge);
81 barycenter = std::round(barycenter * 10) / 10;
84 avgCharge = std::round(avgCharge * 10) / 10;
100 descriptions.
add(
"SiStripApprox2ApproxClusters",
desc);