25 int plane =
strip.plane();
28 std::vector<std::pair<DetId, float> >
dummy;
36 double refEta = refpos.
eta();
37 double refPhi = refpos.
phi();
46 RecHitsMap::iterator strip_it;
52 if (mystrip.
plane() != plane)
55 auto thisCell = geometry_p->
getGeometry(strip_it->first);
68 clusterRecHits.
push_back(strip_it->second);
69 used_s->insert(strip_it->first);
71 x_pos += strip_it->second.energy() *
position.x();
72 y_pos += strip_it->second.energy() *
position.y();
73 z_pos += strip_it->second.energy() *
position.z();
80 std::vector<std::pair<DetId, float> > usedHits;
81 for (it = clusterRecHits.
begin(); it != clusterRecHits.
end(); it++) {
82 Eclust += it->energy();
83 usedHits.push_back(std::pair<DetId, float>(it->id(), 1.));
101 LogTrace(
"PreShowerPhiClusterAlgo") <<
" This strip is in use";
103 LogTrace(
"PreShowerPhiClusterAlgo") <<
" No such a strip in rechits_map";
105 LogTrace(
"PreShowerPhiClusterAlgo") <<
"Strip energy" << candidate_it->second.energy() <<
"is below threshold";
108 if ((
used_s->find(candidate_it->first) !=
used_s->end()) ||