Changeset 18546 for trunk/Mars


Ignore:
Timestamp:
08/26/16 12:58:47 (8 years ago)
Author:
tbretz
Message:
In EventIO the impact is not calculated on the ground, the trajectory option is detected differently, the cherenkov flag is output also as a hex number
File:
1 edited

Legend:

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

    r18537 r18546  
    114114
    115115    // CORSIKA scattering in a disc on the ground
    116     if (f[246]>0 && f[247]==0)
     116    if (f[246]>0 && f[247]==0 && !fInFormat->IsEventioFormat())
    117117    {
    118118        *fLog << warn << "WARNING - Events scattered in a disc on the ground." << endl;
     
    263263        *fLog << "ViewCone:       " << fViewConeInnerAngle << UTF8::kDeg << " - " << fViewConeOuterAngle << UTF8::kDeg << endl;
    264264
    265     if (fZdMax>=0)
     265    *fLog << "Zd/Az:          ";
     266    if (fZdMax>=0 && fZdMin<360)
    266267    {
    267         *fLog << "Zd/Az:          " << fZdMin << UTF8::kDeg;
     268        *fLog << fZdMin << UTF8::kDeg;
    268269        if (fZdMin==fZdMax)
    269270            *fLog << " (fixed)";
     
    272273        *fLog << " / " << fAzMin << UTF8::kDeg;
    273274        if (fAzMin==fAzMax)
    274             *fLog << (fAzMin==180?" (trajectory)":" (fixed)");
     275            *fLog << " (fixed)";
    275276        else
    276277            *fLog << "-" << fAzMax << UTF8::kDeg;
    277278        *fLog << "  w.r.t. magnetic North." << endl;
    278279    }
     280
     281    if (fZdMin>=360) // 4010.7
     282        *fLog << "-trajectory-" << endl;
     283
    279284
    280285    if (fImpactMax>0)
     
    298303    if (Has(kSlant))
    299304        *fLog << " SLANT";
    300     *fLog << endl;
     305    *fLog << " [" << hex << fCerenkovFlag << "]" << dec << endl;
    301306
    302307    if (HasLayers())
Note: See TracChangeset for help on using the changeset viewer.