CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/CalibTracker/SiStripLorentzAngle/python/SQLiteCheck_cfg.py

Go to the documentation of this file.
00001 # based on CalibTracker/SiStripESProducers/test/python/read_DummyCondDBWriter_SiStripLorentzAngle_cfg.py
00002 
00003 import FWCore.ParameterSet.Config as cms
00004 
00005 process = cms.Process("Reader")
00006 
00007 process.MessageLogger = cms.Service(
00008     "MessageLogger",
00009     debugModules = cms.untracked.vstring(''),
00010     threshold = cms.untracked.string('INFO'),
00011     destinations = cms.untracked.vstring('SQLiteCheck.log')
00012 )
00013 
00014 process.maxEvents = cms.untracked.PSet(
00015     input = cms.untracked.int32(1)
00016 )
00017 process.source = cms.Source("EmptySource",
00018     numberEventsInRun = cms.untracked.uint32(1),
00019     firstRun = cms.untracked.uint32(1)
00020 )
00021 
00022 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
00023    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
00024    DBParameters = cms.PSet(
00025         messageLevel = cms.untracked.int32(2),
00026         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00027     ),
00028     timetype = cms.untracked.string('runnumber'),
00029     connect = cms.string('sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'),
00030     toGet = cms.VPSet(cms.PSet(
00031         record = cms.string('SiStripLorentzAngleRcd'),
00032         tag = cms.string('SiStripLorentzAngle_CalibrationEnsemble_31X')
00033     ))
00034 )
00035 
00036 process.Reader = cms.EDFilter("SiStripLorentzAngleDummyPrinter",
00037                               printDebug = cms.untracked.uint32(5)
00038                               )
00039 
00040 
00041 process.p1 = cms.Path(process.Reader)
00042 
00043