Ignore:
Timestamp:
05/12/05 19:25:58 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

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

    r5782 r7023  
    5656//  ===========================
    5757//
     58//  Class Version 3:
     59//  ----------------
     60//   - enhanced SourceName and ProjectName by one character, because
     61//     without telling us the guranteed trailing \0-character has
     62//     skipped
     63//
    5864//  Class Version 2:
    5965//  ----------------
     
    101107    fRunType=kRTNone;  // use 0xffff for invalidation, 0 means: Data run
    102108    fRunNumber=0;
    103     fProjectName[0]=0;
    104     fSourceName[0]=0;
     109    memset(fProjectName, 0, 23);
     110    memset(fSourceName, 0, 13);
    105111    fSourceEpochChar[0]=0;
    106112    fSourceEpochDate=0;
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.h

    r4738 r7023  
    4343    UShort_t  fRunType;
    4444    UInt_t    fRunNumber;
    45     Char_t    fProjectName[22];
    46     Char_t    fSourceName[12];
     45    Char_t    fProjectName[23];
     46    Char_t    fSourceName[13];
    4747    Char_t    fSourceEpochChar[2];
    4848    UShort_t  fSourceEpochDate;
     
    116116    Bool_t ReadEvt(istream& fin);
    117117
    118     ClassDef(MRawRunHeader, 2)  // storage container for general info
     118    ClassDef(MRawRunHeader, 3)  // storage container for general info
    119119};
    120120#endif
Note: See TracChangeset for help on using the changeset viewer.