| Line | |
|---|
| 1 | #ifndef MARS_MDataElement
|
|---|
| 2 | #define MARS_MDataElement
|
|---|
| 3 |
|
|---|
| 4 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 5 | // //
|
|---|
| 6 | // MDataElement //
|
|---|
| 7 | // //
|
|---|
| 8 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 9 | #ifndef MARS_MData
|
|---|
| 10 | #include "MData.h"
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | class MHMatrix;
|
|---|
| 14 |
|
|---|
| 15 | class MDataElement : public MData
|
|---|
| 16 | {
|
|---|
| 17 | private:
|
|---|
| 18 | TString fMatrixName;
|
|---|
| 19 | Int_t fNumCol;
|
|---|
| 20 |
|
|---|
| 21 | MHMatrix *fMatrix;
|
|---|
| 22 |
|
|---|
| 23 | public:
|
|---|
| 24 | MDataElement(const char *member=NULL, Int_t col=-1);
|
|---|
| 25 | MDataElement(MHMatrix *mat, Int_t col=-1);
|
|---|
| 26 |
|
|---|
| 27 | Double_t GetValue() const;
|
|---|
| 28 | Bool_t PreProcess(const MParList *plist);
|
|---|
| 29 |
|
|---|
| 30 | Bool_t IsValid() const { return kTRUE; }
|
|---|
| 31 | Bool_t IsReadyToSave() const;
|
|---|
| 32 |
|
|---|
| 33 | //void Print(Option_t *opt = "") const;
|
|---|
| 34 | TString GetRule() const;
|
|---|
| 35 |
|
|---|
| 36 | Double_t operator()() { return GetValue(); }
|
|---|
| 37 |
|
|---|
| 38 | void SetVariables(const TArrayD &arr) { }
|
|---|
| 39 |
|
|---|
| 40 | ClassDef(MDataElement, 1) // MData object corresponding to a element of an MHMatrix
|
|---|
| 41 | };
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.