Changeset 6932 for trunk/MagicSoft/Mars/mfbase
- Timestamp:
- 04/12/05 17:05:49 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mfbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfbase/MF.cc
r6905 r6932 106 106 // Default Constructor. Don't use. 107 107 // 108 MF::MF() : fF(NULL) 108 MF::MF() : fF(NULL), fAllowEmpty(kFALSE) 109 109 { 110 110 fName = gsDefName.Data(); … … 117 117 // the class description above. 118 118 // 119 MF::MF(const char *text, const char *name, const char *title) 119 MF::MF(const char *text, const char *name, const char *title) : fAllowEmpty(kFALSE) 120 120 { 121 121 fName = name ? name : gsDefName.Data(); -
trunk/MagicSoft/Mars/mfbase/MF.h
r5911 r6932 21 21 static const TString gsDefTitle; //! 22 22 23 MFilter *fF; // Filter 23 MFilter *fF; // Filter 24 Bool_t fAllowEmpty; // Not a Bit to be stored 24 25 25 26 Int_t IsRule(TString &txt, TString &rule) const; … … 32 33 void StreamPrimitive(ofstream &out) const; 33 34 34 enum { kAllowEmpty = BIT(14) };35 36 35 public: 37 36 MF(); … … 40 39 41 40 // MF 42 void SetAllowEmpty(Bool_t b=kTRUE) { b ? SetBit(kAllowEmpty) : ResetBit(kAllowEmpty); }43 Bool_t IsAllowEmpty() const { return TestBit(kAllowEmpty); }41 void SetAllowEmpty(Bool_t b=kTRUE) { fAllowEmpty = b; } 42 Bool_t IsAllowEmpty() const { return fAllowEmpty; } 44 43 45 44 // MFilter … … 61 60 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE); 62 61 63 ClassDef(MF, 0) // A Filter for cuts in any data member62 ClassDef(MF, 1) // A Filter for cuts in any data member 64 63 }; 65 64
Note:
See TracChangeset
for help on using the changeset viewer.