CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
NeutronBGforMuonsHP_cff Namespace Reference

Functions

def customise
 

Function Documentation

def NeutronBGforMuonsHP_cff.customise (   process)

Definition at line 3 of file NeutronBGforMuonsHP_cff.py.

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

3 
4 def customise(process):
5 
6  # fragment allowing to simulate neutron background in muon system
7  # using HP neutron package and thermal neutron scattering
8 
9  from SimG4Core.Application.NeutronBGforMuons_cff import neutronBG
10 
11  process = neutronBG(process)
12 
13  if hasattr(process,'g4SimHits'):
14  process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/FTFP_BERT_HP_EML')
15  process.g4SimHits.Physics.ThermalNeutrons = cms.untracked.bool(True)
16 
17  return(process)
18