/** A helper class for cluster finder **/ #ifndef CBMECALPRECLUSTER_H #define CBMECALPRECLUSTER_H #include "CbmEcalCell.h" #include class CbmEcalPreCluster { public: CbmEcalPreCluster(const std::list cells, CbmEcalCell* max, CbmEcalCell* min) : fCells(cells), fMaximum(max), fMinimum(min), fMark(0) { ; } CbmEcalPreCluster(CbmEcalCell** cells, Int_t size, CbmEcalCell* max, CbmEcalCell* min) { fCells.clear(); for(Int_t i=0;i fCells; CbmEcalCell* fMaximum; CbmEcalCell* fMinimum; Int_t fMark; }; #endif