Changeset 16964


Ignore:
Timestamp:
07/19/13 09:07:03 (11 years ago)
Author:
lyard
Message:
replaced fits with fact fits to be able to read compressed files
Location:
trunk/FACT++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r15278 r16964  
    2323
    2424#include "src/Configuration.h"
    25 #include "externals/fits.h"
     25#include "externals/factfits.h"
    2626
    2727
     
    547547    }
    548548    try {
    549     inputFile = new fits(file);
     549    inputFile = new factfits(file, "Events");
    550550    }
    551551    catch (std::runtime_error e)
     
    22202220        "The FACT++ raw data viewer.\n"
    22212221        "\n"
    2222         "Usage: viewer [OPTIONS] [datafile.fits[.gz] [calibration.drs.fits[.gz]]]\n"
     2222        "Usage: viewer [OPTIONS] [datafile.fits[.gz|.fz] [calibration.drs.fits[.gz]]]\n"
    22232223        "  or:  viewer [OPTIONS]\n";
    22242224    cout << endl;
  • trunk/FACT++/src/fitsdump.cc

    r16423 r16964  
    1616
    1717#include "Time.h"
    18 #include "externals/zfits.h"
     18#include "externals/factfits.h"
    1919
    2020#ifdef HAVE_ROOT
     
    6161
    6262
    63 class FitsDumper : public zfits
     63class FitsDumper : public factfits
    6464{
    6565private:
     
    9898//!        the ostream where to redirect the outputs
    9999//
    100 FitsDumper::FitsDumper(const string &fname) : zfits(fname), fFilename(fname)
     100FitsDumper::FitsDumper(const string &fname) : factfits(fname, "Events"), fFilename(fname)
    101101{
    102102}
     
    818818    const size_t limit  = conf.Get<size_t>("limit");
    819819
     820#ifdef HAVE_ROOT
    820821    if (conf.Get<bool>("root"))
    821822    {
     
    823824        return 0;
    824825    }
     826#endif
    825827
    826828    const vector<MyColumn> cols = InitColumns(conf.Vec<string>("col"));
Note: See TracChangeset for help on using the changeset viewer.