CMS 3D CMS Logo

RussianRoulette_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customiseRR(process):
4 
5  # Russian roulette disabled - by default it is enabled
6  if hasattr(process,'g4SimHits'):
7  process.g4SimHits.StackingAction.RusRoGammaEnergyLimit = cms.double(0.0)
8  process.g4SimHits.StackingAction.RusRoNeutronEnergyLimit = cms.double(0.0)
9 
10  return(process)
return(e1-e2)*(e1-e2)+dp *dp