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("MessageLogger",
8  cerr = cms.untracked.PSet(
9  enable = cms.untracked.bool(False)
10  ),
11  debugModules = cms.untracked.vstring(''),
12  files = cms.untracked.PSet(
13  SQLiteCheck = cms.untracked.PSet(
14 
15  )
16  ),
17  threshold = cms.untracked.string('INFO')
18 )
19 
20 process.maxEvents = cms.untracked.PSet(
21  input = cms.untracked.int32(1)
22 )
23 process.source = cms.Source("EmptySource",
24  numberEventsInRun = cms.untracked.uint32(1),
25  firstRun = cms.untracked.uint32(1)
26 )
27 
28 process.poolDBESSource = cms.ESSource("PoolDBESSource",
29  BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
30  DBParameters = cms.PSet(
31  messageLevel = cms.untracked.int32(2),
32  authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
33  ),
34  timetype = cms.untracked.string('runnumber'),
35  connect = cms.string('sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'),
36  toGet = cms.VPSet(cms.PSet(
37  record = cms.string('SiStripLorentzAngleRcd'),
38  tag = cms.string('SiStripLorentzAngle_CalibrationEnsemble_31X')
39  ))
40 )
41 
42 process.reader = cms.EDFilter("SiStripLorentzAngleDummyPrinter",
43  printDebug = cms.untracked.uint32(5)
44  )
45 
46 
47 process.p1 = cms.Path(process.reader)
48 
49