File indexing completed on 2025-02-07 14:24:15
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EcalSimHitDump(*args, **kwargs):
0004 mod = cms.EDAnalyzer('EcalSimHitDump',
0005 ModuleLabel = cms.string('g4SimHits'),
0006 HitCollections = cms.vstring(
0007 'EcalHitsEB',
0008 'EcalHitsEE',
0009 'EcalHitsES'
0010 ),
0011 CollectionTypes = cms.vint32(
0012 0,
0013 1,
0014 2
0015 ),
0016 MaxEvent = cms.int32(10),
0017 mightGet = cms.optional.untracked.vstring
0018 )
0019 for a in args:
0020 mod.update_(a)
0021 mod.update_(kwargs)
0022 return mod