- Timestamp:
- 08/13/10 11:38:10 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Changelog
r9856 r9857 31 31 * mhist/MHHadronness.cc: 32 32 - fixed min/max of the intgral histogram 33 34 * mfbase/MFEventSelector.cc: 35 - if the number of events to be selected is negative select all events 33 36 34 37 -
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.