Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 
0005 process = cms.Process('Dump',Run3_dd4hep)
0006 
0007 # import of standard configurations
0008 process.load('FWCore.MessageService.MessageLogger_cfi')
0009 process.load('Configuration.Geometry.GeometryDD4hepExtended2021_cff') 
0010 process.load('SimG4CMS.Calo.ecalSimHitDump_cfi')
0011 
0012 if hasattr(process,'MessageLogger'):
0013     process.MessageLogger.HitStudy=dict()
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(10),
0017     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0018 )
0019 
0020 process.source = cms.Source("PoolSource",
0021     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0022     fileNames = cms.untracked.vstring('file:step1_ZMM_dd4hep.root'),
0023 )
0024 
0025 process.analysis_step   = cms.Path(process.ecalSimHitDump)
0026 
0027 process.ecalSimHitDump.MaxEvent = 10
0028 
0029 # Schedule definition                                                          
0030 process.schedule = cms.Schedule(process.analysis_step)