Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:27

0001 from __future__ import print_function
0002 #! /usr/bin/env cmsRun
0003 
0004 import sys
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 from Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff import *
0008 
0009 process = cms.Process("MaterialAnalyser")
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 
0012 if hasattr(process,'MessageLogger'):
0013     process.MessageLogger.TrackingMaterialGroup=dict()
0014 
0015 process.source = cms.Source("EmptySource")
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(1)
0019 )
0020 
0021 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0022     confGeomXMLFiles = cms.FileInPath(
0023         'Geometry/TrackerCommonData/data/dd4hep/cms-tracker-geometry-2021.xml'
0024     ),
0025     appendToDataLabel = cms.string('CMS')
0026 )
0027 
0028 
0029 process.DDSpecParRegistryESProducer = cms.ESProducer(
0030     "DDSpecParRegistryESProducer",
0031     appendToDataLabel = cms.string('CMS')
0032 )
0033 
0034 process.DDCompactViewESProducer = cms.ESProducer(
0035     "DDCompactViewESProducer",
0036     appendToDataLabel = cms.string('CMS')
0037 )
0038 
0039 process.test = cms.EDAnalyzer(
0040     "DD4hep_ListGroups",
0041     DDDetector = cms.ESInputTag('','CMS'),
0042     SaveSummaryPlot = cms.untracked.bool(True)
0043 )
0044 
0045 process.path = cms.Path(
0046     process.test
0047 )