3 import FWCore.ParameterSet.Config
as cms
5 process = cms.Process(
"Builder")
7 process.MessageLogger = cms.Service(
"MessageLogger",
8 cerr = cms.untracked.PSet(
9 enable = cms.untracked.bool(
False)
11 debugModules = cms.untracked.vstring(
'siStripLorentzAngleDummyDBWriter'),
12 files = cms.untracked.PSet(
13 SQLiteGenerator = cms.untracked.PSet(
17 threshold = cms.untracked.string(
'DEBUG')
20 process.maxEvents = cms.untracked.PSet(
21 input = cms.untracked.int32(1)
23 process.source = cms.Source(
"EmptySource",
24 numberEventsInRun = cms.untracked.uint32(1),
25 firstRun = cms.untracked.uint32(1)
28 process.load(
"Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
30 process.load(
"CalibTracker.SiStripESProducers.fake.SiStripLorentzAngleFakeESSource_cfi")
31 process.load(
"CalibTracker.SiStripESProducers.DBWriter.SiStripLorentzAngleDummyDBWriter_cfi")
33 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
34 connect = cms.string(
'sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'),
35 timetype = cms.untracked.string(
'runnumber'),
36 BlobStreamerName = cms.untracked.string(
'TBufferBlobStreamingService'),
37 DBParameters = cms.PSet(
38 messageLevel = cms.untracked.int32(2),
39 authenticationPath = cms.untracked.string(
'/afs/cern.ch/cms/DB/conddb')
42 toPut = cms.VPSet(cms.PSet(
43 record = cms.string(
'SiStripLorentzAngleRcd'),
44 tag = cms.string(
'SiStripLorentzAngle_CalibrationEnsemble_31X')
48 process.siStripLorentzAngleDummyDBWriter.record=process.PoolDBOutputService.toPut[0].record
56 from CalibTracker.SiStripESProducers.fake.SiStripLorentzAngleFakeESSource_cfi
import siStripLorentzAngleFakeESSource
58 siStripLorentzAngleFakeESSource.TIB_EstimatedValuesMin = cms.vdouble(0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField)
59 siStripLorentzAngleFakeESSource.TIB_EstimatedValuesMax = cms.vdouble(0.10/BField, 0.10/BField, 0.10/BField, 0.10/BField)
61 siStripLorentzAngleFakeESSource.TIB_PerCent_Errs = cms.vdouble(0., 0., 0., 0.)
63 siStripLorentzAngleFakeESSource.TOB_EstimatedValuesMin = cms.vdouble(0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField)
64 siStripLorentzAngleFakeESSource.TOB_EstimatedValuesMax = cms.vdouble(0.12/BField, 0.12/BField, 0.12/BField, 0.12/BField, 0.12/BField, 0.12/BField)
66 siStripLorentzAngleFakeESSource.TOB_PerCent_Errs = cms.vdouble(0., 0., 0., 0., 0., 0.)
68 process.p1 = cms.Path(process.siStripLorentzAngleDummyDBWriter)