Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
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()
.
6
def
loadDQMRunConfigFromFile
():
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
environment_cfi.loadDQMRunConfigFromFile
def loadDQMRunConfigFromFile()
Definition:
environment_cfi.py:6
edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition:
JobReport.cc:65
Generated for CMSSW Reference Manual by
1.8.11