Changeset 13507


Ignore:
Timestamp:
05/02/12 13:28:41 (13 years ago)
Author:
neise
Message:
renamed class
File:
1 copied

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/calfactfits.h

    r13503 r13507  
    11//********************************
    22//
    3 // Class Calfits
     3// Class CalFactFits
    44// Wrapper class for fits.h or pyfits.h
    55// Provides fast access to calibrated events of FACT raw files
     
    1313// Compilation (root in pyfact directory)
    1414// root [0] gSystem->Load("/usr/lib64/libz.so");
    15 // root [1] .L pyfits.h++
    16 // root [2] .L ../sandbox/kraehenb/calfits.h++
     15// root [1] .L izstream.h++
     16// root [2] .L factfits.h++
     17// root [3] .L calfactfits.h++
    1718//
    1819// Usage in Python:
    19 // See CalFitsTest.py
     20// See pyscripts/examples/CalFitsTest.py
    2021//
    2122//********************************
     
    4748#endif
    4849
    49 #include "../../pyfact/pyfits.h"
     50#include "factfits.h"
    5051
    51 class CalFits
     52class CalFactFits
    5253{
    5354public:
    54         //No standard constructor CalFits()!
     55        //No standard constructor CalFactFits()!
    5556       
    5657        //Direct handlers of the files
    57         fits datafile, calibfile; //Class name should be PyFits or better FactPyFits...
     58        FactFits datafile, calibfile; //Class name should be PyFits or better FactPyFits...
    5859       
    5960        //Basic file parameters
     
    8081        double* npcaldata;
    8182       
    82         CalFits(const string &datafilename, const string &calibfilename) //Constructor with two filenames
     83        CalFactFits(const string &datafilename, const string &calibfilename) //Constructor with two filenames
    8384                : datafile(datafilename),
    8485                        calibfile(calibfilename),
     
    141142        }
    142143       
    143         ~CalFits() //Standard destructor
     144        ~CalFactFits() //Standard destructor
    144145        {
    145146                delete[] calib_baselinemean;
Note: See TracChangeset for help on using the changeset viewer.