File indexing completed on 2024-04-06 12:30:43
0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("CSCDigitizerTest")
0005 process.maxEvents = cms.untracked.PSet(
0006 input = cms.untracked.int32(100)
0007 )
0008
0009 process.load('Configuration.StandardSequences.Services_cff')
0010
0011 process.load("SimGeneral.MixingModule.mixLowLumPU_cfi")
0012 print(str(process.RandomNumberGeneratorService))
0013 process.mix.input.fileNames = cms.untracked.vstring(['file:cscNeutronWriter.root'])
0014
0015 process.mix.mixObjects.mixSH.input = cms.VInputTag(cms.InputTag('cscNeutronWriter'))
0016 process.mix.mixObjects.mixSH.subdets = cms.vstring('MuonCSCDigis')
0017 process.load("Configuration.StandardSequences.GeometryPilot2_cff")
0018 process.load("Configuration.StandardSequences.MagneticField_cff")
0019 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0020
0021 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0022 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0023 process.GlobalTag.globaltag = "IDEAL_31X::All"
0024 process.load("SimMuon.CSCDigitizer.muonCSCDigis_cfi")
0025
0026 process.source = cms.Source("EmptySource")
0027
0028 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0029 moduleSeeds = cms.PSet(
0030 simMuonCSCDigis = cms.untracked.uint32(468),
0031 mix = cms.untracked.uint32(1234)
0032 ),
0033 sourceSeed = cms.untracked.uint32(98765)
0034 )
0035
0036 process.DQMStore = cms.Service("DQMStore")
0037 process.simMuonCSCDigis.InputCollection = 'cscNeutronWriter'
0038 process.load("SimMuon.CSCDigitizer.cscDigiDump_cfi")
0039
0040 process.MessageLogger = cms.Service("MessageLogger",
0041 debugModules = cms.untracked.vstring('*'),
0042 cout = cms.untracked.PSet(
0043 MixingModule = cms.untracked.PSet(
0044 limit = cms.untracked.int32(10000000)
0045 ),
0046 noLineBreaks = cms.untracked.bool(True),
0047 DEBUG = cms.untracked.PSet(
0048 limit = cms.untracked.int32(0)
0049 ),
0050 INFO = cms.untracked.PSet(
0051 limit = cms.untracked.int32(0)
0052 ),
0053 threshold = cms.untracked.string('DEBUG')
0054 ),
0055 categories = cms.untracked.vstring('MixingModule'),
0056 destinations = cms.untracked.vstring('cout')
0057 )
0058
0059
0060
0061
0062
0063 process.p1 = cms.Path(process.mix*process.simMuonCSCDigis*process.cscSimDigiDump)
0064
0065
0066