Changeset 17683 for fact/tools


Ignore:
Timestamp:
04/23/14 16:50:50 (11 years ago)
Author:
dneise
Message:
adjusted to new C++ header files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/pyfact.py

    r14469 r17683  
    1414# make sure the location of factfits_h.so is in LD_LIBRARY_PATH.
    1515# having it in PYTHONPATH is *not* sufficient
    16 gSystem.Load('factfits_h.so')
     16gSystem.Load('fits_h.so')
     17gSystem.Load('extern_Mars_mcore/izstream_h.so')
     18gSystem.Load('extern_Mars_mcore/zfits_h.so')
     19gSystem.Load('extern_Mars_mcore/factfits_h.so')
    1720gSystem.Load('calfactfits_h.so')
    1821from ROOT import *
     
    199202        else:
    200203            try:
    201                 data_file = FactFits(self.data_file_name)
     204                data_file = factfits(self.data_file_name)
    202205            except IOError:
    203206                print 'problem accessing data file: ', data_file_name
     
    229232            # open the calibration file
    230233            try:
    231                 calib_file = FactFits(self.calib_file_name)
     234                calib_file = factfits(self.calib_file_name)
    232235            except IOError:
    233236                print 'problem accessing calibration file: ', calib_file_name
     
    494497        self.__module__ = 'pyfact'
    495498        try:
    496             self.f = FactFits(path)
     499            self.f = factfits(path)
    497500        except IOError:
    498501            print 'problem accessing data file: ', data_file_name
Note: See TracChangeset for help on using the changeset viewer.