File indexing completed on 2024-04-06 11:59:53
0001
0002
0003
0004
0005
0006
0007 import FWCore.ParameterSet.Config as cms
0008
0009 process = cms.Process("Builder")
0010
0011 process.MessageLogger = cms.Service("MessageLogger",
0012 cerr = cms.untracked.PSet(
0013 enable = cms.untracked.bool(False)
0014 ),
0015 debugModules = cms.untracked.vstring('siStripLorentzAngleDummyDBWriter'),
0016 files = cms.untracked.PSet(
0017 LorentzAngleBuilder = cms.untracked.PSet(
0018
0019 )
0020 ),
0021 threshold = cms.untracked.string('DEBUG')
0022 )
0023
0024 process.maxEvents = cms.untracked.PSet(
0025 input = cms.untracked.int32(1)
0026 )
0027 process.source = cms.Source("EmptySource",
0028 numberEventsInRun = cms.untracked.uint32(1),
0029 firstRun = cms.untracked.uint32(1)
0030 )
0031
0032 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0033
0034 process.load("CalibTracker.SiStripESProducers.fake.SiStripLorentzAngleFakeESSource_cfi")
0035 process.load("CalibTracker.SiStripESProducers.DBWriter.SiStripLorentzAngleDummyDBWriter_cfi")
0036
0037 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0038 connect = cms.string('sqlite_file:dbfile.db'),
0039 timetype = cms.untracked.string('runnumber'),
0040 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0041 DBParameters = cms.PSet(
0042 messageLevel = cms.untracked.int32(2),
0043 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0044 ),
0045
0046 toPut = cms.VPSet(cms.PSet(
0047 record = cms.string('SiStripLorentzAngleRcd'),
0048 tag = cms.string('SiStripLorentzAngle_Ideal_31X')
0049 ))
0050 )
0051
0052 process.siStripLorentzAngleDummyDBWriter.record=process.PoolDBOutputService.toPut[0].record
0053
0054
0055
0056
0057
0058
0059 from CalibTracker.SiStripESProducers.fake.SiStripLorentzAngleFakeESSource_cfi import siStripLorentzAngleFakeESSource
0060
0061 siStripLorentzAngleFakeESSource.TIB_EstimatedValuesMin = cms.vdouble(0.014, 0.014, 0.014, 0.014)
0062 siStripLorentzAngleFakeESSource.TIB_EstimatedValuesMax = cms.vdouble()
0063
0064 siStripLorentzAngleFakeESSource.TIB_PerCent_Errs = cms.vdouble(0., 0., 0., 0.)
0065
0066 siStripLorentzAngleFakeESSource.TOB_EstimatedValuesMin = cms.vdouble(0.021, 0.021, 0.021, 0.021, 0.021, 0.021)
0067 siStripLorentzAngleFakeESSource.TOB_EstimatedValuesMax = cms.vdouble(0.021, 0.021, 0.021, 0.021, 0.021, 0.021)
0068
0069 siStripLorentzAngleFakeESSource.TOB_PerCent_Errs = cms.vdouble(0., 0., 0., 0., 0., 0.)
0070
0071 process.p1 = cms.Path(process.siStripLorentzAngleDummyDBWriter)
0072
0073