// ------------------------------------------------------------------------- // ----- CbmVisMuchSector header file ----- // ----- Created 14/03/07 by E. Kryshen ----- // ------------------------------------------------------------------------- /** CbmVisMuchSector *@author Evgeny Kryshen *@since 14.03.07 *@version 1.0 ** **/ #ifndef CBMVISMUCHSECTOR_H #define CBMVISMUCHSECTOR_H 1 #include "CbmVisSector.h" class CbmMuchStation; class CbmMuchSector; class CbmVisMuchSector : public CbmVisSector{ ClassDef(CbmVisMuchSector,1); public: CbmVisMuchSector(CbmMuchStation* station, CbmMuchSector* sector,TObjArray* sectors, TClonesArray* digis); ~CbmVisMuchSector(){} CbmMuchStation* GetStation() { return fStation; } CbmMuchSector* GetSector() { return fSector; } void CreatePads(); void ResetPads(); void MarkFiredPads(); void DrawPads(); void DrawFull(bool active=0); void DrawNeighbours(); Double_t CalcOccupancy(); Double_t GetOccupancy() { return fOccupancy; } protected: CbmMuchStation* fStation; CbmMuchSector* fSector; TClonesArray* fPads; TClonesArray* fDigis; TObjArray* fSectors; Double_t fOccupancy; }; #endif