48 cur_strip =
i->getStripNumber();
49 bool non_continuity = (cur_strip!=prev_strip+1);
53 cluster_beg=cur_strip;
56 else if (non_continuity)
58 cluster_end=prev_strip;
59 clusters.push_back(
TotemRPCluster((uint16_t)cluster_beg, (uint16_t) cluster_end));
61 cluster_beg=cur_strip;
69 cluster_end=prev_strip;
70 clusters.push_back(
TotemRPCluster((uint16_t)cluster_beg, (uint16_t) cluster_end));
73 return clusters.size();
T getParameter(std::string const &) const
TotemRPClusterProducerAlgorithm(const edm::ParameterSet ¶m)
Cluster of TOTEM RP strip hits.
~TotemRPClusterProducerAlgorithm()
const edm::ParameterSet & param_
TotemRPDigiSet strip_digi_set_
input digi set, strip by strip
int buildClusters(unsigned int detId, const std::vector< TotemRPDigi > &digi, std::vector< TotemRPCluster > &clusters)