1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("CSC HLT DQM")
#-------------------------------------------------
# DQM Module Configuration
#-------------------------------------------------
process.load("DQM.CSCMonitorModule.csc_hlt_dqm_sourceclient_cfi")
#----------------------------
# Event Source
#-----------------------------
#process.load("DQM.Integration.test.inputsource_playback_cfi")
maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)
process.source = cms.Source("EventStreamHttpReader",
sourceURL = cms.string('http://localhost:50082/urn:xdaq-application:lid=29'),
consumerPriority = cms.untracked.string('normal'),
max_event_size = cms.int32(7000000),
consumerName = cms.untracked.string('Playback Source'),
max_queue_depth = cms.int32(5),
maxEventRequestRate = cms.untracked.double(12.0),
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('*')
),
headerRetryInterval = cms.untracked.int32(3)
)
process.EventStreamHttpReader.consumerName = 'CSC HLT DQM Consumer'
#process.EventStreamHttpReader.sourceURL = "http://localhost:50082/urn:xdaq-application:lid=29"
#----------------------------
# DQM Environment
#-----------------------------
process.load("DQMServices.Core.DQM_cfg")
process.load("DQMServices.Components.DQMEnvironment_cfi")
#----------------------------
# DQM Playback Environment
#-----------------------------
process.load("DQM.Integration.test.environment_playback_cfi")
process.dqmEnv.subSystemFolder = "CSC"
process.DQM.collectorHost = 'pccmsdqm02.cern.ch'
#process.DQM.collectorHost = 'localhost'
process.dqmSaver.dirName = '.'
#-------------------------------------------------
# Global Tag
#-------------------------------------------------
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
#process.GlobalTag.connect = "sqlite_file:/nfshome0/malgeri/public/globtag/CRZT210_V1H.db"
#process.GlobalTag.connect = "frontier://FrontierDev/CMS_COND_CSC"
process.GlobalTag.globaltag = "CRZT210_V1H::All"
process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
#--------------------------
# Message Logger
#--------------------------
MessageLogger = cms.Service("MessageLogger",
suppressInfo = cms.untracked.vstring('source'),
suppressDebug = cms.untracked.vstring('source'),
suppressWarning = cms.untracked.vstring('source'),
cout = cms.untracked.PSet(
threshold = cms.untracked.string('INFO'),
WARNING = cms.untracked.PSet(
limit = cms.untracked.int32(0)
),
noLineBreaks = cms.untracked.bool(False)
),
detailedInfo = cms.untracked.PSet(
threshold = cms.untracked.string('INFO')
),
critical = cms.untracked.PSet(
threshold = cms.untracked.string('ERROR')
),
debug = cms.untracked.PSet(
threshold = cms.untracked.string('DEBUG')
),
debugModules = cms.untracked.vstring('CSCHLTMonitormodule'),
destinations = cms.untracked.vstring(
# 'debug',
# 'detailedInfo',
# 'critical',
# 'cout'
)
)
#--------------------------
# Sequences
#--------------------------
process.p = cms.Path(process.cscDQMEvF+process.dqmEnv+process.dqmSaver)
|