Skip to content

Commit

Permalink
Merge pull request #26636 from CMSTrackerDPG/from_CMSSW_10_6_0_pre4_s…
Browse files Browse the repository at this point in the history
…tuckTBMPhase0

Output BadFED Channel only for Phase 1
  • Loading branch information
cmsbuild authored May 8, 2019
2 parents f092629 + 3fff847 commit 1818d6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions SimGeneral/MixingModule/python/aliases_PreMix_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
cms.PSet(type = cms.string('PixelDigiSimLinkedmDetSetVector'))
)
simSiPixelDigis = cms.EDAlias(
mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))]
mix = _pixelCommon
)
simSiStripDigis = cms.EDAlias(
mix = cms.VPSet(
Expand All @@ -52,8 +52,8 @@
from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify(simCastorDigis, mix = None)

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toModify(simSiPixelDigis, mix = _pixelCommon)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))])

# no castor,pixel,strip digis in fastsim
from Configuration.Eras.Modifier_fastSim_cff import fastSim
Expand Down
6 changes: 3 additions & 3 deletions SimGeneral/MixingModule/python/aliases_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
cms.PSet(type = cms.string('PixelDigiSimLinkedmDetSetVector'))
)
simSiPixelDigis = cms.EDAlias(
mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))]
mix = _pixelCommon
)
simSiStripDigis = cms.EDAlias(
mix = cms.VPSet(
Expand Down Expand Up @@ -83,8 +83,8 @@
from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
(~phase2_hfnose).toModify(simHFNoseUnsuppressedDigis, mix = None)

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toModify(simSiPixelDigis, mix = _pixelCommon)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))])

# no castor,pixel,strip digis in fastsim
from Configuration.Eras.Modifier_fastSim_cff import fastSim
Expand Down
3 changes: 2 additions & 1 deletion SimTracker/SiPixelDigitizer/plugins/SiPixelDigitizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ namespace cms
}

_pixeldigialgo.reset(new SiPixelDigitizerAlgorithm(iConfig));
mixMod.produces<PixelFEDChannelCollection>();
if (NumberOfEndcapDisks != 2)
mixMod.produces<PixelFEDChannelCollection>();
}

SiPixelDigitizer::~SiPixelDigitizer(){
Expand Down

0 comments on commit 1818d6e

Please sign in to comment.