Changeset 13507
- Timestamp:
- 05/02/12 13:28:41 (13 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/calfactfits.h
r13503 r13507 1 1 //******************************** 2 2 // 3 // Class Cal fits3 // Class CalFactFits 4 4 // Wrapper class for fits.h or pyfits.h 5 5 // Provides fast access to calibrated events of FACT raw files … … 13 13 // Compilation (root in pyfact directory) 14 14 // 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++ 17 18 // 18 19 // Usage in Python: 19 // See CalFitsTest.py20 // See pyscripts/examples/CalFitsTest.py 20 21 // 21 22 //******************************** … … 47 48 #endif 48 49 49 #include " ../../pyfact/pyfits.h"50 #include "factfits.h" 50 51 51 class CalF its52 class CalFactFits 52 53 { 53 54 public: 54 //No standard constructor CalF its()!55 //No standard constructor CalFactFits()! 55 56 56 57 //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... 58 59 59 60 //Basic file parameters … … 80 81 double* npcaldata; 81 82 82 CalF its(const string &datafilename, const string &calibfilename) //Constructor with two filenames83 CalFactFits(const string &datafilename, const string &calibfilename) //Constructor with two filenames 83 84 : datafile(datafilename), 84 85 calibfile(calibfilename), … … 141 142 } 142 143 143 ~CalF its() //Standard destructor144 ~CalFactFits() //Standard destructor 144 145 { 145 146 delete[] calib_baselinemean;
Note:
See TracChangeset
for help on using the changeset viewer.