| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

SetCabling.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # Change cable mapping and calibration parameters to MDC09a versions
00004 #
00005 
00006 def realPath(pathname):
00007     from os import path
00008     return path.normpath( path.realpath( path.expandvars(pathname) ) )
00009 
00010 def configure(argv = []):
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 
00021 def run(app):
00022     return
00023 
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:11:56 2011 for MDC09a by doxygen 1.4.7