Changeset 1762 for trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc
- Timestamp:
- 02/19/03 13:47:29 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc
r1668 r1762 94 94 // the class description above. 95 95 // 96 MFEventSelector::MFEventSelector(const char *name, const char *title) 96 MFEventSelector::MFEventSelector(const char *name, const char *title, 97 const char *read) 97 98 : fNumTotalEvts(-1), fNumSelectEvts(-1), fSelRatio(-1), fNumSelectedEvts(0) 98 99 { 99 100 fName = name ? name : gsDefName.Data(); 100 101 fTitle = title ? title : gsDefTitle.Data(); 102 103 fRead = read; 101 104 } 102 105 … … 127 130 return kFALSE; 128 131 } 129 MRead *read = (MRead*)tlist->FindObject( "MRead");132 MRead *read = (MRead*)tlist->FindObject(fRead); 130 133 if (!read) 131 134 { … … 134 137 } 135 138 fNumTotalEvts = read->GetEntries(); 139 140 *fLog << "MFEventSelector::PreProcess; fNumTotalEvts = " 141 << fNumTotalEvts << endl; 136 142 137 143 SetBit(kNumTotalFromFile);
Note:
See TracChangeset
for help on using the changeset viewer.