Changeset 7418 for trunk/MagicSoft/Mars/mfbase
- Timestamp:
- 11/22/05 10:25:49 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfbase/MFEventSelector.cc
r3330 r7418 169 169 fResult = gRandom->Uniform() < fSelRatio; 170 170 171 if (!fResult) 172 return kTRUE; 173 174 fNumSelectedEvts++; 171 if (fResult) 172 fNumSelectedEvts++; 173 175 174 return kTRUE; 176 175 } … … 201 200 //--------------------------------- 202 201 if (TestBit(kNumTotalFromFile)) 202 { 203 203 fNumTotalEvts = -1; 204 if (fNumSelectEvts>0) 205 fSelRatio = -1; 206 } 204 207 205 208 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.