File indexing completed on 2024-04-06 12:32:05
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("EcalHitsValid")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006
0007
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009
0010
0011 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0012
0013 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0014
0015 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0016
0017 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0018
0019 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0020
0021
0022 process.load("DQMServices.Core.DQM_cfg")
0023
0024 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0025
0026
0027 process.load("SimG4Core.Application.g4SimHits_cfi")
0028
0029
0030 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0031
0032 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0033
0034
0035 process.load("SimCalorimetry.Configuration.ecalDigiSequence_cff")
0036
0037
0038 process.load("Validation.EcalDigis.ecalDigisValidationSequence_cff")
0039
0040
0041 process.load("Validation.EcalDigis.ecalMixingModuleValidation_cfi")
0042
0043
0044 process.load("Configuration.StandardSequences.EndOfProcess_cff")
0045
0046 process.maxEvents = cms.untracked.PSet(
0047 input = cms.untracked.int32(300)
0048 )
0049 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0050 moduleSeeds = cms.PSet(
0051 g4SimHits = cms.untracked.uint32(9876),
0052 ecalMixingModuleValidation = cms.untracked.uint32(12345),
0053 simEcalUnsuppressedDigis = cms.untracked.uint32(12345),
0054 mix = cms.untracked.uint32(1234)
0055 ),
0056 sourceSeed = cms.untracked.uint32(98765)
0057 )
0058
0059 process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
0060
0061 process.source = cms.Source("MCFileSource",
0062 fileNames = cms.untracked.vstring('file:Photon_E30GeV_fixed.dat')
0063 )
0064
0065 process.o1 = cms.OutputModule("PoolOutputModule",
0066 fileName = cms.untracked.string('MixingModule_noPileup_all_EcalValidation.root')
0067 )
0068
0069 process.Timing = cms.Service("Timing")
0070
0071 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0072
0073 process.simhits = cms.Sequence(process.g4SimHits)
0074 process.digis = cms.Sequence(process.mix*process.ecalDigiSequence*process.ecalDigisValidationSequence*process.ecalMixingModuleValidation)
0075 process.p1 = cms.Path(process.simhits)
0076 process.p2 = cms.Path(process.digis)
0077 process.p4 = cms.Path(process.randomEngineStateProducer)
0078 process.p5 = cms.Path(process.endOfProcess)
0079 process.outpath = cms.EndPath(process.o1)
0080 process.schedule = cms.Schedule(process.p1,process.p2,process.p4,process.p5,process.outpath)
0081
0082 process.DQM.collectorHost = ''
0083 process.g4SimHits.Generator.HepMCProductLabel = 'source'
0084