47 fpRegisteredSBPoints()
50 std::set<SBPoint*>::iterator itPt;
51 for(itPt = pSBPoints.begin(); itPt != pSBPoints.end(); ++itPt)
66 std::set<SBPoint*>::iterator itPt;
71 (*itPt)->CleanCluster();
95 std::set<SBPoint* >::iterator itSDSPt;
100 x+= (*itSDSPt)->GetPosition().x();
101 y+= (*itSDSPt)->GetPosition().y();
102 z+= (*itSDSPt)->GetPosition().z();
116 std::set<SBPoint* >::iterator itSDSPt;
121 res += (*itSDSPt)->GetEdep();
131 bool firstStrandTouch =
false;
132 bool secondStrandTouch =
false;
134 std::set<SBPoint* >::iterator itSDSPt;
140 if( ((*itSDSPt)->GetTouchedStrand() == 0 ) && !firstStrandTouch )
142 firstStrandTouch =
true;
143 if(secondStrandTouch)
150 if( ((*itSDSPt)->GetTouchedStrand() == 1 ) && !secondStrandTouch )
152 secondStrandTouch =
true;
179 if(((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)+(z1-z2)*(z1-z2))<=
180 (pMinDist/
nm*pMinDist/
nm))
194 assert((
unsigned int)pMinPts > this->
GetSize());
195 std::vector<SBPoint*>::iterator itPt = pPtsToCheck->begin();
196 while(itPt != pPtsToCheck->end() )
202 if( (!(*itPt)->HasCluster())
208 if(this->
GetSize() >= (
unsigned int)pMinPts)
213 itPt = pPtsToCheck->begin();
226 std::set<SBPoint*>::iterator itClusPt;
232 if((*pPtToCheck != *(*itClusPt)))
259 if(((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)+(z1-z2)*(z1-z2))<=
260 (pMinDist/
nm*pMinDist/
nm))
277 std::set<SBPoint*>::iterator itPt;
278 for(itPt = points.begin(); itPt != points.end(); ++itPt)