4 import FWCore.ParameterSet.Config
as cms
10 g4SimHitsNeutrons = g4SimHits.clone()
11 g4SimHitsNeutrons.Generator.HepMCProductLabel = cms.string(
'generatorNeutrons')
15 g4SimHitsNeutrons.Physics.type =
'SimG4Core/Physics/QGSP_BERT_HP'
16 g4SimHitsNeutrons.Physics.FlagBERT =
True
17 g4SimHitsNeutrons.StackingAction.NeutronThreshold = 0.
18 g4SimHitsNeutrons.StackingAction.MaxTrackTime = 1e9
19 g4SimHitsNeutrons.SteppingAction.MaxTrackTime = 1e9
22 g4SimHitsNeutrons.StackingAction.MaxTrackTimes[2] = 1e9
23 g4SimHitsNeutrons.SteppingAction.MaxTrackTimes[2] = 1e9
25 g4SimHitsNeutrons.Generator.ApplyPCuts =
False
26 g4SimHitsNeutrons.Generator.ApplyEtaCuts =
False
31 psim_neutrons = cms.Sequence(cms.SequencePlaceholder(
"randomEngineStateProducer")*g4SimHitsNeutrons)