Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-23 03:13:55

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 process.load("Configuration.StandardSequences.GeometryDB_cff")
0008 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0009 process.load("Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff")
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 
0012 #process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0013 
0014 process.load("CondTools.SiPixel.SiPixelGainCalibrationService_cfi")
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     threshold = cms.untracked.string('INFO')
0018 )
0019 
0020 process.source = cms.Source("EmptyIOVSource",
0021     firstValue = cms.uint64(1),
0022     lastValue = cms.uint64(1),
0023     timetype = cms.string('runnumber'),
0024     interval = cms.uint64(1)
0025 )
0026 
0027 process.SiPixelCondObjForHLTBuilder = cms.EDAnalyzer("SiPixelCondObjForHLTBuilder",
0028     process.SiPixelGainCalibrationServiceParameters,
0029     numberOfModules = cms.int32(2000),
0030     deadFraction = cms.double(0.0002),
0031     noisyFraction = cms.double(0.0002),
0032     appendMode = cms.untracked.bool(False),
0033     rmsGain = cms.double(0.0),
0034     meanGain = cms.double(0.4),
0035     meanPed = cms.double(50.0),
0036     rmsPed = cms.double(0.0),
0037 # separate input for the FPIX. If not entered the default values are used.
0038     rmsGainFPix = cms.untracked.double(0.14),
0039     meanGainFPix = cms.untracked.double(2.8),
0040     meanPedFPix = cms.untracked.double(28.2),
0041     rmsPedFPix = cms.untracked.double(2.75),
0042     
0043     fileName = cms.string('../macros/phCalibrationFit_C0.dat'),
0044     record = cms.string('SiPixelGainCalibrationForHLTRcd'),
0045     secondRocRowGainOffset = cms.double(0.0),
0046     fromFile = cms.bool(False),
0047     secondRocRowPedOffset = cms.double(0.0),
0048     generateColumns = cms.untracked.bool(True)
0049 )
0050 
0051 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0052     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0053     DBParameters = cms.PSet(
0054         messageLevel = cms.untracked.int32(3),
0055         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0056     ),
0057     toPut = cms.VPSet(cms.PSet(
0058         record = cms.string('SiPixelGainCalibrationForHLTRcd'),
0059         tag = cms.string('GainCalib_TEST_hlt')
0060     )),
0061     connect = cms.string('sqlite_file:prova.db')
0062 )
0063 
0064 #process.print = cms.OutputModule("AsciiOutputModule")
0065 
0066 process.p = cms.Path(process.SiPixelCondObjForHLTBuilder)
0067 
0068