Changeset 4115


Ignore:
Timestamp:
05/21/04 15:58:32 (21 years ago)
Author:
reyes
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4114 r4115  
    2626     - changed the inheritance of MRawRead class from MTask to MRead to
    2727       implement the AddFiles(MDirIter &) function in MRawFileRead class.
     28   * mraw/MRawFileRead.[h,cc]
     29     - implemented a second argument to the AddFile function and skip
     30       adding NULL files in the constructor.
     31   * mjobs/MJPedestal.cc
     32     - uncommented the line to allow the analysis of .raw files.
    2833
    2934 2004/05/20: Markus Gaug
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r4113 r4115  
    238238    MGeomCamMagic magiccam;
    239239    MReadMarsFile read("Events");
    240     MRawFileRead rawread("");
     240    MRawFileRead rawread(NULL);
    241241
    242242    if (fDataCheck)
    243243    {
    244 //      rawread.AddFiles(*fRuns);
     244        rawread.AddFiles(*fRuns);
    245245        tlist.AddToList(&rawread);
    246246    }
  • trunk/MagicSoft/Mars/mraw/MRawFileRead.cc

    r3800 r4115  
    109109    fFileNames->SetOwner();
    110110
    111     AddFile(fname);
     111    if(fname!=NULL)
     112      AddFile(fname);
    112113}
    113114
     
    129130// wildcard support)
    130131//
    131 Int_t MRawFileRead::AddFile(const char *fname)
     132Int_t MRawFileRead::AddFile(const char *fname, Int_t entries)
    132133{
    133134    TNamed *name = new TNamed(fname, "");
  • trunk/MagicSoft/Mars/mraw/MRawFileRead.h

    r3800 r4115  
    3636    const TString GetFileName() const;
    3737
    38     Int_t  AddFile(const char *fname);
     38    Int_t  AddFile(const char *fname, Int_t entries=-1);
    3939    Bool_t Rewind();
    4040
Note: See TracChangeset for help on using the changeset viewer.