Ignore:
Timestamp:
06/17/08 18:11:57 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8966 r8970  
    106106    UInt_t   GetRunNumber() const         { return fRunNumber; }
    107107    UInt_t   GetFileNumber() const        { return fFileNumber; }
    108     UInt_t   GetRunID() const             { return (fRunNumber/1000000)%100; }
     108    UInt_t   GetTypeID() const            { return (fRunNumber/1000000)%100; }
    109109    UInt_t   GetFileID() const            { return fRunNumber>1000000?(fRunNumber%1000000)*1000+(fFileNumber%1000):fRunNumber; }
    110110    UShort_t GetTelescopeNumber() const   { return fRunType; }
     
    127127    const MTime &GetRunStart() const      { return fRunStart; }
    128128    const MTime &GetRunEnd() const        { return fRunStop; }
    129     Double_t GetRunLength() const         { return fRunStop-fRunStart; }
     129    Double_t GetRunLength() const         { return !fRunStart || !fRunStop ? 0 : fRunStop-fRunStart; }
    130130    Short_t GetPixAssignment(UShort_t i) const;
    131131    UShort_t GetMaxPixId() const;
Note: See TracChangeset for help on using the changeset viewer.