Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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("Test")
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         testConditionAccess = cms.untracked.PSet(
0021 
0022         )
0023     ),
0024     testConditionAccess = cms.untracked.PSet(
0025         threshold = cms.untracked.string('INFO')
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(
0046     cms.PSet(record = cms.string('SiStripFedCablingRcd'),tag = cms.string('SiStripFedCabling_30X')),
0047 #    cms.PSet(record = cms.string('SiStripNoiseRcd'),tag = cms.string('SiStripNoise_Fake_PeakMode_30X'))
0048                       )
0049 )
0050 
0051 
0052 process.fedcablingreader = cms.EDAnalyzer("SiStripFedCablingReader")
0053 #process.noise            = cms.EDFilter("SiStripNoisesReader", printDebug = cms.untracked.uint32(4))
0054 
0055 process.p1 = cms.Path(process.fedcablingreader) #*process.noise)
0056 
0057