src
SimG4Core
Application
python
NeutronBGforMuonsHP_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
def
customise
(process):
4
5
# fragment allowing to simulate neutron background in muon system
6
# using HP neutron package and thermal neutron scattering
7
8
from
SimG4Core.Application.NeutronBGforMuons_cff
import
neutronBG
9
10
process =
neutronBG
(process)
11
12
if
hasattr(process,
'g4SimHits'
):
13
process.g4SimHits.Physics.type = cms.string(
'SimG4Core/Physics/FTFP_BERT_HP_EML'
)
14
process.g4SimHits.Physics.ThermalNeutrons = cms.untracked.bool(
True
)
15
16
return
(process)
17
NeutronBGforMuons_cff.neutronBG
def neutronBG(process)
Definition:
NeutronBGforMuons_cff.py:3
mathSSE::return
return((rh ^ lh) &mask)
NeutronBGforMuonsHP_cff.customise
def customise(process)
Definition:
NeutronBGforMuonsHP_cff.py:3
Generated for CMSSW Reference Manual by
1.8.14