Skip to content

Commit

Permalink
Merge pull request #12297 from fratnikov/dm_tuning_76X
Browse files Browse the repository at this point in the history
data mixer tuning for HCAL and ECAL
  • Loading branch information
davidlange6 committed Nov 10, 2015
2 parents 17ca752 + 2940c00 commit 30eb309
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 554 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

# disable adding noise to HCAL cells with no MC signal
# mixData.doEmpty = False
from SimGeneral.PileupInformation.AddPileupSummaryPreMixed_cfi import *

pdatamix = cms.Sequence(mixData+postDMDigi)
pdatamix = cms.Sequence(mixData+postDMDigi+addPileupInfo)

4 changes: 2 additions & 2 deletions SimGeneral/DataMixingModule/plugins/DataMixingEMDigiWorker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ namespace edm
}


// add values
adc_sum = adc_new + adc_old;
// add values, but don't count pedestals twice
adc_sum = adc_new + adc_old - (int) round (pedeStals[gain_consensus-1]);

// if the sum saturates this gain, switch
if (adc_sum> 4096) {
Expand Down
Loading

0 comments on commit 30eb309

Please sign in to comment.