Go to the documentation of this file.00001
00002
00003
00004 import FWCore.ParameterSet.Config as cms
00005
00006
00007 from SimG4Core.Configuration.SimG4Core_cff import *
00008
00009
00010 g4SimHitsNeutrons = g4SimHits.clone()
00011 g4SimHitsNeutrons.Generator.HepMCProductLabel = cms.string('generatorNeutrons')
00012 del g4SimHits
00013
00014
00015 g4SimHitsNeutrons.Physics.type = 'SimG4Core/Physics/QGSP_BERT_HP'
00016 g4SimHitsNeutrons.Physics.FlagBERT = True
00017 g4SimHitsNeutrons.StackingAction.NeutronThreshold = 0.
00018 g4SimHitsNeutrons.StackingAction.MaxTrackTime = 1e9
00019 g4SimHitsNeutrons.SteppingAction.MaxTrackTime = 1e9
00020
00021
00022
00023
00024
00025 g4SimHitsNeutrons.Generator.ApplyPCuts = False
00026 g4SimHitsNeutrons.Generator.ApplyEtaCuts = False
00027
00028
00029
00030
00031 psim_neutrons = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*g4SimHitsNeutrons)