Ignore:
Timestamp:
02/20/09 00:39:31 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.cc

    r9352 r9359  
    183183    // g[93] angle between array x-direction and magnetic north
    184184
    185 
    186     fImpactMax = g[86];
     185    // This is a trick to use CERARY for storage of the
     186    // maximum simulated impact
     187    fImpactMax = -1;
     188    if (TMath::Nint(g[84])==1 && TMath::Nint(g[85])==1 &&
     189        TMath::Nint(g[88])==1 && TMath::Nint(g[89])==1 &&
     190        g[86]==g[87])
     191        fImpactMax = g[86];
    187192
    188193    fWavelengthMin = g[94];        // Cherenkov bandwidth lower end in nm
     
    283288        *fLog << "  w.r.t. magnetic North." << endl;
    284289    }
     290
     291    if (fImpactMax>0)
     292        *fLog << "Max.sim.Impact: " << fImpactMax << "cm" << endl;
    285293
    286294    *fLog << "Options used:  ";
Note: See TracChangeset for help on using the changeset viewer.