00001
00002
00003 import os
00004 import sys
00005
00006
00007 try:
00008 import Ganga.GPI
00009 except ImportError:
00010 print "Cannot access Ganga GPI. Is this script being run with Ganga?"
00011 sys.exit(1)
00012
00013
00014 import GBSConfig
00015 import register_models
00016
00017
00018
00019 import GBSModelRegistry
00020
00021 __manager = GBSModelRegistry.GetModelRegistry().CreateObject("default","Manager","Manager",None)
00022 def GetManager() : return __manager
00023
00024
00025
00026 from GBSLogger import GetLoggerThreshold,SetLoggerThreshold,logger
00027
00028 print "GBS version V01-16-05"