source: trunk/MagicSoft/Mars/mfilter/MFDataMember.h@ 2309

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