CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 5 of file environment_cfi.py.

5 
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
# dqmEnv and dqmSaver will configure from this pset
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 60 of file environment_cfi.py.

tuple environment_cfi.dqmFileConfig = loadDQMRunConfigFromFile()

Definition at line 40 of file environment_cfi.py.

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

Definition at line 68 of file environment_cfi.py.

list environment_cfi.dqmRunConfig = dqmRunConfigDefaults[dqmRunConfigType]

Definition at line 45 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('dqm-c2d07-29.cms'),
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 21 of file environment_cfi.py.

tuple environment_cfi.dqmRunConfigType = "userarea"

Definition at line 41 of file environment_cfi.py.