Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-17 02:41:50

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('DEBUG')
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         ClusterThresholdReader = 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    DBParameters = cms.PSet(
0039         messageLevel = cms.untracked.int32(2),
0040         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0041     ),
0042     connect = cms.string('sqlite_file:dbfile.db'),
0043     toGet = cms.VPSet(cms.PSet(
0044         record = cms.string('SiStripThresholdRcd'),
0045         tag = cms.string('SiStripClusterThreshold_Standard_31X')
0046     ))
0047 )
0048 
0049 process.reader = cms.EDFilter("SiStripThresholdDummyPrinter")
0050                               
0051 process.p1 = cms.Path(process.reader)
0052 
0053