Changeset 12945 for trunk/Mars/mraw


Ignore:
Timestamp:
02/27/12 14:21:39 (13 years ago)
Author:
tbretz
Message:
Some more improvements to FACT header printing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mraw/MRawRunHeader.cc

    r12939 r12945  
    10211021    }
    10221022    *fLog << endl;
    1023     if (fFormatVersion>10)
     1023    if (fFormatVersion>10 && fHeaderSizeRun>0 && fHeaderSizeEvt>0 && fHeaderSizeCrate>0)
    10241024        *fLog << "Header sizes: " << fHeaderSizeRun << "b (run), " << fHeaderSizeEvt << "b (evt), " << fHeaderSizeCrate << "b (crate)" << endl;
    10251025    if (fRunNumber>0)
    10261026    {
    1027         if (fFormatVersion>5)
     1027        if (fFormatVersion>5 && fTelescopeNumber>0)
    10281028            *fLog << "Telescope:    " << fTelescopeNumber << endl;
    10291029        *fLog << "RunNumber:    " << fRunNumber;
Note: See TracChangeset for help on using the changeset viewer.