Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-17 01:40:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PixelCalibTemplate")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005 process.CondDB.connect = 'oracle://cms_orcoff_prep/CMS_COND_PIXEL_COMM_21X'
0006 process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0007 process.CondDB.DBParameters.messageLevel = 0
0008 
0009 
0010 process.source = cms.Source("EmptyIOVSource",
0011     firstValue = cms.uint64(PIXELRUNNUMBER),
0012     lastValue = cms.uint64(PIXELRUNNUMBER),
0013     timetype = cms.string('runnumber'),
0014     interval = cms.uint64(1)
0015 )
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(1)
0019 )
0020 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0021     process.CondDB,
0022     toPut = cms.VPSet(cms.PSet(
0023         record = cms.string('SiPixelCalibConfigurationRcd'),
0024         tag = cms.string('PIXELTAG')
0025     ))
0026 )
0027 
0028 process.SiPixelCalibConfigurationObjectMaker = cms.EDAnalyzer("SiPixelCalibConfigurationObjectMaker",
0029     inputFileName = cms.untracked.string('PIXELFILENAME')
0030 )
0031 
0032 process.p1 = cms.Path(process.SiPixelCalibConfigurationObjectMaker)