source: trunk/MagicSoft/Mars/mdata/MDataValue.h@ 2613

Last change on this file since 2613 was 1896, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 987 bytes
Line 
1#ifndef MARS_MDataValue
2#define MARS_MDataValue
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MDataValue //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MData
11#include "MData.h"
12#endif
13
14class MDataValue : public MData
15{
16private:
17 Double_t fValue;
18
19public:
20 MDataValue(Double_t v = 0) : fValue(v)
21 {
22 }
23
24 Double_t GetValue() const { return fValue; }
25 Bool_t PreProcess(const MParList *plist) { return kTRUE; }
26
27 Bool_t IsValid() const { return kTRUE; }
28 Bool_t IsReadyToSave() const { return kFALSE; }
29
30 //void Print(Option_t *opt = "") const;
31 TString GetRule() const;
32
33 ClassDef(MDataValue, 1) // MData object corresponding to a single value
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.