Functions | |
def | realPath |
def | configure |
def | run |
def SetCabling::realPath | ( | pathname | ) |
Definition at line 6 of file SetCabling.py.
00006 : 00007 from os import path 00008 return path.normpath( path.realpath( path.expandvars(pathname) ) ) 00009 def configure(argv = []):
def SetCabling::configure | ( | argv = [] |
) |
Set the FEE/PMT/Hardware cable connections data file
Definition at line 10 of file SetCabling.py.
00010 : 00011 ''' Set the FEE/PMT/Hardware cable connections data file''' 00012 from DataSvc.DataSvcConf import StaticCableSvc 00013 cableSvc = StaticCableSvc() 00014 cableSvc.FeeCableMap =realPath("$DATASVCROOT/share/feeCableMap_MDC09a.txt") 00015 ''' Set the calibration input parameter data file''' 00016 from DataSvc.DataSvcConf import StaticCalibDataSvc 00017 calibDataSvc = StaticCalibDataSvc() 00018 calibDataSvc.PmtDataFile = realPath("$DATASVCROOT/share/pmtCalibTable_MDC09a.txt") 00019 return 00020 def run(app):
def SetCabling::run | ( | app | ) |