CMS 3D CMS Logo

Functions
RussianRoulette_cff Namespace Reference

Functions

def customiseRR (process)
 

Function Documentation

◆ customiseRR()

def RussianRoulette_cff.customiseRR (   process)

Definition at line 3 of file RussianRoulette_cff.py.

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)
mathSSE::return
return((rh ^ lh) &mask)
RussianRoulette_cff.customiseRR
def customiseRR(process)
Definition: RussianRoulette_cff.py:3