File indexing completed on 2024-04-06 12:03:26
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SiPixelCalibConfTest")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005
0006 process.CondDB.connect = 'sqlite_file:siPixelCalibConfiguration.db'
0007 process.CondDB.DBParameters.authenticationPath = '.'
0008 process.CondDB.DBParameters.messageLevel = 0
0009
0010 process.source = cms.Source("EmptyIOVSource",
0011 firstValue = cms.uint64(1),
0012 lastValue = cms.uint64(1),
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.MessageLogger = cms.Service("MessageLogger",
0021 cerr = cms.untracked.PSet(
0022 enable = cms.untracked.bool(False)
0023 ),
0024 cout = cms.untracked.PSet(
0025 enable = cms.untracked.bool(True)
0026 )
0027 )
0028
0029 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0030 process.CondDB,
0031 toPut = cms.VPSet(cms.PSet(
0032 record = cms.string('SiPixelCalibConfigurationRcd'),
0033 tag = cms.string('SiPixelCalibConfiguration_test')
0034 ))
0035 )
0036
0037 process.SiPixelCalibConfigurationObjectMaker = cms.EDAnalyzer("SiPixelCalibConfigurationObjectMaker",
0038 inputFileName = cms.untracked.string('/afs/cern.ch/cms/Tracker/Pixel/forward/FPIX/HC+Z1/calib_PixelAlive_281.dat')
0039 )
0040
0041 process.p1 = cms.Path(process.SiPixelCalibConfigurationObjectMaker)
0042
0043
0044