Skip to content

Commit

Permalink
Merge pull request #36137 from jeongeun/update122X
Browse files Browse the repository at this point in the history
Migrate module config in Configuration, TauAnalysis to use default cfipython
  • Loading branch information
cmsbuild committed Nov 26, 2021
2 parents 3d72aa6 + 238a7cd commit 220214e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Expand Up @@ -14,12 +14,12 @@
fileNames = cms.untracked.vstring('file:/u1/meridian/data/h4/2006/h4b.00013247.A.0.0.root')
)

process.ecal2006TBRecHit = cms.EDProducer("EcalRecHitProducer",
process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
process.ecal2006TBRecHit = process.ecalRecHit.clone(
EEuncalibRecHitCollection = cms.string(''),
uncalibRecHitProducer = cms.string('ecal2006TBWeightUncalibRecHit'),
EBuncalibRecHitCollection = cms.string('EcalUncalibRecHitsEB'),
EBrechitCollection = cms.string('EcalRecHitsEB'),
EErechitCollection = cms.string('')
EErechitCollection = ''
)

process.out = cms.OutputModule("PoolOutputModule",
Expand Down
6 changes: 2 additions & 4 deletions TauAnalysis/MCEmbeddingTools/python/customisers.py
Expand Up @@ -5,7 +5,6 @@
from __future__ import print_function
import FWCore.ParameterSet.Config as cms


################################ Customizer for skimming ###########################
### There are four different parts.
##First step is the SELECT (former SKIM) part, where we identfy the events which are good for Embedding. Need to store RAWRECO [RAW is needed for the MERG and RECO for the CLEAN step]
Expand Down Expand Up @@ -443,9 +442,8 @@ def customisoptions(process):
process.options = cms.untracked.PSet()
process.options.emptyRunLumiMode = cms.untracked.string('doNotHandleEmptyRunsAndLumis')
if not hasattr(process, "bunchSpacingProducer"):
process.bunchSpacingProducer = cms.EDProducer("BunchSpacingProducer")
process.bunchSpacingProducer.bunchSpacingOverride = cms.uint32(25)
process.bunchSpacingProducer.overrideBunchSpacing = cms.bool(True)
process.load('RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi')
process.bunchSpacingProducer = process.bunchSpacingProducer.clone(overrideBunchSpacing = True)
process.options.numberOfThreads = cms.untracked.uint32(1)
process.options.numberOfStreams = cms.untracked.uint32(0)
return process
Expand Down

0 comments on commit 220214e

Please sign in to comment.