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.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 process.GlobalTag.globaltag = ''
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.get = cms.EDFilter("DTTtrigPrint")
0022 
0023 process.dumpToFile = cms.EDAnalyzer("DumpDBToFile",
0024     #Choose what database you want to write
0025     dbToDump = cms.untracked.string('TTrigDB'),
0026     calibFileConfig = cms.untracked.PSet(
0027         nFields = cms.untracked.int32(5),
0028         # VDrift & TTrig
0029         calibConstGranularity = cms.untracked.string('bySL')
0030     ),
0031     outputFileName = cms.untracked.string("ttrig.txt")
0032 )
0033 
0034 process.p = cms.Path(process.dumpToFile)