#ifndef HSHOWERDETECTOR_H #define HSHOWERDETECTOR_H #pragma interface #include "hdetector.h" #include "haddef.h" #include "TArrayI.h" class HParIo; class HTask; class HTaskSet; class HShowerDetector : public HDetector { private: Int_t maxRows; Int_t maxColumns; void getMaxValues(Int_t *, Int_t *); protected: HCategory *buildMatrixCat(const Text_t *classname,Float_t fillRate, Int_t nLevels); HCategory *buildMatrixCat(const Text_t *classname,Float_t fillRate, Int_t nLevels, Int_t* sizes); public: HShowerDetector(void); ~HShowerDetector(void); void activateParIo(HParIo* io); Bool_t write(HParIo* io); HTask *buildTask(const Text_t *name,const Option_t *opt=""); HCategory *buildCategory(Cat_t cat); HCategory *buildLinearCat(const Text_t *classname); Bool_t init(const Text_t* level="raw"); Int_t getShowerSectors(); Int_t getShowerModules(); Int_t getRows(){return maxRows;} Int_t getColumns(){return maxColumns;} ClassDef(HShowerDetector,1) // SHOWER detector class }; #endif /* !HSHOWERDETECTOR_H */