| Line |  | 
|---|
| 1 | #ifndef MARS_MDataValue | 
|---|
| 2 | #define MARS_MDataValue | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MData | 
|---|
| 5 | #include "MData.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class TArrayD; | 
|---|
| 9 |  | 
|---|
| 10 | class MDataValue : public MData | 
|---|
| 11 | { | 
|---|
| 12 | private: | 
|---|
| 13 | Double_t fValue; | 
|---|
| 14 | Int_t    fIndex; | 
|---|
| 15 |  | 
|---|
| 16 | public: | 
|---|
| 17 | MDataValue(Double_t v = 0, Int_t idx=-1) : fValue(v), fIndex(idx) | 
|---|
| 18 | { | 
|---|
| 19 | } | 
|---|
| 20 |  | 
|---|
| 21 | Double_t GetValue() const { return fValue; } | 
|---|
| 22 | Bool_t PreProcess(const MParList *plist) { return kTRUE; } | 
|---|
| 23 |  | 
|---|
| 24 | Bool_t IsValid() const { return kTRUE; } | 
|---|
| 25 | Bool_t IsReadyToSave() const { return kFALSE; } | 
|---|
| 26 |  | 
|---|
| 27 | TString GetRule() const; | 
|---|
| 28 |  | 
|---|
| 29 | void SetVariables(const TArrayD &arr); | 
|---|
| 30 |  | 
|---|
| 31 | ClassDef(MDataValue, 1) // MData object corresponding to a single value | 
|---|
| 32 | }; | 
|---|
| 33 |  | 
|---|
| 34 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.