Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
import FWCore.ParameterSet.Config as cms

process = cms.Process("DBGeometryTest")
process.load('Geometry.CMSCommonData.cmsIdealGeometry2015XML_cfi')

process.maxEvents = cms.untracked.PSet(
        input = cms.untracked.int32(1)
        )

process.source = cms.Source("EmptySource")

process.myprint = cms.OutputModule("AsciiOutputModule")

#MuonSensitiveDetector  ReadOutName MuonCSCHits
process.prod = cms.EDAnalyzer("TestSpecParAnalyzer",
                              specName = cms.string('ReadOutName'),
                              specStrValue = cms.untracked.string('MuonCSCHits')
                              )

process.Timing = cms.Service("Timing")

process.p1 = cms.Path(process.prod)
process.e1 = cms.EndPath(process.myprint)