/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/Application/python/NeutronBGforMuonsHP_cff.py
16 строк
513 B
Vladimir
extention of neutron background simulation
08 мар 2017, 20:38
08 мар 2017, 20:38
8f5ccbf
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms def customise(process): # fragment allowing to simulate neutron background in muon system # using HP neutron package and thermal neutron scattering from SimG4Core.Application.NeutronBGforMuons_cff import neutronBG process = neutronBG(process) if hasattr(process,'g4SimHits'): process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/FTFP_BERT_HP_EML') process.g4SimHits.Physics.ThermalNeutrons = cms.untracked.bool(True) return(process)