00001
00002
00003 import xmldetdesc
00004 import os
00005 Det = os.getenv('DryDet')
00006 if Det is None:
00007 print "Det xml path ($DryDet) is not defined"
00008 import sys
00009 sys.exit()
00010 else:
00011 print "Read detector xml from ",Det
00012 xmldetdesc.config(Det)
00013
00014
00015 import sys, os
00016
00017
00018 from Gaudi.Configuration import *
00019 conf = ApplicationMgr()
00020 conf.EvtSel = "NONE"
00021
00022 from XmlDetDescChecks.XmlDetDescChecksConf import XddDumpAlg
00023 xdd = XddDumpAlg()
00024 xdd.Paths = sys.argv[1:]
00025 conf.TopAlg = [ xdd ]
00026
00027 from GaudiPython import AppMgr
00028 app = AppMgr()
00029 app.run(1)
00030