Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-25 03:29:20

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # upload to database 
0004 
0005 #string timetype = "timestamp"    
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("Reader")
0010 
0011 process.MessageLogger = cms.Service("MessageLogger",
0012     cerr = cms.untracked.PSet(
0013         enable = cms.untracked.bool(False)
0014     ),
0015     cout = cms.untracked.PSet(
0016         enable = cms.untracked.bool(True)
0017     ),
0018     debugModules = cms.untracked.vstring('')
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(1)
0023 )
0024 process.source = cms.Source("EmptySource",
0025     numberEventsInRun = cms.untracked.uint32(1),
0026     firstRun = cms.untracked.uint32(1)
0027 )
0028 
0029 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0030    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0031    DBParameters = cms.PSet(
0032         messageLevel = cms.untracked.int32(2),
0033         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0034     ),
0035     timetype = cms.untracked.string('runnumber'),
0036     connect = cms.string('sqlite_file:SiStripConditionsDBFile.db'),
0037     toGet = cms.VPSet(cms.PSet(
0038         record = cms.string('SiStripThresholdRcd'),
0039         tag = cms.string('SiStripThreshold_Fake_30X')
0040     ))
0041 )
0042 
0043 process.reader = cms.EDAnalyzer("SiStripThresholdReader",
0044                                 printDebug = cms.untracked.uint32(5)
0045                                )
0046 
0047 process.p1 = cms.Path(process.reader)
0048 
0049