Changeset 17018 for trunk/Mars


Ignore:
Timestamp:
08/19/13 16:27:34 (11 years ago)
Author:
tbretz
Message:
Fixed a typo in a check. Fortunately, this was never an issue in a real context.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/melectronics/MAvalanchePhotoDiode.cc

    r10093 r17018  
    159159    const Double_t rt0 = - TMath::Log(threshold)*fRecoveryTime;
    160160    const Double_t rt1 = fAfterpulseProb[0]>0 ? -TMath::Log(threshold/fAfterpulseProb[0])*fAfterpulseTau[0] : 0;
    161     const Double_t rt2 = fAfterpulseProb[0]>0 ? -TMath::Log(threshold/fAfterpulseProb[1])*fAfterpulseTau[1] : 0;
     161    const Double_t rt2 = fAfterpulseProb[1]>0 ? -TMath::Log(threshold/fAfterpulseProb[1])*fAfterpulseTau[1] : 0;
    162162
    163163    // Probability not between t and inf, but between t and t+dt
Note: See TracChangeset for help on using the changeset viewer.