Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SiPixelInclusiveReader")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
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.TFileService = cms.Service("TFileService",
0015                                    fileName = cms.string("histo.root")
0016                                    )
0017 
0018 process.load("CondCore.CondDB.CondDB_cfi")
0019 process.CondDB.connect = 'oracle://cms_orcoff_int2r/CMS_COND_PIXEL'
0020 process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0021 process.CondDB.DBParameters.messageLevel = 3
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(10),
0029     firstRun = cms.untracked.uint32(1)
0030 )
0031 
0032 process.Timing = cms.Service("Timing")
0033 
0034 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0035     ignoreTotal = cms.untracked.int32(0)
0036 )
0037 
0038 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0039     process.CondDB,
0040     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0041     toGet = cms.VPSet(cms.PSet(
0042         record = cms.string('SiPixelGainCalibrationOfflineRcd'),
0043         tag = cms.string('SiPixelGainCalibration_TBuffer_const')
0044     ), 
0045         cms.PSet(
0046             record = cms.string('SiPixelGainCalibrationForHLTRcd'),
0047             tag = cms.string('SiPixelGainCalibration_TBuffer_hlt_const')
0048         ))
0049 )
0050 
0051 process.prefer("PoolDBESSource")
0052 process.SiPixelCondObjOfflineReader = cms.EDAnalyzer("SiPixelCondObjOfflineReader",
0053     process.SiPixelGainCalibrationServiceParameters,
0054     fileName = cms.string('histos_Offline_startup.root')
0055 )
0056 
0057 process.SiPixelCondObjForHLTReader = cms.EDAnalyzer("SiPixelCondObjForHLTReader",
0058     process.SiPixelGainCalibrationServiceParameters
0059 )
0060 
0061 process.SiPixelLorentzAngleReader = cms.EDAnalyzer("SiPixelLorentzAngleReader")
0062 
0063 process.SiPixelFedCablingMapAnalyzer = cms.EDAnalyzer("SiPixelFedCablingMapAnalyzer")
0064 
0065 #process.print = cms.OutputModule("AsciiOutputModule")
0066 
0067 process.p = cms.Path(process.SiPixelCondObjOfflineReader*process.SiPixelCondObjForHLTReader)
0068 #process.ep = cms.EndPath(process.print)