27 const std::vector<TotemRPDigi> &digi,
28 std::vector<TotemRPCluster> &
clusters) {
38 int cluster_beg = -16;
44 cur_strip =
i->stripNumber();
45 bool non_continuity = (cur_strip != prev_strip + 1);
48 cluster_beg = cur_strip;
50 }
else if (non_continuity) {
51 cluster_end = prev_strip;
52 clusters.emplace_back((uint16_t)cluster_beg, (uint16_t)cluster_end);
54 cluster_beg = cur_strip;
57 prev_strip = cur_strip;
61 cluster_end = prev_strip;
62 clusters.emplace_back((uint16_t)cluster_beg, (uint16_t)cluster_end);
T getParameter(std::string const &) const
TotemRPClusterProducerAlgorithm(const edm::ParameterSet ¶m)
~TotemRPClusterProducerAlgorithm()
TotemRPDigiSet strip_digi_set_
input digi set, strip by strip
int buildClusters(unsigned int detId, const std::vector< TotemRPDigi > &digi, std::vector< TotemRPCluster > &clusters)