CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

def NeutronBGforMuonsXS_cff.customise (   process)

Definition at line 3 of file NeutronBGforMuonsXS_cff.py.

References reco.return().

3 
4 def customise(process):
5 
6  # fragment allowing to simulate neutron background in muon system
7 
8  # time window 1 millisecond
9  process.common_maximum_time.MaxTrackTime = cms.double(1000000.0)
10 
11  # Physics List XS
12  process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/FTFP_BERT_XS_EML')
13 
14  # Russian roulette disabled
15 
16  process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
17  process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
18 
19  return(process)
return(e1-e2)*(e1-e2)+dp *dp