File indexing completed on 2024-04-06 12:30:14
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def customiseG4(process):
0004
0005 if hasattr(process,'g4SimHits'):
0006 process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/QGSP_FTFP_BERT_EML_New')
0007
0008 process.g4SimHits.HCalSD.UseShowerLibrary = cms.bool(True)
0009 process.g4SimHits.HCalSD.UseParametrize = cms.bool(False)
0010 process.g4SimHits.HCalSD.UsePMTHits = cms.bool(False)
0011 process.g4SimHits.HCalSD.UseFibreBundleHits = cms.bool(False)
0012 process.g4SimHits.HFShowerLibrary.FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_eta4_16en.root'
0013 process.g4SimHits.HFShowerLibrary.BranchPost= ''
0014 process.g4SimHits.HFShowerLibrary.BranchPre = ''
0015 process.g4SimHits.HFShowerLibrary.BranchEvt = ''
0016
0017 return(process)