Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 process = cms.Process("SiStripCommissioningOfflineDbClient")
00005
00006
00007
00008
00009
00010
00011
00012 process.load('DQM.SiStripCommissioningSources.OfflineMessageLogger_cff')
00013
00014
00015 process.load('DQM.SiStripCommissioningSources.OfflineDQM_cff')
00016
00017
00018 process.load("OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
00019 process.SiStripConfigDb.UsingDb = True
00020 process.SiStripConfigDb.ConfDb = 'overwritten/by@confdb'
00021 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName = 'DBPART'
00022 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = RUNNUMBER
00023
00024
00025
00026 process.load("IORawData.SiStripInputSources.EmptySource_cff")
00027 process.maxEvents.input = 2
00028
00029
00030
00031
00032
00033
00034
00035 process.load('DQM.SiStripCommissioningSources.P5Geometry_cff')
00036
00037 process.load('MagneticField.Engine.uniformMagneticField_cfi')
00038
00039 process.load('Alignment.CommonAlignmentProducer.GlobalPosition_Fake_cff')
00040
00041
00042
00043
00044
00045
00046 process.load("DQM.SiStripCommissioningDbClients.OfflineDbClient_cff")
00047 process.db_client.FilePath = cms.untracked.string('DATALOCATION')
00048 process.db_client.RunNumber = cms.untracked.uint32(RUNNUMBER)
00049 process.db_client.UseClientFile = cms.untracked.bool(CLIENTFLAG)
00050 process.db_client.UploadHwConfig = cms.untracked.bool(DBUPDATE)
00051 process.db_client.UploadAnalyses = cms.untracked.bool(ANALUPDATE)
00052 process.db_client.DisableDevices = cms.untracked.bool(DISABLEDEVICES)
00053 process.db_client.DisableBadStrips = cms.untracked.bool(DISABLEBADSTRIPS)
00054 process.db_client.AddBadStrips = cms.untracked.bool(ADDBADSTRIPS)
00055 process.db_client.SaveClientFile = cms.untracked.bool(SAVECLIENTFILE)
00056
00057 process.p = cms.Path(process.db_client)