1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import FWCore.ParameterSet.Config as cms
# Hector transport of particles along the beam pipe for very forward detectors
from SimTransport.HectorProducer.HectorTransportZDC_cfi import *
# CMSSW/Geant4 interface
from SimG4Core.Configuration.SimG4Core_cff import *
# use Hector output instead of the generator one
g4SimHits.Generator.HepMCProductLabel = cms.string('LHCTransport')
psimTask = cms.Task(cms.TaskPlaceholder("randomEngineStateProducer"), LHCTransport, g4SimHits)
psim = cms.Sequence(psimTask)
|