Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:55:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDCompactViewTest")
0004 
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(1)
0008     )
0009 process.MessageLogger = cms.Service("MessageLogger",
0010     cerr = cms.untracked.PSet(
0011         enable = cms.untracked.bool(False)
0012     ),
0013     cout = cms.untracked.PSet(
0014         enable = cms.untracked.bool(True),
0015         enableStatistics = cms.untracked.bool(True),
0016         noLineBreaks = cms.untracked.bool(True),
0017         threshold = cms.untracked.string('WARNING')
0018     ),
0019     files = cms.untracked.PSet(
0020         ddcompactview = cms.untracked.PSet(
0021             DEBUG = cms.untracked.PSet(
0022                 limit = cms.untracked.int32(0)
0023             ),
0024             ERROR = cms.untracked.PSet(
0025                 limit = cms.untracked.int32(0)
0026             ),
0027             Geometry = cms.untracked.PSet(
0028                 limit = cms.untracked.int32(-1)
0029             ),
0030             INFO = cms.untracked.PSet(
0031                 limit = cms.untracked.int32(0)
0032             ),
0033             WARNING = cms.untracked.PSet(
0034                 limit = cms.untracked.int32(0)
0035             ),
0036             enableStatistics = cms.untracked.bool(True),
0037             noLineBreaks = cms.untracked.bool(True),
0038             threshold = cms.untracked.string('INFO')
0039         )
0040     )
0041 )
0042 
0043 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0044                                             confGeomXMLFiles = cms.FileInPath('Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml'),
0045                                             appendToDataLabel = cms.string('MUON')
0046                                             )
0047 
0048 process.DDCompactViewESProducer = cms.ESProducer("DDCompactViewESProducer",
0049                                                  appendToDataLabel = cms.string('MUON')
0050                                                 )
0051 
0052 process.test = cms.EDAnalyzer("DDTestCompactView",
0053                               DDDetector = cms.ESInputTag('','MUON')
0054                               )
0055 
0056 process.p = cms.Path(process.test)