ATLAS Offline Software
TestDisplayHI.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
2 
3 from __future__ import print_function
4 
5 from DataQualityUtils.DQWebDisplayConfig import DQWebDisplayConfig
6 import os
7 from ._resolve_data_path import resolve_data_path
8 
9 dqconfig = DQWebDisplayConfig()
10 dqconfig.config = "TEST"
11 
12 # Use this setup to test your new han configuration before committing it. Set "hcfg_dir" manually if the default doesn't work for you.
13 # You can change these settings in your local working copy of this file, but please do not commit the change to SVN.
14 hcfg_dir = resolve_data_path('DataQualityConfigurations')
15 if hcfg_dir:
16  print ("Found DataQualityConfigurations data directory %s, using it" % hcfg_dir)
17 else:
18  hcfg_dir = os.getcwd()
19  print ("DataQualityConfigurations data directory not found, using $PWD instead.")
20 print ("Looking for heavyions_*.hcfg files in %s" % (hcfg_dir))
21 
22 dqconfig.hcfg = "%s/heavyions_run.hcfg" % (hcfg_dir)
23 dqconfig.hcfg_min10 = "%s/heavyions_minutes10.hcfg" % (hcfg_dir)
24 dqconfig.hcfg_min30 = "%s/heavyions_minutes30.hcfg" % (hcfg_dir)
25 
26 dqconfig.histogramCache = "/afs/cern.ch/user/a/atlasdqm/w1/histogram_web_display_cache"
27 dqconfig.hanResultsDir = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/han_results/test"
28 dqconfig.htmlDir = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/www/test"
29 dqconfig.htmlWeb = "http://atlasdqm.web.cern.ch/atlasdqm/test"
30 dqconfig.runlist = "runlist_TEST.xml"
31 dqconfig.indexFile = "results_TEST.html"
32 dqconfig.lockFile = "DQWebDisplay_TEST.lock"
33 dqconfig.doHandi = False
python._resolve_data_path.resolve_data_path
def resolve_data_path(fin)
Definition: DataQualityConfigurations/python/_resolve_data_path.py:6