Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:32:19

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     files = cms.untracked.PSet(
0016         SiStripNoiseReader = cms.untracked.PSet(
0017 
0018         )
0019     )
0020 )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 process.source = cms.Source("EmptySource",
0026     numberEventsInRun = cms.untracked.uint32(1),
0027     firstRun = cms.untracked.uint32(1)
0028 )
0029 
0030 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0031    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0032    DBParameters = cms.PSet(
0033         messageLevel = cms.untracked.int32(2),
0034         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0035     ),
0036     timetype = cms.untracked.string('runnumber'),
0037     connect = cms.string('sqlite_file:dbfile.db'),
0038     toGet = cms.VPSet(cms.PSet(
0039         record = cms.string('SiStripNoisesRcd'),
0040         tag = cms.string('SiStripNoise_test')
0041     ))
0042 )
0043 
0044 process.reader = cms.EDFilter("SiStripNoisesReader",
0045                               printDebug = cms.untracked.uint32(5)
0046                               )
0047 
0048 
0049 process.p1 = cms.Path(process.reader)
0050 
0051