////////////////////////////////////////////////////////////////////////////// // // $Id: $ // //*-- Author : Witold Przygoda (przygoda@psja1.if.uj.edu.pl) //*-- Revised : Martin Jurkovic 2010 // //_HADES_CLASS_DESCRIPTION ////////////////////////////////////////////////////////////////////////////// // // HRichPadClean // // ////////////////////////////////////////////////////////////////////////////// #ifndef HRICHPADCLEAN_H #define HRICHPADCLEAN_H #include "TArrayI.h" #include "TObject.h" #include "hcategory.h" #include "hrichanalysis.h" // **************************************************************************** class HRichPadClean: public TObject { // **************************************************************************** private: Int_t iCount; TArrayI iTempCluster; void DeletePulse(HRichAnalysis *showYou, Int_t border, Int_t col, Int_t row); public: HRichPadClean(); virtual ~HRichPadClean(); HRichPadClean(const HRichPadClean& source); HRichPadClean& operator=(const HRichPadClean& source); Int_t CleanAlonePad(HRichAnalysis *showMe, Int_t border = 3, Int_t lowerThr = 1); Int_t CleanHighPulse(HRichAnalysis *showMe, Int_t border = 2, Int_t upperThr = 200); Int_t Execute(HRichAnalysis *giveMe); Bool_t init(); Float_t calculateDPhi(HRichAnalysis *showMe, Int_t xmin, Int_t ymin, Int_t xmax, Int_t ymax); public: Int_t minX, maxX, minY, maxY; Int_t deltaPhi; Float_t chargeTot; Int_t padNr; HCategory * fRichClusCat;//! ClassDef(HRichPadClean, 1) }; //============================================================================ #endif // HRICHPADCLEAN_H