Changeset 9902 for trunk/Mars


Ignore:
Timestamp:
08/30/10 09:52:49 (14 years ago)
Author:
tbretz
Message:
Fixed Type==5 in MHPhotonEvent.
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r9901 r9902  
    2929   * mbase/MLut.cc:
    3030     - added possibility to have comment (ignored) lines
     31
     32   * msim/MHPhotonEvent.cc:
     33     - fixed Type==5
    3134
    3235
  • trunk/Mars/msim/MHPhotonEvent.cc

    r9851 r9902  
    237237            }
    238238            // Type 3: Define ~10 bins per pixel
    239             xmax = fType==3 ? c->GetMaxRadius() : 4*(*c)[0].GetT()/10;
    240             num  = fType==3 ? TMath::Nint(10*(2*c->GetMaxRadius())/(2*(*c)[0].GetT())) : 101;
     239            xmax = fType==3 || fType==5 ? c->GetMaxRadius() : 4*(*c)[0].GetT()/10;
     240            num  = fType==3 || fType==5 ? TMath::Nint(10*(2*c->GetMaxRadius())/(2*(*c)[0].GetT())) : 101;
    241241
    242242            if (fType==5)
Note: See TracChangeset for help on using the changeset viewer.