Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated EcalUncalibRecHitTimingCCAlgo to correct for bias at high energies #45386

Merged
merged 5 commits into from
Jul 8, 2024

Conversation

jking79
Copy link
Contributor

@jking79 jking79 commented Jul 5, 2024

Added correction for MPGA slew issue to CC time reconstruction algorithm
Added useSlewCorrectionEB and useSlewCorrectionEE parameters to activate slew correction code
Tested and presented in ECAL DPG : https://indico.cern.ch/event/1433850/

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45386/40835

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@thomreis
Copy link
Contributor

thomreis commented Jul 5, 2024

type ecal

@cmsbuild cmsbuild added the ecal label Jul 5, 2024
@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2024

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2024

A new Pull Request was created by @jking79 for master.

It involves the following packages:

  • RecoLocalCalo/EcalRecAlgos (reconstruction)
  • RecoLocalCalo/EcalRecProducers (reconstruction)

@cmsbuild, @jfernan2, @mandrenguyen can you please review it and eventually sign? Thanks.
@ReyerBand, @apsallid, @argiro, @missirol, @rchatter, @thomreis, @wang0jin, @youyingli this is something you requested to watch as well.
@antoniovilela, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

powerSamples += std::pow(samples[i], 2);
powerTemplate += std::pow(interpolated[i], 2);
cc += interpolated[i] * samples[i];
powerSamples += std::pow(samples[i], 2) * weights[i];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not important now since the weights are either 0 or 1, but would it make more sense to have std::pow(samples[i] * weights[i], 2) instead when there may be float values for weights?

@@ -14,6 +14,8 @@
outOfTimeThresholdGain12mEB = 3.0,
outOfTimeThresholdGain61pEB = 3.0,
outOfTimeThresholdGain61mEB = 3.0,
useSlewCorrectionEB = True,
useSlewCorrectionEE = False,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are not needed.

@@ -783,6 +794,8 @@ edm::ParameterSetDescription EcalUncalibRecHitWorkerMultiFit::getAlgoDescription
edm::ParameterDescription<double>("outOfTimeThresholdGain61mEE", 1000, true) and
edm::ParameterDescription<double>("amplitudeThresholdEB", 10, true) and
edm::ParameterDescription<double>("amplitudeThresholdEE", 10, true) and
edm::ParameterDescription<bool>("useSlewCorrectionEB", true, true) and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change the variable name to crossCorrelationUseSlewCorrectionEB to distinguish it clearly from the slew rate fixes in the amplitude reconstruction, which are activated with the gainSwitchUseMaxSampleEB parameter.

…fi.py, Changed name of slew correction paramters in EcalUncalibRecHitWorkerMultiFit.cc
@jking79 jking79 changed the title Pr master cc slew correction Updated EcalUncalibRecHitTimingCCAlgo to correct for bias at high energies Jul 5, 2024
@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45386/40838

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@thomreis
Copy link
Contributor

thomreis commented Jul 5, 2024

please test

Errors do not seem related to code changes.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2024

-1

Failed Tests: RelVals
Size: This PR adds an extra 12KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-01bead/40265/summary.html
COMMIT: 15b297b
CMSSW: CMSSW_14_1_X_2024-07-04-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45386/40265/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

RelVals

  • 29634.911A fatal system signal has occurred: segmentation violation

@thomreis
Copy link
Contributor

thomreis commented Jul 5, 2024

The same segfault happens also in the tests of #45375
@antoniovilela @rappoccio is there a general issue with the tests at the moment?

@thomreis
Copy link
Contributor

thomreis commented Jul 8, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2024

+1

Size: This PR adds an extra 12KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-01bead/40278/summary.html
COMMIT: 15b297b
CMSSW: CMSSW_14_1_X_2024-07-07-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45386/40278/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially added 7 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3345088
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3345065
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@jfernan2
Copy link
Contributor

jfernan2 commented Jul 8, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2024

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

The same segfault happens also in the tests of #45375 @antoniovilela @rappoccio is there a general issue with the tests at the moment?

Thomas, please use @cms-sw/orp-l2 to mention us.

@antoniovilela
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants