Changeset 7635 for trunk/MagicSoft


Ignore:
Timestamp:
04/12/06 13:43:27 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7634 r7635  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2006/04/12 Thomas Bretz
     22
     23   * datacenter/macros/filldotraw.C:
     24     - allow to access gzipped raw-files
     25
     26
    2027
    2128 2006/04/11 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C

    r7528 r7635  
    6767#include <TSQLResult.h>
    6868
     69#include "MZlib.h"
    6970#include "MSQLServer.h"
    7071#include "MRawRunHeader.h"
     
    9899Bool_t ReadRaw(TString fname, MRawRunHeader &h)
    99100{
    100     ifstream fin(fname);
     101    MZlib fin(fname);
    101102    if (!fin)
    102103    {
     
    144145    if (fname.EndsWith(".raw"))
    145146        ReadRaw(fname, h);
     147    if (fname.EndsWith(".raw.gz"))
     148        ReadRaw(fname, h);
    146149
    147150    if (dummy)
     
    224227    cout << "date: " << date << endl;
    225228    TString path(Form("/magic/data/rawfiles/%s", date.Data()));
    226     TString file(Form("*%d*.raw", runno));
     229    TString file(Form("*%d_*_*_E.raw.?g?z?", runno));
    227230
    228231    delete res;
Note: See TracChangeset for help on using the changeset viewer.