Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("PWRITE")
00004
00005
00006
00007
00008
00009 process.MessageLogger = cms.Service("MessageLogger",
00010 destinations = cms.untracked.vstring('cout', 'readFromFile_RUNNUMBER'),
00011 readFromFile_RUNNUMBER = cms.untracked.PSet(
00012 threshold = cms.untracked.string('DEBUG')),
00013 debugModules = cms.untracked.vstring('*')
00014 )
00015
00016
00017
00018
00019
00020
00021 process.maxEvents = cms.untracked.PSet(
00022 input = cms.untracked.int32(1))
00023
00024 process.source = cms.Source("EmptySource",
00025 timetype = cms.string("runnumber"),
00026 firstRun = cms.untracked.uint32(1),
00027 lastRun = cms.untracked.uint32(1),
00028 interval = cms.uint32(1)
00029 )
00030
00031
00032
00033
00034 process.load("DQMServices.Core.DQM_cfg")
00035
00036
00037
00038
00039
00040
00041
00042 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00043
00044 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
00045 connect = cms.string("oracle://cms_orcon_prod/CMS_COND_31X_STRIP"),
00046 timetype = cms.untracked.string("runnumber"),
00047 DBParameters = cms.PSet(
00048 authenticationPath = cms.untracked.string("/nfshome0/popcondev/conddb"),
00049 messageLevel = cms.untracked.int32(1)
00050 ),
00051 toPut = cms.VPSet(
00052 cms.PSet(
00053 record = cms.string("SiStripBadStripRcd"),
00054 tag = cms.string("SiStripBadStrip_FromOnlineDQM_V2")
00055 )
00056 ),
00057 logconnect = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG")
00058 )
00059
00060
00061
00062
00063
00064 process.siStripPopConBadComponentsDQM = cms.OutputModule("SiStripPopConBadComponentsDQM",
00065 record = cms.string("SiStripBadStripRcd"),
00066 loggingOn = cms.untracked.bool(True),
00067 SinceAppendMode = cms.bool(True),
00068 Source = cms.PSet(
00069 since = cms.untracked.uint32(RUNNUMBER),
00070 debug = cms.untracked.bool(False))
00071 )
00072
00073
00074
00075
00076
00077
00078 process.SiStripBadComponentsDQMService = cms.Service("SiStripBadComponentsDQMService",
00079 RunNb = cms.uint32(RUNNUMBER),
00080 accessDQMFile = cms.bool(True),
00081 FILE_NAME = cms.untracked.string("FILENAME"),
00082 ME_DIR = cms.untracked.string("Run RUNNUMBER"),
00083 histoList = cms.VPSet()
00084 )
00085
00086
00087
00088 process.p = cms.Path(process.siStripPopConBadComponentsDQM)
00089 process.asciiPrint = cms.OutputModule("AsciiOutputModule")
00090 process.ep = cms.EndPath(process.asciiPrint)
00091
00092
00093
00094
00095