File indexing completed on 2024-04-06 12:31:57
0001 import FWCore.ParameterSet.Config as cms
0002 def customise(process):
0003
0004
0005
0006 process.generator.AddAntiParticle = cms.bool(False)
0007
0008
0009
0010 process.g4SimHits.UseMagneticField = cms.bool(False)
0011 process.UniformMagneticFieldESProducer = cms.ESProducer("UniformMagneticFieldESProducer",
0012 ZFieldInTesla = cms.double(0.0)
0013 )
0014
0015 process.prefer("UniformMagneticFieldESProducer")
0016
0017
0018
0019 process.output.outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")
0020
0021
0022
0023 del process.schedule[:]
0024
0025 process.schedule.append(process.generation_step)
0026 process.schedule.append(process.simulation_step)
0027
0028 delattr(process,"hbhereco")
0029 process.hbhereco = process.hbheprereco.clone()
0030 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
0031 process.hbhereco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
0032 process.horeco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
0033 process.hfreco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
0034
0035 process.local_digireco = cms.Path(process.mix * process.hcalDigiSequence * process.hbhereco * process.hfreco * process.horeco )
0036
0037 process.schedule.append(process.local_digireco)
0038
0039 process.load("Validation/Configuration/hcalSimValid_cff")
0040
0041 process.AllRecHitsValidation.ecalselector = cms.untracked.string('no')
0042
0043 process.local_validation = cms.Path(process.hcalSimHitStudy+process.hcalDigisValidationSequence+process.hcalRecHitsValidationSequence)
0044 process.schedule.append(process.local_validation)
0045
0046 process.schedule.append(process.endjob_step)
0047 process.schedule.append(process.out_step)
0048
0049 return(process)