Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-17 01:40:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PixelDBReader")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
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.TFileService = cms.Service("TFileService",
0017                                    fileName = cms.string("histo.root")
0018                                    )
0019 
0020 process.load("CondCore.CondDB.CondDB_cfi")
0021 process.CondDB.connect = 'sqlite_file:prova.db'
0022 process.CondDB.DBParameters.messageLevel = 2
0023 process.CondDB.DBParameters.authenticationPath = ''
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 process.source = cms.Source("EmptySource",
0029     numberEventsInRun = cms.untracked.uint32(10),
0030     firstRun = cms.untracked.uint32(1)
0031 )
0032 
0033 process.Timing = cms.Service("Timing")
0034 
0035 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0036     ignoreTotal = cms.untracked.int32(0)
0037 )
0038 
0039 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0040     process.CondDB,
0041     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0042     toGet = cms.VPSet(cms.PSet(
0043         record = cms.string('SiPixelGainCalibrationForHLTRcd'),
0044         tag = cms.string('GainCalib_TEST_hlt')
0045     ))
0046 )
0047 
0048 process.prefer("PoolDBESSource")
0049 process.SiPixelCondObjForHLTReader = cms.EDAnalyzer("SiPixelCondObjForHLTReader",
0050     process.SiPixelGainCalibrationServiceParameters,
0051     maxRangeDeadPixHist = cms.untracked.double(0.001)
0052 
0053 )
0054 
0055 #process.print = cms.OutputModule("AsciiOutputModule")
0056 
0057 process.p = cms.Path(process.SiPixelCondObjForHLTReader)
0058 #process.ep = cms.EndPath(process.print)