6 if hasattr(process,
'g4SimHits'):
7 process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/QGSP_FTFP_BERT_EML_New')
9 process.g4SimHits.HCalSD.UseShowerLibrary = cms.bool(
True)
10 process.g4SimHits.HCalSD.UseParametrize = cms.bool(
False)
11 process.g4SimHits.HCalSD.UsePMTHits = cms.bool(
False)
12 process.g4SimHits.HCalSD.UseFibreBundleHits = cms.bool(
False)
13 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_eta4_16en.root'
14 process.g4SimHits.HFShowerLibrary.BranchPost=
''
15 process.g4SimHits.HFShowerLibrary.BranchPre =
''
16 process.g4SimHits.HFShowerLibrary.BranchEvt =
''
return(e1-e2)*(e1-e2)+dp *dp