File indexing completed on 2024-08-27 22:59:33
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CaloSimHitStudy(**kwargs):
0004 mod = cms.EDAnalyzer('CaloSimHitStudy',
0005 SourceLabel = cms.untracked.string('generatorSmeared'),
0006 ModuleLabel = cms.untracked.string('g4SimHits'),
0007 CaloCollection = cms.untracked.vstring(
0008 'EcalHitsEB',
0009 'EcalHitsEE',
0010 'EcalHitsES',
0011 'HcalHits'
0012 ),
0013 MaxEnergy = cms.untracked.double(200),
0014 TimeCut = cms.untracked.double(100),
0015 MIPCut = cms.untracked.double(0.7),
0016 StoreRL = cms.untracked.bool(False),
0017 TestNumbering = cms.untracked.bool(True),
0018 mightGet = cms.optional.untracked.vstring
0019 )
0020 for k,v in kwargs.items():
0021 setattr(mod, k, v)
0022 return mod