Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005 from SimMuon.CSCDigitizer.cscNeutronWriter_cfi import *
00006 from SimMuon.RPCDigitizer.rpcNeutronWriter_cfi import *
00007 from SimMuon.DTDigitizer.dtNeutronWriter_cfi import *
00008
00009 cscNeutronWriter.input = cms.InputTag("g4SimHitsNeutrons","MuonCSCHits")
00010 rpcNeutronWriter.input = cms.InputTag("g4SimHitsNeutrons","MuonRPCHits")
00011 dtNeutronWriter.input = cms.InputTag("g4SimHitsNeutrons","MuonDTHits")
00012
00013
00014
00015
00016
00017
00018 from SimMuon.Neutron.emptyHepMCProducer_cfi import *
00019 from SimMuon.Neutron.neutronHitsCollector_cfi import *
00020
00021
00022
00023
00024
00025 from Configuration.StandardSequences.Services_cff import RandomNumberGeneratorService
00026 RandomNumberGeneratorService.generatorNeutrons = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
00027 RandomNumberGeneratorService.g4SimHitsNeutrons = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
00028 RandomNumberGeneratorService.cscNeutronWriter = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
00029 RandomNumberGeneratorService.rpcNeutronWriter = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
00030 RandomNumberGeneratorService.dtNeutronWriter = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
00031
00032
00033
00034
00035
00036 neutron_simhits_seq = cms.Sequence((cscNeutronWriter + rpcNeutronWriter + dtNeutronWriter) * (generator + g4SimHits))
00037