#ifndef HDETECTOR_H
#define HDETECTOR_H
#include "TNamed.h"
#include "TArrayI.h"
#include "haddef.h"
#include "hgeantdef.h"
class HTask;
class HCategory;
class HParIo;
class HDetector : public TNamed {
protected:
Int_t maxSectors;
Int_t maxModules;
Int_t maxComponents;
TArrayI* modules;
public:
HDetector(void);
HDetector(const Text_t* name,const Text_t* title);
virtual ~HDetector(void);
Int_t getMaxSectors(void) {return maxSectors;}
Int_t getMaxModules(void) {return maxModules;}
Int_t getMaxComponents(void) {return maxComponents;}
Bool_t isSectorActive(Int_t sector);
virtual void setMaxSectors(Int_t sec=6) {maxSectors=sec;}
virtual void setModules(Int_t sec,Int_t* modules);
virtual Int_t* getModules(void);
virtual Int_t getModule(Int_t sector,Int_t mod) ;
virtual Bool_t init(void) {return kTRUE;}
virtual Bool_t write(HParIo* ) {return kFALSE;}
virtual void activateParIo(HParIo* ) {return;}
void print();
virtual HTask *buildTask(const Text_t *,const Option_t *) {return 0;}
virtual HCategory *buildCategory(Cat_t ) {return 0;}
ClassDef(HDetector,1)
};
#endif /* !HDETECTOR_H */
Last change: Sat May 22 12:54:42 2010
Last generated: 2010-05-22 12:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.