Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 # Use this to have also debug info (WARNING: the resulting file is > 200MB.
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     PedestalsReaderDebug = cms.untracked.PSet(
0014         threshold = cms.untracked.string('DEBUG')
0015     ),
0016     PedestalsReaderSummary = cms.untracked.PSet(
0017         threshold = cms.untracked.string('INFO')
0018     ),
0019     cerr = cms.untracked.PSet(
0020         enable = cms.untracked.bool(False)
0021     ),
0022     cout = cms.untracked.PSet(
0023         threshold = cms.untracked.string('INFO')
0024     ),
0025     debugModules = cms.untracked.vstring('*'),
0026     files = cms.untracked.PSet(
0027         NoisesReaderDebug = cms.untracked.PSet(
0028 
0029         ),
0030         NoisesReaderSummary = cms.untracked.PSet(
0031 
0032         )
0033     )
0034 )
0035 
0036 #process.MessageLogger = cms.Service("MessageLogger",
0037 #    debugModules = cms.untracked.vstring(''),
0038 #    NoisesReader = cms.untracked.PSet(
0039 #        threshold = cms.untracked.string('INFO')
0040 #    ),
0041 #    cout = cms.untracked.PSet(
0042 #        threshold = cms.untracked.string('INFO')
0043 #    ),
0044 #    destinations = cms.untracked.vstring('NoisesReader.log')
0045 #)
0046 
0047 process.maxEvents = cms.untracked.PSet(
0048     input = cms.untracked.int32(1)
0049 )
0050 process.source = cms.Source("EmptySource",
0051     numberEventsInRun = cms.untracked.uint32(1),
0052     firstRun = cms.untracked.uint32(100000)
0053 )
0054 
0055 process.poolDBESSource = cms.ESSource("PoolDBESSource",
0056    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0057    DBParameters = cms.PSet(
0058         messageLevel = cms.untracked.int32(2),
0059         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0060     ),
0061     timetype = cms.untracked.string('runnumber'),
0062     connect = cms.string('sqlite_file:dbfile.db'),
0063 #    connect = cms.string('oracle://cms_orcoff_prod/CMS_COND_21X_STRIP'),
0064     toGet = cms.VPSet(cms.PSet(
0065         record = cms.string('SiStripNoisesRcd'),
0066 #        tag = cms.string('SiStripNoise_CRAFT_21X_v4_offline')
0067         tag = cms.string('SiStripNoises_Ideal_31X')
0068     ))
0069 )
0070 
0071 process.reader = cms.EDFilter("SiStripNoisesDummyPrinter")
0072                               
0073 process.p1 = cms.Path(process.reader)
0074 
0075