source: trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.h@ 5186

Last change on this file since 5186 was 5186, checked in by aliu, 20 years ago
*** empty log message ***
File size: 905 bytes
Line 
1#ifndef MARS_MIslands
2#define MARS_MIslands
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MHCamera
9#include "MHCamera.h"
10#endif
11
12class TList;
13
14class MImgIsland;
15
16class MIslands : public MParContainer
17{
18 private:
19
20 TList* fIslands; //-> FIXME: Change TClonesArray away from a pointer?
21
22 //MHCamera fDisplay;
23
24 Int_t fIslNum;
25
26 public:
27
28 MIslands(const char *name=NULL, const char *title=NULL);
29 ~MIslands();
30
31 MImgIsland &operator[] (Int_t i);
32 const MImgIsland &operator[] (Int_t i) const;
33
34 TList* GetList() const { return fIslands; }
35 UInt_t GetIslNum() const { return fIslands->GetSize(); } //number of islands
36
37 void SetIslNum (Int_t i) { fIslNum = i; }
38
39 // MHCamera& GetDisplay() { return fDisplay; }
40
41 // void Paint(Option_t *o=NULL);
42 void Print(Option_t *o=NULL) const;
43
44 ClassDef(MIslands, 1) // Storage Container for islands
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.