source: trunk/MagicSoft/Mars/mfbase/MFDataMember.h@ 3520

Last change on this file since 3520 was 3330, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 917 bytes
Line 
1#ifndef MARS_MFDataMember
2#define MARS_MFDataMember
3
4#ifndef MARS_MFilter
5#include "MFilter.h"
6#endif
7#ifndef MARS_MDataMember
8#include "MDataMember.h"
9#endif
10
11class MParList;
12
13class MFDataMember : public MFilter
14{
15private:
16 MDataMember fData;
17
18 typedef enum { kELowerThan, kEGreaterThan, kEEqual } FilterType_t;
19 FilterType_t fFilterType;
20
21 Bool_t fResult; //!
22 Double_t fValue;
23
24 void StreamPrimitive(ofstream &out) const;
25
26 Int_t PreProcess(MParList *pList);
27 Int_t Process();
28
29public:
30 enum {
31 kIsInt = BIT(14)
32 };
33 MFDataMember(const char *member, const char type, const Double_t val,
34 const char *name=NULL, const char *title=NULL);
35
36 Bool_t IsExpressionTrue() const { return fResult; }
37
38 void Print(Option_t *opt = "") const;
39 TString GetRule() const;
40
41 ClassDef(MFDataMember, 1) // A Filter for cuts in any data member
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.