ROOT logo
#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 */
 hshowerdetector.h:1
 hshowerdetector.h:2
 hshowerdetector.h:3
 hshowerdetector.h:4
 hshowerdetector.h:5
 hshowerdetector.h:6
 hshowerdetector.h:7
 hshowerdetector.h:8
 hshowerdetector.h:9
 hshowerdetector.h:10
 hshowerdetector.h:11
 hshowerdetector.h:12
 hshowerdetector.h:13
 hshowerdetector.h:14
 hshowerdetector.h:15
 hshowerdetector.h:16
 hshowerdetector.h:17
 hshowerdetector.h:18
 hshowerdetector.h:19
 hshowerdetector.h:20
 hshowerdetector.h:21
 hshowerdetector.h:22
 hshowerdetector.h:23
 hshowerdetector.h:24
 hshowerdetector.h:25
 hshowerdetector.h:26
 hshowerdetector.h:27
 hshowerdetector.h:28
 hshowerdetector.h:29
 hshowerdetector.h:30
 hshowerdetector.h:31
 hshowerdetector.h:32
 hshowerdetector.h:33
 hshowerdetector.h:34
 hshowerdetector.h:35
 hshowerdetector.h:36
 hshowerdetector.h:37
 hshowerdetector.h:38
 hshowerdetector.h:39
 hshowerdetector.h:40
 hshowerdetector.h:41
 hshowerdetector.h:42
 hshowerdetector.h:43
 hshowerdetector.h:44
 hshowerdetector.h:45