9#include "EmcRec/EmcRecSeedLocalMax.h"
20 RecEmcHitMap::const_iterator ciHitMap;
21 RecEmcHitMap::const_iterator ciNeigh;
27 RecEmcIDVector::const_iterator ciNeighVec;
33 for(ciHitMap=aCluster.
Begin();
34 ciHitMap!=aCluster.
End();
39 aHit=ciHitMap->second;
45 for(ciNeighVec=NeighVec.begin();
46 ciNeighVec!=NeighVec.end();
49 ciNeigh=aCluster.
Find(*ciNeighVec);
50 if(ciNeigh!=aCluster.
End()) {
52 if(ciNeigh->second.getEnergy()>=aHit.
getEnergy()) {
vector< RecEmcID > RecEmcIDVector
RecEmcIDVector GetNeighbors(const Identifier &id)
virtual void Seed(const RecEmcCluster &aCluster, RecEmcIDVector &aMaxVec)
RecEmcHitMap::const_iterator Find(const RecEmcID &CellId) const
RecEmcHitMap::const_iterator Begin() const
RecEmcHitMap::const_iterator End() const
RecEmcEnergy getEnergy() const
RecEmcID getCellId() const