source: trunk/MagicSoft/Mars/mdata/MDataElement.h@ 9488

Last change on this file since 9488 was 3572, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.1 KB
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
13class MHMatrix;
14
15class MDataElement : public MData
16{
17private:
18 TString fMatrixName;
19 Int_t fNumCol;
20
21 MHMatrix *fMatrix;
22
23public:
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.