Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002 def customise(process):
00003
00004
00005
00006 process.generator.AddAntiParticle = cms.bool(False)
00007
00008
00009
00010 process.g4SimHits.UseMagneticField = cms.bool(False)
00011 process.UniformMagneticFieldESProducer = cms.ESProducer("UniformMagneticFieldESProducer",
00012 ZFieldInTesla = cms.double(0.0)
00013 )
00014
00015 process.prefer("UniformMagneticFieldESProducer")
00016
00017
00018
00019 process.output.outputCommands.append("keep *_simHcalUnsuppressedDigis_*_*")
00020
00021
00022
00023 del process.schedule[:]
00024
00025 process.schedule.append(process.generation_step)
00026 process.schedule.append(process.simulation_step)
00027
00028 delattr(process,"hbhereco")
00029 process.hbhereco = process.hbheprereco.clone()
00030 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
00031 process.hbhereco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00032 process.horeco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00033 process.hfreco.digiLabel = cms.InputTag("simHcalUnsuppressedDigis")
00034
00035 process.local_digireco = cms.Path(process.mix * process.hcalDigiSequence * process.hbhereco * process.hfreco * process.horeco )
00036
00037 process.schedule.append(process.local_digireco)
00038
00039 process.load("Validation/Configuration/hcalSimValid_cff")
00040
00041 process.AllRecHitsValidation.ecalselector = cms.untracked.string('no')
00042
00043 process.local_validation = cms.Path(process.hcalSimHitStudy+process.hcalDigisValidationSequence+process.hcalRecHitsValidationSequence)
00044 process.schedule.append(process.local_validation)
00045
00046 process.schedule.append(process.endjob_step)
00047 process.schedule.append(process.out_step)
00048
00049 return(process)