Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:29:39

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # upload to database 
0004 
0005 #string timetype = "timestamp"    
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("Builder")
0010 
0011 process.MessageLogger = cms.Service("MessageLogger",
0012     CablingBuilder = cms.untracked.PSet(
0013         threshold = cms.untracked.string('INFO')
0014     ),
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     cout = cms.untracked.PSet(
0019         threshold = cms.untracked.string('INFO')
0020     ),
0021     debugModules = cms.untracked.vstring(''),
0022     files = cms.untracked.PSet(
0023         CablingBuilder = cms.untracked.PSet(
0024 
0025         )
0026     )
0027 )
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(1)
0031 )
0032 process.source = cms.Source("EmptySource",
0033     numberEventsInRun = cms.untracked.uint32(1),
0034     firstRun = cms.untracked.uint32(1)
0035 )
0036 
0037 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0038    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0039    DBParameters = cms.PSet(
0040         messageLevel = cms.untracked.int32(2),
0041         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0042     ),
0043     timetype = cms.untracked.string('runnumber'),
0044     connect = cms.string('oracle://cms_orcoff_int/CMS_COND_31X_STRIP'),
0045     toGet = cms.VPSet(cms.PSet(
0046         record = cms.string('SiStripFedCablingRcd'),
0047         tag = cms.string('SiStripFedCabling_31X')
0048     ))
0049 )
0050 
0051 process.load("CalibTracker.SiStripESProducers.DBWriter.SiStripFedCablingManipulator_cfi")
0052 process.siStripFedCablingManipulator.file   = cms.string("dcuIdDetIds.dat")
0053 
0054 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0055     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0056     DBParameters = cms.PSet(
0057         messageLevel = cms.untracked.int32(2),
0058         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0059     ),
0060     timetype = cms.untracked.string('runnumber'),
0061     connect = cms.string('sqlite_file:dbfile.db'),
0062     toPut = cms.VPSet(cms.PSet(
0063         record = cms.string('SiStripFedCablingRcd'),
0064         tag = cms.string('SiStripFedCabling_Ideal_31X')
0065     ))
0066 )
0067 
0068 process.reader = cms.EDFilter("SiStripFedCablingReader")
0069 
0070 process.p1 = cms.Path(process.reader+process.siStripFedCablingManipulator)
0071 
0072