Changeset 5461 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/23/04 14:31:26 (20 years ago)
Author:
reyes
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5460 r5461  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2004/11/23: Raquel de los Reyes
     24
     25   * mbase/MRunIter.[h,cc]
     26     - changed the format of the read file to allow the processing of
     27       standard F0/F1 (pedestal/calibration) files.
     28     - Included a Set function.
     29
    2230
    2331 2004/11/22: Markus Gaug
  • trunk/MagicSoft/Mars/mbase/MRunIter.cc

    r5307 r5461  
    5555    // Changes to read the DAQ numbering format. Changes takes place
    5656    // between runs 35487 and 00035488 (2004_08_30)
    57     const char *fmt = run>35487 ? "*_%08d_*_%s" : "*_%05d_*_%s";
     57    const char *fmt;
     58    if(fIsStandardFile)
     59      {
     60        fmt = "%05d-%s";
     61        fIsRawFile = kFALSE;
     62      }
     63    else
     64      fmt = run>35487 ? "*_%08d_*_%s" : "*_%05d_*_%s";
    5865
    5966    MDirIter Next;
  • trunk/MagicSoft/Mars/mbase/MRunIter.h

    r5209 r5461  
    1717
    1818    Bool_t fIsRawFile;
     19    Bool_t fIsStandardFile;
    1920
    2021    void AddRunNumber(UInt_t run)
     
    4445
    4546    void SetRawFile(Bool_t filetype) { fIsRawFile = filetype; }
     47    void SetStandardFile(Bool_t filetype) { fIsStandardFile = filetype; }
    4648
    4749    Int_t AddRun(UInt_t run, const char *path=0);
Note: See TracChangeset for help on using the changeset viewer.