Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DumpDBToFile")
0004 
0005 process.load("CondCore.CondDB.CondDB_cfi")
0006 
0007 process.source = cms.Source("EmptySource",
0008     numberEventsInRun = cms.untracked.uint32(1),
0009     firstRun = cms.untracked.uint32(1)
0010 )
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(1)
0014 )
0015 
0016 process.calibDB = cms.ESSource("PoolDBESSource",
0017     process.CondDB,
0018     toGet = cms.VPSet(cms.PSet(
0019         record = cms.string('DTTtrigRcd'),
0020         tag = cms.string('ttrig')
0021     )),
0022 )
0023 process.calibDB.connect = cms.string('sqlite_file:ttrig.db')
0024 
0025 process.dumpToFile = cms.EDAnalyzer("DumpDBToFile",
0026     dbToDump = cms.untracked.string('TTrigDB'),
0027     dbLabel = cms.untracked.string(''),
0028     calibFileConfig = cms.untracked.PSet(
0029         nFields = cms.untracked.int32(5),
0030         # VDrift & TTrig
0031         calibConstGranularity = cms.untracked.string('bySL')
0032     ),
0033     outputFileName = cms.untracked.string('ttrig.txt')
0034 )
0035 
0036 process.p = cms.Path(process.dumpToFile)