Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTTTrigSynchCosmicsClient")
0004 
0005 process.source = cms.Source("EmptySource",
0006     numberEventsInRun = cms.untracked.uint32(1),
0007     firstRun = cms.untracked.uint32(1)
0008 )
0009 
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0011 
0012 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0013 
0014 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0015     process.CondDBSetup,
0016     timetype = cms.untracked.string('runnumber'),
0017     connect = cms.string('sqlite_file:emulator_phase_map_fromfile.db'),
0018     authenticationMethod = cms.untracked.uint32(0),
0019     toPut = cms.VPSet(cms.PSet(
0020         record = cms.string('DTTPGParametersRcd'),
0021         tag = cms.string('emulatorPhases')
0022     ))
0023 )
0024 
0025 process.dtTPGParamWriter = cms.EDAnalyzer("DTTPGParamsWriter",
0026      debug = cms.untracked.bool(True),
0027      inputFile = cms.untracked.string("phases_file.txt")
0028 )
0029 
0030 # message logger
0031 process.MessageLogger = cms.Service("MessageLogger",
0032     cerr = cms.untracked.PSet(
0033         enable = cms.untracked.bool(False)
0034     ),
0035     cout = cms.untracked.PSet(
0036         DEBUG = cms.untracked.PSet(
0037             limit = cms.untracked.int32(0)
0038         ),
0039         DTLocalTriggerSynchTest = cms.untracked.PSet(
0040             limit = cms.untracked.int32(-1)
0041         ),
0042         INFO = cms.untracked.PSet(
0043             limit = cms.untracked.int32(0)
0044         ),
0045         enable = cms.untracked.bool(True),
0046         noLineBreaks = cms.untracked.bool(False),
0047         threshold = cms.untracked.string('DEBUG')
0048     ),
0049     debugModules = cms.untracked.vstring('*')
0050 )
0051 
0052 process.clientPath = cms.Path(process.dtTPGParamWriter)