Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:29:40

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     ThresholdReader = cms.untracked.PSet(
0013         threshold = cms.untracked.string('INFO')
0014     ),
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     cout = cms.untracked.PSet(
0019         threshold = cms.untracked.string('INFO')
0020     ),
0021     debugModules = cms.untracked.vstring(''),
0022     files = cms.untracked.PSet(
0023         ThresholdReader = cms.untracked.PSet(
0024 
0025         )
0026     )
0027 )
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(1)
0031 )
0032 process.source = cms.Source("EmptySource",
0033     numberEventsInRun = cms.untracked.uint32(1),
0034     firstRun = cms.untracked.uint32(1)
0035 )
0036 
0037 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0038    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0039    DBParameters = cms.PSet(
0040         messageLevel = cms.untracked.int32(2),
0041         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0042     ),
0043     timetype = cms.untracked.string('runnumber'),
0044     connect = cms.string('sqlite_file:dbfile.db'),
0045     toGet = cms.VPSet(cms.PSet(
0046         record = cms.string('SiStripThresholdRcd'),
0047         tag = cms.string('SiStripThreshold_Ideal_31X')
0048     ))
0049 )
0050 
0051 process.reader = cms.EDFilter("SiStripThresholdDummyPrinter")
0052                               
0053 process.p1 = cms.Path(process.reader)
0054 
0055