Skip to content

Commit

Permalink
Merge pull request #33963 from srimanob/12_0_CleaningDigitizerCfi
Browse files Browse the repository at this point in the history
Cleaning digitizer config file
  • Loading branch information
cmsbuild committed Jun 7, 2021
2 parents f2a893e + b5c48c5 commit 2203a47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions SimGeneral/MixingModule/python/digitizers_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,12 @@
theDigitizers.mergedtruth.select.signalOnlyTP = True

from Configuration.ProcessModifiers.run3_ecalclustering_cff import run3_ecalclustering
(run3_ecalclustering | phase2_hgcal).toModify( theDigitizersValid,
calotruth = cms.PSet( caloParticles ) )
(premix_stage2 & phase2_hgcal).toModify(theDigitizersValid, calotruth = dict(premixStage1 = True))
run3_ecalclustering.toModify( theDigitizersValid,
calotruth = cms.PSet( caloParticles ) )

phase2_timing.toModify( theDigitizersValid.mergedtruth,
createInitialVertexCollection = cms.bool(True) )


from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
def _customizePremixStage1(mod):
# To avoid this if-else structure we'd need an "_InverseModifier"
Expand Down

0 comments on commit 2203a47

Please sign in to comment.