Ignore:
Timestamp:
08/30/10 09:52:49 (14 years ago)
Author:
tbretz
Message:
Fixed Type==5 in MHPhotonEvent.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.