source: trunk/MagicSoft/Mars/mtemp/MIslands.h@ 3617

Last change on this file since 3617 was 3453, checked in by blanch, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MIslands
2#define MARS_MIslands
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef ROOT_TArrayF
9#include <TArrayF.h>
10#endif
11
12#ifndef ROOT_TArrayI
13#include <TArrayI.h>
14#endif
15
16
17class MIslands : public MParContainer
18{
19private:
20 // for description see MIslands.cc
21 Int_t fIslNum; // number of islands
22 Int_t fPixNum[30]; // number of pixels in the island
23 Float_t fSigToNoise[30] ; // signal to noise of the island
24
25public:
26 MIslands(const char *name=NULL, const char *title=NULL);
27 ~MIslands();
28
29 Int_t GetIslNum() const { return fIslNum; }
30 Int_t GetPixNum(Int_t i) const { return fPixNum[i]; }
31 Float_t GetSigToNoise(Int_t i) const { return fSigToNoise[i]; }
32 void SetIslNum(Int_t i) { fIslNum = i; }
33 void SetPixNum(Int_t i, Int_t j) { fPixNum[i] = j; }
34 void SetSigToNoise(Int_t i, Float_t m) { fSigToNoise[i] = m; }
35
36 ClassDef(MIslands, 1) // Storage Container for Island Parameters
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.