| 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 |
|
|---|
| 17 | class MIslands : public MParContainer
|
|---|
| 18 | {
|
|---|
| 19 | private:
|
|---|
| 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 |
|
|---|
| 25 | public:
|
|---|
| 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.