Changeset 9857 for trunk/Mars/mfbase
- Timestamp:
- 08/13/10 11:38:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mfbase/MFEventSelector.cc
r7804 r9857 150 150 } 151 151 152 if (fNumSelectEvts<0) 153 { 154 fSelRatio = 1; 155 *fLog << inf << "No selection will be done - all events selected." << endl; 156 return kTRUE; 157 } 158 152 159 // Calculate selection probability 153 160 fSelRatio = (Double_t)fNumSelectEvts/fNumTotalEvts; 154 161 155 *fLog << inf << " MFEventSelector: Selection probability = " << fNumSelectEvts;156 *fLog << "/" <<fNumTotalEvts << " = " << Form("%.2f", fSelRatio) << endl;162 *fLog << inf << "Selection probability = " << fNumSelectEvts << "/"; 163 *fLog << fNumTotalEvts << " = " << Form("%.2f", fSelRatio) << endl; 157 164 158 165 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.