CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
environment_cfi Namespace Reference

Functions

def loadDQMRunConfigFromFile
 

Variables

tuple DQM
 
tuple dqmFileConfig = loadDQMRunConfigFromFile()
 
tuple DQMMonitoringService = cms.Service("DQMMonitoringService")
 
list dqmRunConfig = dqmRunConfigDefaults[dqmRunConfigType]
 
dictionary dqmRunConfigDefaults
 
string dqmRunConfigType = "userarea"
 

Function Documentation

def environment_cfi.loadDQMRunConfigFromFile ( )

Definition at line 6 of file environment_cfi.py.

References print().

6 
8  # try reading the config
9  conf_locations = [
10  "/etc/dqm_run_config",
11  #os.path.expanduser("~/.dqm_run_config"),
12  os.path.join(os.curdir, "dqm_run_config"),
13  ]
14 
15  config = ConfigParser.ConfigParser()
16  files_read = config.read(conf_locations)
17 
18  print("Loaded configuration file from:", files_read)
19  return config
20 
21 # default values, config in file overrides parts of it
# dqmEnv and dqmSaver will configure from this pset
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def loadDQMRunConfigFromFile

Variable Documentation

tuple environment_cfi.DQM
Initial value:
1 = cms.Service("DQM",
2  debug = cms.untracked.bool(False),
3  publishFrequency = cms.untracked.double(5.0),
4  collectorPort = dqmRunConfig.collectorPort,
5  collectorHost = dqmRunConfig.collectorHost,
6  filter = cms.untracked.string(''),
7 )

Definition at line 61 of file environment_cfi.py.

tuple environment_cfi.dqmFileConfig = loadDQMRunConfigFromFile()

Definition at line 41 of file environment_cfi.py.

tuple environment_cfi.DQMMonitoringService = cms.Service("DQMMonitoringService")

Definition at line 69 of file environment_cfi.py.

list environment_cfi.dqmRunConfig = dqmRunConfigDefaults[dqmRunConfigType]

Definition at line 46 of file environment_cfi.py.

dictionary environment_cfi.dqmRunConfigDefaults
Initial value:
1 = {
2  'userarea': cms.PSet(
3  type = cms.untracked.string("userarea"),
4  collectorPort = cms.untracked.int32(9190),
5  collectorHost = cms.untracked.string('127.0.0.1'),
6  ),
7  'playback': cms.PSet(
8  type = cms.untracked.string("playback"),
9  collectorPort = cms.untracked.int32(9090),
10  collectorHost = cms.untracked.string('dqm-integration.cms'),
11  ),
12  'production': cms.PSet(
13  type = cms.untracked.string("production"),
14  collectorPort = cms.untracked.int32(9090),
15  collectorHost = cms.untracked.string('dqm-prod-local.cms'),
16  ),
17 }

Definition at line 22 of file environment_cfi.py.

tuple environment_cfi.dqmRunConfigType = "userarea"

Definition at line 42 of file environment_cfi.py.