Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Template used by the UploadAll.py scripts to generate the cfgs for the DummyPrinter
0002 # The only templated value is SiStripLatency (e.g TAGNAME -> SiStripApvGain).
0003 # To generate manually a cfg from this file please do for example:
0004 # cat DummyCondDBReaderTemplate_cfg.py | sed -e "s@SiStripLatency@SiStripApvGain@" > DummyCondDBReader_SiStripApvGain_cfg.py
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("Reader")
0008 
0009 process.MessageLogger = cms.Service("MessageLogger",
0010     cerr = cms.untracked.PSet(
0011         enable = cms.untracked.bool(False)
0012     ),
0013     debugModules = cms.untracked.vstring('reader'),
0014     files = cms.untracked.PSet(
0015         SiStripLatencyReader = cms.untracked.PSet(
0016 
0017         )
0018     ),
0019     threshold = cms.untracked.string('INFO')
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('SiStripLatencyRcd'),
0040         tag = cms.string('SiStripApvLatency_test')
0041     ))
0042 )
0043 
0044 process.reader = cms.EDFilter("SiStripLatencyDummyPrinter")
0045 
0046 
0047 process.p1 = cms.Path(process.reader)
0048 
0049