Changeset 19268
- Timestamp:
- 10/22/18 20:54:10 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/processing/numevents.C
r19267 r19268 132 132 return 2; 133 133 } 134 const MAlphaFitter &fit =halphaon->GetAlphaFitter();135 if (! &fit)134 const MAlphaFitter *fit = &halphaon->GetAlphaFitter(); 135 if (!fit) 136 136 { 137 137 cout << "WARNING - Reading of MAlphaFitter failed, file " << gfile << endl; … … 141 141 //check if the excess events number is small and close to 0 142 142 //due to the computer precision error when subtracting sig and bg events 143 fNumBgEvts = fit .GetEventsBackground();144 fNumSigEvts = fit .GetEventsSignal();145 fNumExcEvts = fit .GetEventsExcess();143 fNumBgEvts = fit->GetEventsBackground(); 144 fNumSigEvts = fit->GetEventsSignal(); 145 fNumExcEvts = fit->GetEventsExcess(); 146 146 fNumExcEvts = fabs(fNumExcEvts)<1e-5 ? 0 : fNumExcEvts; 147 147
Note:
See TracChangeset
for help on using the changeset viewer.