class AliMUONPad;
class TH2D;
-class TClonesArray;
class AliMUONClusterFinderPeakCOG : public AliMUONVClusterFinder
{
using AliMUONVClusterFinder::Prepare;
- virtual Bool_t Prepare(Int_t detElemId, TClonesArray* pads[2],
+ virtual Bool_t Prepare(Int_t detElemId, TObjArray* pads[2],
const AliMpArea& area, const AliMpVSegmentation* seg[2]);
virtual AliMUONCluster* NextCluster();
Int_t FindLocalMaxima(TObjArray *pixArray, Int_t *localMax, Double_t *maxVal); // find local maxima
void FlagLocalMax(TH2D *hist, Int_t i, Int_t j, Int_t *isLocalMax); // flag local max
- void FindCluster(AliMUONCluster& cluster, Int_t *localMax, Int_t iMax); // find cluster around local max
+ void FindCluster(AliMUONCluster& cluster, const Int_t *localMax, Int_t iMax); // find cluster around local max
void PadsInXandY(AliMUONCluster& cluster, Int_t &nInX, Int_t &nInY) const; // get number of pads in X and Y
void CheckOverlaps();
Int_t fDetElemId; //!< current DE being processed
Int_t fClusterNumber; //!< current cluster number
- const AliMpVSegmentation *fSegmentation[2]; //!< new segmentation
+ const AliMpVSegmentation *fkSegmentation[2]; //!< new segmentation
TH2D *fHistAnode; //!< histo for peak search
TObjArray* fPixArray; //!< collection of pixels