CMS 3D CMS Logo

Functions
NeutronBGforMuonsHP_cff Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def NeutronBGforMuonsHP_cff.customise (   process)

Definition at line 3 of file NeutronBGforMuonsHP_cff.py.

References NeutronBGforMuons_cff.neutronBG(), and mathSSE.return().

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 
18 
return((rh ^ lh) &mask)