CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimMuon/Neutron/python/neutronSimHitsProcessing_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ################################################################################
00004 # sub-system NeutronWriters
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 # Special utility modules for Neutron collections processing
00015 # and making MixingModule happy.
00016 # They define new "generator" and new "g4SimHits" modules
00017 
00018 from SimMuon.Neutron.emptyHepMCProducer_cfi import *
00019 from SimMuon.Neutron.neutronHitsCollector_cfi import *
00020 
00021 
00022 ################################################################################
00023 # extending the random number engine
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 # processing sequence
00035 
00036 neutron_simhits_seq = cms.Sequence((cscNeutronWriter + rpcNeutronWriter + dtNeutronWriter) * (generator + g4SimHits))
00037