Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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         threshold = cms.untracked.string('INFO')
0017     ),
0018     debugModules = cms.untracked.vstring('*'),
0019     files = cms.untracked.PSet(
0020         DetVOffReaderDebug = cms.untracked.PSet(
0021             threshold = cms.untracked.string('DEBUG')
0022         ),
0023         DetVOffReaderSummary = cms.untracked.PSet(
0024             threshold = cms.untracked.string('INFO')
0025         )
0026     )
0027 )
0028 
0029 # Use this instead to see only the summary
0030 #process.MessageLogger = cms.Service("MessageLogger",
0031 #    debugModules = cms.untracked.vstring(''),
0032 #    DetVOffReaderSummary = cms.untracked.PSet(
0033 #        threshold = cms.untracked.string('INFO')
0034 #    ),
0035 #    cout = cms.untracked.PSet(
0036 #        threshold = cms.untracked.string('INFO')
0037 #    ),
0038 #    destinations = cms.untracked.vstring('DetVOffReaderSummary')
0039 #)
0040 
0041 process.maxEvents = cms.untracked.PSet(
0042     input = cms.untracked.int32(1)
0043 )
0044 process.source = cms.Source("EmptySource",
0045     numberEventsInRun = cms.untracked.uint32(1),
0046     firstRun = cms.untracked.uint32(100000)
0047 )
0048 
0049 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0050    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0051    DBParameters = cms.PSet(
0052         messageLevel = cms.untracked.int32(2),
0053         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0054     ),
0055     timetype = cms.untracked.string('runnumber'),
0056     connect = cms.string('sqlite_file:dbfile.db'),
0057 #    connect = cms.string('oracle://cms_orcoff_prod/CMS_COND_21X_STRIP'),
0058     toGet = cms.VPSet(cms.PSet(
0059         record = cms.string('SiStripDetVOffRcd'),
0060 #        tag = cms.string('SiStripNoise_CRAFT_21X_v4_offline')
0061         tag = cms.string('SiStripDetVOff_Ideal_31X')
0062     ))
0063 )
0064 
0065 process.reader = cms.EDFilter("SiStripDetVOffDummyPrinter")
0066                               
0067 process.p1 = cms.Path(process.reader)
0068 
0069