source: tags/Mars-V0.9.1/mdata/MData.h

Last change on this file was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1010 bytes
Line 
1#ifndef MARS_MData
2#define MARS_MData
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MData //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MParContainer
11#include "MParContainer.h"
12#endif
13
14class MParList;
15
16class MData : public MParContainer
17{
18public:
19 virtual Double_t GetValue() const = 0;
20 virtual Bool_t IsValid() const = 0;
21 virtual Bool_t PreProcess(const MParList *plist) = 0;
22 virtual TString GetRule() const = 0;
23 virtual TString GetDataMember() const { return ""; }
24
25 Double_t operator()() { return GetValue(); }
26
27 void Print(Option_t *opt = "") const;
28 Bool_t AsciiWrite(ostream &out) const;
29
30 ClassDef(MData, 0) // A Base class for a generalized value
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.