#include <EmcRecSeedLocalMax.h>
◆ EmcRecSeedLocalMax() [1/2]
EmcRecSeedLocalMax::EmcRecSeedLocalMax |
( |
| ) |
|
◆ ~EmcRecSeedLocalMax() [1/2]
EmcRecSeedLocalMax::~EmcRecSeedLocalMax |
( |
| ) |
|
◆ EmcRecSeedLocalMax() [2/2]
EmcRecSeedLocalMax::EmcRecSeedLocalMax |
( |
| ) |
|
◆ ~EmcRecSeedLocalMax() [2/2]
EmcRecSeedLocalMax::~EmcRecSeedLocalMax |
( |
| ) |
|
◆ Seed() [1/2]
Implements EmcRecSeedAbs.
Definition at line 17 of file EmcRecSeedLocalMax.cxx.
19{
20 RecEmcHitMap::const_iterator ciHitMap;
21 RecEmcHitMap::const_iterator ciNeigh;
23
24 bool max;
25
27 RecEmcIDVector::const_iterator ciNeighVec;
28
29 aMaxVec.clear();
30
32
33 for(ciHitMap=aCluster.
Begin();
34 ciHitMap!=aCluster.
End();
35 ++ciHitMap) {
36
37
38 max=true;
39 aHit=ciHitMap->second;
40
41 NeighVec.clear();
43
44
45 for(ciNeighVec=NeighVec.begin();
46 ciNeighVec!=NeighVec.end();
47 ++ciNeighVec) {
48
49 ciNeigh=aCluster.
Find(*ciNeighVec);
50 if(ciNeigh!=aCluster.
End()) {
51
52 if(ciNeigh->second.getEnergy()>=aHit.
getEnergy()) {
53 max=false;
54 }
55 }
56 }
57
58
59 if(max==true) {
61 }
62
63 }
64}
vector< RecEmcID > RecEmcIDVector
RecEmcIDVector GetNeighbors(const Identifier &id)
RecEmcHitMap::const_iterator Find(const RecEmcID &CellId) const
RecEmcHitMap::const_iterator Begin() const
RecEmcHitMap::const_iterator End() const
RecEmcEnergy getEnergy() const
RecEmcID getCellId() const
◆ Seed() [2/2]
The documentation for this class was generated from the following files: