| Line | |
|---|
| 1 | #ifndef MARS_MDataChain
|
|---|
| 2 | #define MARS_MDataChain
|
|---|
| 3 |
|
|---|
| 4 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 5 | // //
|
|---|
| 6 | // MDataList //
|
|---|
| 7 | // //
|
|---|
| 8 | // List of several filters //
|
|---|
| 9 | // //
|
|---|
| 10 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 11 |
|
|---|
| 12 | #ifndef MARS_MData
|
|---|
| 13 | #include "MData.h"
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | class MDataChain : public MData
|
|---|
| 17 | {
|
|---|
| 18 | private:
|
|---|
| 19 | MData *fMember; // Filter
|
|---|
| 20 |
|
|---|
| 21 | Int_t IsAlNum(TString txt);
|
|---|
| 22 |
|
|---|
| 23 | MData *ParseString(TString txt, Int_t level);
|
|---|
| 24 |
|
|---|
| 25 | public:
|
|---|
| 26 | MDataChain(const char *text, const char *name=NULL, const char *title=NULL);
|
|---|
| 27 | ~MDataChain();
|
|---|
| 28 |
|
|---|
| 29 | Double_t GetValue() const;
|
|---|
| 30 | Bool_t PreProcess(const MParList *plist);
|
|---|
| 31 |
|
|---|
| 32 | Bool_t IsValid() const { return fMember ? kTRUE : kFALSE; }
|
|---|
| 33 |
|
|---|
| 34 | void Print(Option_t *opt = "") const;
|
|---|
| 35 |
|
|---|
| 36 | ClassDef(MDataChain, 0) // A chain/concatenation of MData objects
|
|---|
| 37 | };
|
|---|
| 38 |
|
|---|
| 39 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.