Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-02-24 03:08:06

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.StandardSequences.Eras import eras
0003 
0004 process = cms.Process("DumpDBToFile",eras.Run3)
0005 
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 from Configuration.AlCa.autoCond import autoCond
0008 process.GlobalTag.globaltag=autoCond['run3_data']
0009 
0010 process.load("CondCore.CondDB.CondDB_cfi")
0011 
0012 process.source = cms.Source("EmptySource",
0013     numberEventsInRun = cms.untracked.uint32(1),
0014     firstRun = cms.untracked.uint32(1)
0015 )
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(1)
0019 )
0020 
0021 process.dumpToFile = cms.EDAnalyzer("DumpDBToFile",
0022     # Choose what database you want to write
0023     dbToDump = cms.untracked.string('VDriftDB'),
0024     calibFileConfig = cms.untracked.PSet(
0025         nFields = cms.untracked.int32(5),
0026         # VDrift & TTrig
0027         calibConstGranularity = cms.untracked.string('bySL')
0028     ),
0029     outputFileName = cms.untracked.string('vDrift.txt')
0030 )
0031 
0032 process.p = cms.Path(process.dumpToFile)