9 #ifndef _ST_STRIP_CLUSTER_FINDER_MORHAC_H_
10 #define _ST_STRIP_CLUSTER_FINDER_MORHAC_H_
13 #include <TSpectrum.h>
16 #include "StRoot/StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
18 #include "StEEmcStripClusterFinder.h"
27 virtual Int_t
find(
const ESmdLayer_t& stripArray, StSimpleClusterVec_t& cluster );
29 void setDoMarkov( Bool_t val ){ mDoMarkov = val; };
30 void setRemoveBkg( Bool_t val ){ mRemoveBkg = val; };
31 void setMinStripsPerCluster( Int_t val ){ mMinStripsPerCluster = val; };
32 void setNumDeconIters( Int_t val ){ mNumDeconIters = val; };
33 void setAverWindow( Int_t val ){ mAverWindow = val; };
34 void setWidth( Float_t val ){ mWidth = val; };
35 void setThreshold( Float_t val ){ mThreshold = val; };
36 void setMinPeakEnergy( Float_t val ){ mMinPeakEnergy = val; };
37 void setMinClusterEnergy( Float_t val ){ mMinClusterEnergy = val; };
38 void setNumSmoothIters( Int_t num ){ mNumSmoothIters = num; };
41 Bool_t mRemoveBkg, mDoMarkov;
42 Int_t mMaxNumPoints, mMinStripsPerCluster, mNumDeconIters, mAverWindow, mNumSmoothIters;
43 Float_t mWidth, mThreshold, mMinPeakEnergy, mMinClusterEnergy;
45 Float_t mStripEnergyArray[kEEmcNumStrips], mSmoothedEnergyArray[kEEmcNumStrips];
46 Double_t mStripEnergyArrayTemp[kEEmcNumStrips];
47 Float_t mDeconvoluted[kEEmcNumStrips];
49 TSpectrum *peakFinderPtr;
virtual Int_t find(const ESmdLayer_t &stripArray, StSimpleClusterVec_t &cluster)
find some clusters