Ignore:
Timestamp:
09/29/10 21:30:21 (14 years ago)
Author:
tbretz
Message:
Fixed a problem reading the RUNE section in the raw corsika files and accelerated plain readcorsika.
File:
1 edited

Legend:

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

    r9937 r9949  
    8585Bool_t MCorsikaRunHeader::ReadEvt(MCorsikaFormat * fInFormat)
    8686{
    87     if (!fInFormat->SeekNextBlock("RUNH", 1200))
     87    if (fInFormat->SeekNextBlock("RUNH", 1200)!=kTRUE)
    8888        return kFALSE;
    8989
     
    158158    // f[145] Muon multiple scattering flag
    159159
    160     if (!fInFormat->SeekNextBlock("EVTH", 1202))
     160    if (fInFormat->SeekNextBlock("EVTH", 1202)!=kTRUE)
    161161        return kFALSE;
    162162
     
    221221Bool_t MCorsikaRunHeader::ReadEvtEnd(MCorsikaFormat * fInFormat)
    222222{
    223 
    224     if (!fInFormat->SeekNextBlock("RUNE", 1210))
     223    if (fInFormat->SeekNextBlock("RUNE", 1210)!=kTRUE)
    225224        return kFALSE;
    226225
Note: See TracChangeset for help on using the changeset viewer.