Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
Application
python
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)
Config
RussianRoulette_cff.customiseRR
def customiseRR
Definition:
RussianRoulette_cff.py:3
reco::return
return(e1-e2)*(e1-e2)+dp *dp
Generated for CMSSW Reference Manual by
1.8.5