CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NeutronBGforMuonsXS_cff.py
Go to the documentation of this file.
2 
3 def customise(process):
4 
5  # fragment allowing to simulate neutron background in muon system
6 
7  # time window 1 millisecond
8  process.common_maximum_time.MaxTrackTime = cms.double(1000000.0)
9 
10  # Physics List XS
11  process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/FTFP_BERT_XS_EML')
12 
13  # Russian roulette disabled
14 
15  process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
16  process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
17 
18  return(process)
return(e1-e2)*(e1-e2)+dp *dp