** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1113.

Last-Modified: Tue, 15 Sep 2025 23:12:56 GMT Content-Type: text/html; charset=utf-8 /CMSSW_16_0_X_2025-09-15-2300/SimG4Core/Application/python/reproc2011_2012_cff.py
Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-09-12 10:20:44

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     # use HF shower library instead of GFlash parameterization
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)