File indexing completed on 2024-04-06 12:30:48
0001
0002
0003
0004 import FWCore.ParameterSet.Config as cms
0005
0006
0007 from SimG4Core.Configuration.SimG4Core_cff import *
0008
0009
0010 g4SimHitsNeutrons = g4SimHits.clone()
0011 g4SimHitsNeutrons.Generator.HepMCProductLabel = cms.string('generatorNeutrons')
0012 del g4SimHits
0013
0014
0015 g4SimHitsNeutrons.Physics.type = 'SimG4Core/Physics/QGSP_BERT_HP'
0016 g4SimHitsNeutrons.Physics.FlagBERT = True
0017 g4SimHitsNeutrons.StackingAction.NeutronThreshold = 0.
0018 g4SimHitsNeutrons.StackingAction.MaxTrackTime = 1e9
0019 g4SimHitsNeutrons.SteppingAction.MaxTrackTime = 1e9
0020
0021
0022
0023
0024
0025 g4SimHitsNeutrons.Generator.ApplyPCuts = False
0026 g4SimHitsNeutrons.Generator.ApplyEtaCuts = False
0027
0028
0029
0030
0031 psim_neutrons = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*g4SimHitsNeutrons)