Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:43:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("test")
0004 
0005 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0008 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0009 
0010 process.MessageLogger = cms.Service("MessageLogger",
0011     cerr = cms.untracked.PSet(
0012         enable = cms.untracked.bool(False)
0013     ),
0014     cout = cms.untracked.PSet(
0015         enable = cms.untracked.bool(True),
0016         threshold = cms.untracked.string('WARNING')
0017     ),
0018     debugModules = cms.untracked.vstring('*')
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(1)
0023 )
0024 process.source = cms.Source("EmptySource")
0025 
0026 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0027 # load TrackerTopology (needed for TkDetMap and TkHistoMap)
0028 process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
0029 process.trackerTopology = cms.ESProducer("TrackerTopologyEP")
0030 
0031 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0032 process.tester = DQMEDAnalyzer("testTkHistoMap",
0033                                inputFile = cms.FileInPath("DQM/SiStripCommon/test/data/SiStripDetInfo.dat"),
0034                                readFromFile = cms.bool(False))
0035 
0036 process.p = cms.Path(process.tester)