CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
neutronSimHitsProcessing_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ################################################################################
4 # sub-system NeutronWriters
8 
9 cscNeutronWriter.input = cms.InputTag("g4SimHitsNeutrons","MuonCSCHits")
10 rpcNeutronWriter.input = cms.InputTag("g4SimHitsNeutrons","MuonRPCHits")
11 dtNeutronWriter.input = cms.InputTag("g4SimHitsNeutrons","MuonDTHits")
12 
13 ################################################################################
14 # Special utility modules for neutron collections processing
15 # and making MixingModule happy.
16 # They define new "generator" and new "g4SimHits" modules
17 
20 
21 
22 ################################################################################
23 # extending the random number engine
24 
25 from Configuration.StandardSequences.Services_cff import RandomNumberGeneratorService
26 RandomNumberGeneratorService.generatorNeutrons = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
27 RandomNumberGeneratorService.g4SimHitsNeutrons = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
28 RandomNumberGeneratorService.cscNeutronWriter = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
29 RandomNumberGeneratorService.rpcNeutronWriter = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
30 RandomNumberGeneratorService.dtNeutronWriter = cms.PSet( initialSeed = cms.untracked.uint32(1234), engineName = cms.untracked.string('TRandom3') )
31 
32 
33 ################################################################################
34 # processing sequence
35 
36 neutron_simhits_seq = cms.Sequence((cscNeutronWriter + rpcNeutronWriter + dtNeutronWriter) * (generator + g4SimHits))
37 
General track re-fitting includes (don't load dtGeometry_cfi or cscGeometry_cfi because it's provided...
sub-system NeutronWriters
Special utility modules for neutron collections processing and making MixingModule happy...