CMS 3D CMS Logo

Functions
environment_cfi Namespace Reference

Functions

def loadDQMRunConfigFromFile ()
 

Function Documentation

def environment_cfi.loadDQMRunConfigFromFile ( )

Definition at line 5 of file environment_cfi.py.

References createfilelist.int.

6  # try reading the config
7  conf_locations = [
8  "/etc/dqm_run_config",
9  #os.path.expanduser("~/.dqm_run_config"),
10  os.path.join(os.curdir, "dqm_run_config"),
11  ]
12 
13  config = ConfigParser.ConfigParser()
14  files_read = config.read(conf_locations)
15 
16  print "Loaded configuration file from:", files_read
17  return config
18 
19 # default values, config in file overrides parts of it
20 # dqmEnv and dqmSaver will configure from this pset
def loadDQMRunConfigFromFile()