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

Use of Max-Sample algorithm for gain-switch cases in the barrel #17259

Conversation

emanueledimarco
Copy link
Contributor

This is a fix for the ECAL local reconstruction that, for EB only, where the problem is visible,
changes the algorithm from multifit to the simple max-sample.
This solution for EB grants the consistency of the (legacy) re-reco data with the Summer16 MC samples already existing [1]. For EE it would introduce a small extra smearing in the data/MC, so it is switched off for the re-reco (since the problem affects only EB).
This should then be customised to be used for 2015-2016 data only.

Depending to what studies for 90X with improved multifit show, related to PR #17205, we could either use them, if positive, or fall back on this max-sample solution, for both EB and EE.
Should this be implemented for 90X as well on top of PR #17205 ?

@bendavid @amassiro @slava77

[1] https://indico.cern.ch/event/590956/contributions/2391934/attachments/1384258/2105710/multifit-gainswitch.pdf

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @emanueledimarco (Emanuele Di Marco) for CMSSW_8_0_X.

It involves the following packages:

RecoLocalCalo/EcalRecAlgos
RecoLocalCalo/EcalRecProducers

@cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@argiro this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@slava77
Copy link
Contributor

slava77 commented Jan 24, 2017 via email

@@ -573,6 +575,7 @@ EcalUncalibRecHitWorkerMultiFit::getAlgoDescription() {
edm::ParameterDescription<bool>("ampErrorCalculation", true, true) and
edm::ParameterDescription<bool>("useLumiInfoRunHeader", true, true) and
edm::ParameterDescription<int>("bunchSpacing", 0, true) and
edm::ParameterDescription<bool>("gainSwitchEBMaxSample", 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.

I think that the default here should be "false"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, will do

@emanueledimarco
Copy link
Contributor Author

For 90X, I will add it as configurable on top of PR #17205, since it is already merged

@slava77
Copy link
Contributor

slava77 commented Jan 24, 2017

@cmsbuild please test

@emanueledimarco
what is needed to enable the feature?
Is it just process.ecalMultiFitUncalibRecHit.gainSwitchEBMaxSample = False ?

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 24, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17404/console Started: 2017/01/24 15:21

@emanueledimarco
Copy link
Contributor Author

emanueledimarco commented Jan 24, 2017

@slava77
what is needed to enable the feature?
Is it just process.ecalMultiFitUncalibRecHit.gainSwitchEBMaxSample = False ?

The opposite: process.ecalMultiFitUncalibRecHit.algoPSet.gainSwitchEBMaxSample = cms.bool(True)

only for 2016 data for the time being

@cmsbuild
Copy link
Contributor

Pull request #17259 was updated. @cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please check and sign again.

@slava77
Copy link
Contributor

slava77 commented Jan 24, 2017 via email

@slava77
Copy link
Contributor

slava77 commented Jan 24, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 24, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17405/console Started: 2017/01/24 15:56

@emanueledimarco
Copy link
Contributor Author

emanueledimarco commented Jan 24, 2017

Forgot to add the validation with 2016 data (from Shervin Nourbakhsh and Giuseppe Fasanella)
@shervin86

slewRate_fix.pdf

@slava77
Copy link
Contributor

slava77 commented Mar 10, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 10, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18345/console Started: 2017/03/10 22:08

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Mar 17, 2017

+1

for #17259 c8b69f0

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@emanueledimarco
Copy link
Contributor Author

emanueledimarco commented Apr 3, 2017

This is still pending and should be:

  • included in 8.0.X
  • turned ON for the 2016 legacy re-reco only for the ECAL barrel, i.e.: process.ecalMultiFitUncalibRecHit.algoPSet.gainSwitchEBMaxSample = cms.bool(True)

is the legacy re-reco release built?
@paramatti @fcouderc @shervin86 also follow this.

@amassiro
Copy link
Contributor

amassiro commented Apr 5, 2017

As discussed today at the AlCa meeting (https://indico.cern.ch/event/626460/), can this be switched on for the legacy re-reco cmssw release?
Cheers, ECAL

@slava77
Copy link
Contributor

slava77 commented Apr 5, 2017 via email

@amassiro
Copy link
Contributor

amassiro commented Apr 5, 2017

Perfect. Thanks a lot for fast reply.

@emanueledimarco
Copy link
Contributor Author

emanueledimarco commented Apr 5, 2017

@slava77 ok. But this should be merged in 8.0.X still, in order to be turned on by configuration, right?

@slava77
Copy link
Contributor

slava77 commented Apr 5, 2017 via email

@davidlange6
Copy link
Contributor

hi @emanueledimarco - please submit a PR turning this feature on by default. Thanks

@davidlange6 davidlange6 merged commit b869ac7 into cms-sw:CMSSW_8_0_X Apr 5, 2017
@emanueledimarco
Copy link
Contributor Author

@davidlange6 I have understood from @slava77 in #17259 (comment) that we want to leave the default off and turn on this feature by a customise command on the legacy re-reco in 8.0.X.
Is this correct?

@davidlange6
Copy link
Contributor

davidlange6 commented Apr 6, 2017 via email

@emanueledimarco
Copy link
Contributor Author

fair. Doing it now.

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

6 participants