File indexing completed on 2023-03-17 11:16:03
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("MakeCondDB")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0009
0010 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0011 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0012 DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0) ),
0013 timetype = cms.untracked.string('runnumber'),
0014 connect = cms.string('sqlite_file:FoobarDiscriminator.db'),
0015 toPut = cms.VPSet(cms.PSet(
0016 record = cms.string('BTauGenericMVAJetTagComputerRcd'),
0017 tag = cms.string('Foobar_tag')
0018 ))
0019 )
0020
0021 process.MakeCondDB = cms.EDAnalyzer("testWriteMVAComputerCondDB",
0022 record = cms.untracked.string('BTauGenericMVAJetTagComputerRcd')
0023 )
0024
0025 process.p = cms.Path(process.MakeCondDB)