source: branches/MarsWobble/mtemp/mifae/library/MIslands.h@ 18162

Last change on this file since 18162 was 5549, checked in by rico, 20 years ago
*** empty log message ***
File size: 1.0 KB
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 Float_t fAlphaW;
26
27 public:
28
29 MIslands(const char *name=NULL, const char *title=NULL);
30 ~MIslands();
31
32 MImgIsland &operator[] (Int_t i);
33 const MImgIsland &operator[] (Int_t i) const;
34
35 TList* GetList() const { return fIslands; }
36 UInt_t GetIslNum() const { return fIslands->GetSize(); } //number of islands
37 Float_t GetAlphaW() const { return fAlphaW; } //alpha weighted
38
39 void SetIslNum (Int_t i) { fIslNum = i; }
40 void SetAlphaW(Float_t val) { fAlphaW = val; }
41 // MHCamera& GetDisplay() { return fDisplay; }
42
43 // void Paint(Option_t *o=NULL);
44 void Print(Option_t *o=NULL) const;
45
46 ClassDef(MIslands, 2) // Storage Container for islands
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.