CMS 3D CMS Logo

SQLiteCheck_cfg.py
Go to the documentation of this file.
1 # based on CalibTracker/SiStripESProducers/test/python/read_DummyCondDBWriter_SiStripLorentzAngle_cfg.py
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 process = cms.Process("Reader")
6 
7 process.MessageLogger = cms.Service(
8  "MessageLogger",
9  debugModules = cms.untracked.vstring(''),
10  threshold = cms.untracked.string('INFO'),
11  destinations = cms.untracked.vstring('SQLiteCheck.log')
12 )
13 
14 process.maxEvents = cms.untracked.PSet(
15  input = cms.untracked.int32(1)
16 )
17 process.source = cms.Source("EmptySource",
18  numberEventsInRun = cms.untracked.uint32(1),
19  firstRun = cms.untracked.uint32(1)
20 )
21 
22 process.poolDBESSource = cms.ESSource("PoolDBESSource",
23  BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
24  DBParameters = cms.PSet(
25  messageLevel = cms.untracked.int32(2),
26  authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
27  ),
28  timetype = cms.untracked.string('runnumber'),
29  connect = cms.string('sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'),
30  toGet = cms.VPSet(cms.PSet(
31  record = cms.string('SiStripLorentzAngleRcd'),
32  tag = cms.string('SiStripLorentzAngle_CalibrationEnsemble_31X')
33  ))
34 )
35 
36 process.reader = cms.EDFilter("SiStripLorentzAngleDummyPrinter",
37  printDebug = cms.untracked.uint32(5)
38  )
39 
40 
41 process.p1 = cms.Path(process.reader)
42 
43