1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"PWRITE")
9 process.MessageLogger = cms.Service(
"MessageLogger",
10 destinations = cms.untracked.vstring(
'cout',
'readFromFile_RUNNUMBER'),
11 readFromFile_RUNNUMBER = cms.untracked.PSet(
12 threshold = cms.untracked.string(
'DEBUG')),
13 debugModules = cms.untracked.vstring(
'*')
21 process.maxEvents = cms.untracked.PSet(
22 input = cms.untracked.int32(1))
24 process.source = cms.Source(
"EmptySource",
25 timetype = cms.string(
"runnumber"),
26 firstRun = cms.untracked.uint32(1),
27 lastRun = cms.untracked.uint32(1),
28 interval = cms.uint32(1)
34 process.load(
"DQMServices.Core.DQM_cfg")
42 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
44 BlobStreamerName = cms.untracked.string(
'TBufferBlobStreamingService'),
45 connect = cms.string(
"oracle://cms_orcon_prod/CMS_COND_31X_STRIP"),
46 timetype = cms.untracked.string(
"runnumber"),
47 DBParameters = cms.PSet(
48 authenticationPath = cms.untracked.string(
"/nfshome0/popcondev/conddb"),
49 messageLevel = cms.untracked.int32(1)
53 record = cms.string(
"SiStripBadStripRcd"),
54 tag = cms.string(
"SiStripBadStrip_FromOnlineDQM_V2")
57 logconnect = cms.untracked.string(
"oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG")
64 process.siStripPopConBadComponentsDQM = cms.EDAnalyzer(
"SiStripPopConBadComponentsDQM",
65 record = cms.string(
"SiStripBadStripRcd"),
66 loggingOn = cms.untracked.bool(
True),
67 SinceAppendMode = cms.bool(
True),
69 since = cms.untracked.uint32(RUNNUMBER),
70 debug = cms.untracked.bool(
False),
74 RunNb = cms.uint32(RUNNUMBER),
75 accessDQMFile = cms.bool(
True),
76 FILE_NAME = cms.untracked.string(
"FILENAME"),
77 ME_DIR = cms.untracked.string(
"Run RUNNUMBER"),
78 histoList = cms.VPSet()
84 process.p = cms.Path(process.siStripPopConBadComponentsDQM)
85 process.asciiPrint = cms.OutputModule(
"AsciiOutputModule")
86 process.ep = cms.EndPath(process.asciiPrint)