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("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0006 process.GlobalTag.globaltag = ''
0007 
0008 process.load("CondCore.CondDB.CondDB_cfi")
0009 
0010 process.source = cms.Source("EmptySource",
0011     numberEventsInRun = cms.untracked.uint32(1),
0012     firstRun = cms.untracked.uint32(1)
0013 )
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(1)
0017 )
0018 
0019 process.dumpToFile = cms.EDAnalyzer("DumpDBToFile",
0020     # Choose what database you want to write
0021     dbToDump = cms.untracked.string('VDriftDB'),
0022     calibFileConfig = cms.untracked.PSet(
0023         nFields = cms.untracked.int32(5),
0024         # VDrift & TTrig
0025         calibConstGranularity = cms.untracked.string('bySL')
0026     ),
0027     outputFileName = cms.untracked.string('vDrift.txt')
0028 )
0029 
0030 process.p = cms.Path(process.dumpToFile)