Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PEDESTALS")
0004 process.load("Configuration.StandardSequences.MagneticField_cff")
0005 
0006 process.load("Geometry.TrackerSimData.trackerSimGeometryXML_cfi")
0007 
0008 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0009 
0010 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0011 
0012 process.load("CondTools.SiPixel.SiPixelGainCalibrationService_cfi")
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     threshold = cms.untracked.string('INFO')
0016 )
0017 
0018 process.source = cms.Source("EmptyIOVSource",
0019     firstValue = cms.uint64(1),
0020     lastValue = cms.uint64(1),
0021     timetype = cms.string('runnumber'),
0022     interval = cms.uint64(1)
0023 )
0024 
0025 process.SiPixelCondObjBuilder = cms.EDAnalyzer("SiPixelCondObjBuilder",
0026     process.SiPixelGainCalibrationServiceParameters,
0027     numberOfModules = cms.int32(500),
0028     appendMode = cms.untracked.bool(False),
0029     rmsGain = cms.double(5.0),
0030     meanGain = cms.double(25.0),
0031     meanPed = cms.double(100.0),
0032     fileName = cms.string('../macros/phCalibrationFit_C0.dat'),
0033     record = cms.string('SiPixelGainCalibrationRcd'),
0034     secondRocRowGainOffset = cms.double(0.0),
0035     rmsPed = cms.double(5.0),
0036     fromFile = cms.bool(False),
0037     secondRocRowPedOffset = cms.double(0.0)
0038 )
0039 
0040 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0041     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0042     DBParameters = cms.PSet(
0043         messageLevel = cms.untracked.int32(3),
0044         authenticationPath = cms.untracked.string('')
0045     ),
0046     timetype = cms.string('runnumber'),
0047     connect = cms.string('sqlite_file:prova.db'),
0048     toPut = cms.VPSet(cms.PSet(
0049         record = cms.string('SiPixelGainCalibrationRcd'),
0050         tag = cms.string('GainCalibTestFull')
0051     ))
0052 )
0053 
0054 
0055