3 import FWCore.ParameterSet.Config
as cms
5 process = cms.Process(
"Builder")
7 process.MessageLogger = cms.Service(
9 debugModules = cms.untracked.vstring(
'siStripLorentzAngleDummyDBWriter'),
10 threshold = cms.untracked.string(
'DEBUG'),
11 destinations = cms.untracked.vstring(
'SQLiteGenerator.log')
14 process.maxEvents = cms.untracked.PSet(
15 input = cms.untracked.int32(1)
17 process.source = cms.Source(
"EmptySource",
18 numberEventsInRun = cms.untracked.uint32(1),
19 firstRun = cms.untracked.uint32(1)
22 process.load(
"Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
24 process.load(
"CalibTracker.SiStripESProducers.fake.SiStripLorentzAngleFakeESSource_cfi")
25 process.load(
"CalibTracker.SiStripESProducers.DBWriter.SiStripLorentzAngleDummyDBWriter_cfi")
27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
28 connect = cms.string(
'sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'),
29 timetype = cms.untracked.string(
'runnumber'),
30 BlobStreamerName = cms.untracked.string(
'TBufferBlobStreamingService'),
31 DBParameters = cms.PSet(
32 messageLevel = cms.untracked.int32(2),
33 authenticationPath = cms.untracked.string(
'/afs/cern.ch/cms/DB/conddb')
36 toPut = cms.VPSet(cms.PSet(
37 record = cms.string(
'SiStripLorentzAngleRcd'),
38 tag = cms.string(
'SiStripLorentzAngle_CalibrationEnsemble_31X')
42 process.siStripLorentzAngleDummyDBWriter.record=process.PoolDBOutputService.toPut[0].record
51 process.SiStripLorentzAngleGenerator.TIB_EstimatedValuesMin = cms.vdouble(0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField)
52 process.SiStripLorentzAngleGenerator.TIB_EstimatedValuesMax = cms.vdouble(0.10/BField, 0.10/BField, 0.10/BField, 0.10/BField)
54 process.SiStripLorentzAngleGenerator.TIB_PerCent_Errs = cms.vdouble(0., 0., 0., 0.)
56 process.SiStripLorentzAngleGenerator.TOB_EstimatedValuesMin = cms.vdouble(0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField, 0.0/BField)
57 process.SiStripLorentzAngleGenerator.TOB_EstimatedValuesMax = cms.vdouble(0.12/BField, 0.12/BField, 0.12/BField, 0.12/BField, 0.12/BField, 0.12/BField)
59 process.SiStripLorentzAngleGenerator.TOB_PerCent_Errs = cms.vdouble(0., 0., 0., 0., 0., 0.)
61 process.p1 = cms.Path(process.siStripLorentzAngleDummyDBWriter)