Ignore:
Timestamp:
02/19/09 17:53:59 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9313 r9351  
    957957    if (fFormatVersion>5)
    958958        *fLog << "Observation: '" << fObservationMode << "'" << endl;
    959     *fLog << "Source:      '" << fSourceName << "' " << "  ";
    960     *fLog << fSourceEpochChar << dec << fSourceEpochDate << endl;
     959    if (fSourceName[0]!=0 || fSourceEpochChar[0]!=0 || fSourceEpochDate!=0)
     960    {
     961        *fLog << "Source:      '" << fSourceName << "' " << "  ";
     962        *fLog << fSourceEpochChar << dec << fSourceEpochDate << endl;
     963    }
    961964    if (fRunStart)
    962965        *fLog << "Run Start:    " << fRunStart << endl;
     
    974977    else
    975978        *fLog << (fNumSamplesLoGain+fNumSamplesHiGain) * fNumBytesPerSample << "B/pix" << endl;
    976     *fLog << "Evt Counter:  " << fNumEvents;
    977     if (fFormatVersion>8)
    978         *fLog << " (read=" << fNumEventsRead << ")";
    979     *fLog << endl;
     979    if (fNumEvents>0 || fNumEventsRead>0)
     980    {
     981        *fLog << "Evt Counter:  " << fNumEvents;
     982        if (fFormatVersion>8)
     983            *fLog << " (read=" << fNumEventsRead << ")";
     984        *fLog << endl;
     985    }
    980986
    981987    if (TString(t).Contains("header", TString::kIgnoreCase))
Note: See TracChangeset for help on using the changeset viewer.