Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("myprocess")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.CondDBCommon.connect = 'sqlite_file:DBs/NAME.db'
0007 
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(1)
0011 )
0012 process.source = cms.Source("EmptySource")
0013 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0014     process.CondDBCommon,
0015     toPut = cms.VPSet(
0016 #
0017 # TEMPLATE
0018 #
0019     cms.PSet(
0020         record = cms.string('NAME_T'),
0021         tag = cms.string('NAME_T'),
0022         label = cms.string('NAME_T')
0023     ),
0024 cms.PSet(
0025         record = cms.string('NAME_WP'),
0026         tag = cms.string('NAME_WP'),
0027         label = cms.string('NAME_WP')
0028 
0029 
0030 )
0031  )                     
0032 )
0033 
0034 
0035 #
0036 # TEMPLATE
0037 #
0038 
0039 #process.mywriterNAME = cms.EDAnalyzer("PhysicsPerformanceDBWriterFromFile_WPandPayload",
0040 process.mywriterNAME = cms.EDAnalyzer("PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL",
0041                                 inputTxtFile = cms.untracked.string('FILE'),
0042                                 RecordPayload = cms.untracked.string('NAME_T'),
0043                                 RecordWP = cms.untracked.string('NAME_WP')
0044                  )
0045 
0046 
0047 
0048 
0049 process.p = cms.Path(
0050     process.mywriterNAME
0051    )
0052 #
0053 
0054