CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 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 HP
12  process.g4SimHits.Physics.type = cms.string('SimG4Core/Physics/FTFP_BERT_HP_EML')
13 
14  # Russian roulette disabled
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