CMS 3D CMS Logo

Functions
environment_cfi Namespace Reference

Functions

def loadDQMRunConfigFromFile ()
 

Function Documentation

def environment_cfi.loadDQMRunConfigFromFile ( )

Definition at line 6 of file environment_cfi.py.

References createfilelist.int, and edm.print().

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