00001 import os.path 00002 global CONFIGDIR 00003 CONFIGDIR = os.path.normcase(os.path.abspath(__file__)).rsplit('/', 1)[0] 00004 LAYOUTS = ["%s/%s-layouts.py" % (CONFIGDIR, x) for x in 00005 ("csc", "dt", "eb", "hcal", "l1t", "pixel", "rpc", "sistrip")] 00006 LAYOUTS += ["%s/shift_%s_layout.py" % (CONFIGDIR, x) for x in 00007 ("csc", "dt", "eb", "hcal", "l1t", "pixel", "sistrip")] 00008 00009 modules = ("GuiDQM",) 00010 envsetup = """ 00011 source /home/dqm/rpms/cmsset_default.sh 00012 source /home/dqm/rpms/slc4_ia32_gcc345/cms/webtools/1.3.0/etc/profile.d/dependencies-setup.sh 00013 source /home/dqm/rpms/slc4_ia32_gcc345/external/py2-pil/1.1.6/etc/profile.d/init.sh 00014 source /home/dqm/rpms/slc4_ia32_gcc345/external/libpng/1.2.10/etc/profile.d/init.sh 00015 source /home/dqm/rpms/slc4_ia32_gcc345/external/libjpg/6b/etc/profile.d/init.sh 00016 source /home/dqm/rpms/slc4_ia32_gcc345/external/libtiff/3.8.2/etc/profile.d/init.sh 00017 export QUIET_ASSERT=a 00018 """ 00019 00020 server.serverDir = '/home/dqm/gui' 00021 server.baseUrl = '/dqm/gui-test' 00022 server.title = 'CMS data quality' 00023 server.serviceName = 'GUI test' 00024 00025 server.source('dqm', 'DQMLive', '--listen 9091', '--collector srv-c2d05-18:9090') 00026 server.source('file', 'DQMArchive', '/home/dqm/dqm.db', '--listen 9097') 00027 server.source('layouts', 'DQMLayout', *LAYOUTS) 00028 00029 execfile(CONFIGDIR + "/dqm-services.py") 00030 execfile(CONFIGDIR + "/workspaces-online.py")