| Line | |
|---|
| 1 | #ifndef MARS_MParameters
|
|---|
| 2 | #define MARS_MParameters
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MParameterD : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Double_t fVal;
|
|---|
| 12 |
|
|---|
| 13 | public:
|
|---|
| 14 | MParameterD(const char *name=NULL, const char *title=NULL);
|
|---|
| 15 |
|
|---|
| 16 | void SetVal(Double_t v) { fVal = v; }
|
|---|
| 17 | Double_t GetVal() const { return fVal; }
|
|---|
| 18 |
|
|---|
| 19 | ClassDef(MParameterD, 1) // Container to hold a generalized parameters (double)
|
|---|
| 20 | };
|
|---|
| 21 |
|
|---|
| 22 | class MParameterI : public MParContainer
|
|---|
| 23 | {
|
|---|
| 24 | private:
|
|---|
| 25 | Int_t fVal;
|
|---|
| 26 |
|
|---|
| 27 | public:
|
|---|
| 28 | MParameterI(const char *name=NULL, const char *title=NULL);
|
|---|
| 29 |
|
|---|
| 30 | void SetVal(Int_t v) { fVal = v; }
|
|---|
| 31 | Int_t GetVal() const { return fVal; }
|
|---|
| 32 |
|
|---|
| 33 | ClassDef(MParameterI, 1) // Container to hold a generalized parameters (double)
|
|---|
| 34 | };
|
|---|
| 35 |
|
|---|
| 36 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.