00001 #!/usr/bin/env python 00002 # 00003 # Example module for calibration of a raw data file 00004 # 00005 # Usage: 00006 # nuwa.py -A None -n -1 -m"Calibrate" daq...data 00007 # 00008 # 00009 00010 def configure( argv=[] ): 00011 """ Example of calibrating raw data """ 00012 00013 # Add Calibration Algorithm 00014 from Gaudi.Configuration import ApplicationMgr 00015 app = ApplicationMgr() 00016 app.TopAlg.append("CalibAlg") 00017 return 00018 00019 def run(app): 00020 ''' 00021 Run Time configuration 00022 ''' 00023 pass