2 import FWCore.ParameterSet.Config
as cms
7 process.generator.AddAntiParticle = cms.bool(
False)
11 process.g4SimHits.UseMagneticField = cms.bool(
False)
12 process.UniformMagneticFieldESProducer = cms.ESProducer(
"UniformMagneticFieldESProducer",
13 ZFieldInTesla = cms.double(0.0)
16 process.prefer(
"UniformMagneticFieldESProducer")
20 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
21 instanceLabel = cms.untracked.string(
'EcalValidInfo'),
22 type = cms.string(
'EcalSimHitsValidProducer'),
23 verbose = cms.untracked.bool(
False)
28 process.g4SimHits.Generator.HepMCProductLabel = cms.string(
'generatorSmeared')
33 six.next(six.iteritems(process.outputModules_()))[1].outputCommands.append(
"keep *_simHcalUnsuppressedDigis_*_*")
37 del process.schedule[:]
39 process.schedule.append(process.generation_step)
40 process.schedule.append(process.simulation_step)
42 process.ecalMultiFitUncalibRecHit.EBdigiCollection = cms.InputTag(
"simEcalDigis",
"ebDigis")
43 process.ecalMultiFitUncalibRecHit.EEdigiCollection = cms.InputTag(
"simEcalDigis",
"eeDigis")
44 process.ecalPreshowerRecHit.ESdigiCollection = cms.InputTag(
"simEcalPreshowerDigis")
46 delattr(process,
"hbhereco")
47 process.hbhereco = process.hbheprereco.clone()
48 process.hcalLocalRecoSequence.replace(process.hbheprereco,process.hbhereco)
49 process.hbhereco.digiLabelQIE8 = cms.InputTag(
"simHcalUnsuppressedDigis")
50 process.hbhereco.digiLabelQIE11 = cms.InputTag(
"simHcalUnsuppressedDigis",
"HBHEQIE11DigiCollection")
51 process.horeco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
52 process.hfreco.digiLabel = cms.InputTag(
"simHcalUnsuppressedDigis")
53 process.ecalRecHit.recoverEBIsolatedChannels = cms.bool(
False)
54 process.ecalRecHit.recoverEEIsolatedChannels = cms.bool(
False)
55 process.ecalRecHit.recoverEBFE = cms.bool(
False)
56 process.ecalRecHit.recoverEEFE = cms.bool(
False)
60 process.reducedEcalRecHitsEB.interestingDetIdCollections = cms.VInputTag(
62 cms.InputTag(
"interestingEcalDetIdEB"),
63 cms.InputTag(
"interestingEcalDetIdEBU"),
66 process.reducedEcalRecHitsEE.interestingDetIdCollections = cms.VInputTag(
68 cms.InputTag(
"interestingEcalDetIdEE"),
71 process.local_digireco = cms.Path(process.mix * process.addPileupInfo * process.bunchSpacingProducer * process.calDigi * process.ecalPacker * process.esDigiToRaw * process.hcalRawData * process.rawDataCollector * process.ecalDigis * process.ecalPreshowerDigis * process.hcalDigis * process.calolocalreco *(process.ecalClustersNoPFBox+process.caloTowersRec) * process.reducedEcalRecHitsSequenceEcalOnly )
73 process.schedule.append(process.local_digireco)
76 process.load(
"RecoMET.METProducers.hcalnoiseinfoproducer_cfi" )
77 process.hcalnoise_path = cms.Path( process.hcalnoise )
78 process.schedule.append( process.hcalnoise_path )
80 process.load(
"Validation/Configuration/ecalSimValid_cff")
81 process.load(
"Validation/Configuration/hcalSimValid_cff")
82 process.local_validation = cms.Path(process.ecalSimValid+process.hcalSimValid)
83 process.schedule.append(process.local_validation)
85 process.schedule.append(process.endjob_step)
87 process.schedule.append(getattr(process,six.next(six.iteritems(process.outputModules_()))[0]+
"_step"))