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

Energy threshold update for new MTD geometry #31654

Closed
wants to merge 7 commits into from

Conversation

gsorrentino18
Copy link
Contributor

PR description:

The energy threshold parameter used in the MTDRecHitAlgo plugin has been modified in order to discriminate between the two different MTD ETL geometries (with one ETL disk and two ETL disks). The two MTD ETL geometries are identified via the MTDTopologyMode.

PR validation:

The new code has been tested in the release CMSSW_11_2_0_pre6.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31654/18754

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

A new Pull Request was created by @gsorrentino18 (Giulia Sorrentino) for master.

It involves the following packages:

RecoLocalFastTime/FTLCommonAlgos
RecoLocalFastTime/FTLRecProducers

@perrotta, @jpata, @cmsbuild, @kpedro88, @slava77 can you please review it and eventually sign? Thanks.
@fabiocos this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@slava77
Copy link
Contributor

slava77 commented Oct 3, 2020

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2020

+1
Tested at: 1814869
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4287c1/9717/summary.html
CMSSW: CMSSW_11_2_X_2020-10-02-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2020

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4287c1/9717/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2542225
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2542196
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

const MTDTimeCalib* time_calib_;
const MTDTopology* topology_;
static constexpr int topologycode1Disk_ = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

@gsorrentino18 @casarsa there is no need to define hardcoded thresholds, you may simply use the MTDTopologyMode enum class with something like

if (mtdTopologyMode <= static_cast<int>(MTDTopologyMode::Mode::barphiflat)) {

as we are doing elsewhere in the code (and I am using in the RecoMTD/DetLayers code I am preparing)

@cmsbuild
Copy link
Contributor

Pull request #31654 was updated. @perrotta, @civanch, @silviodonato, @mdhildreth, @cmsbuild, @franzoni, @kpedro88, @slava77, @jpata, @qliphy, @fabiocos, @davidlange6 can you please check and sign again.

@fabiocos
Copy link
Contributor

@slava77 @bsunanda the latest commit by @gsorrentino18 adds the updated Phase2C11 era that we had discussed, this should go in the direction of the update suggested. At this point I should update #31765 to use this new Era for both D72 and D73

@fabiocos
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 21, 2020

The tests are being triggered in jenkins.

from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
from Configuration.Eras.Modifier_phase2_etlV4_cff import phase2_etlV4

Phase2C11_etlV4 = cms.ModifierChain(Phase2C11, phase2_etlV4)
Copy link
Contributor

Choose a reason for hiding this comment

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

for top-level Eras, please follow the existing naming scheme:
e.g. C11 is a subdetector version for HGCal described in https://github.com/cms-sw/cmssw/tree/master/Configuration/Geometry, so use the corresponding subdetector version for MTD

Copy link
Contributor

Choose a reason for hiding this comment

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

@kpedro88 as discussed above, there is no intention to add an MTD dedicated era, this is a temporary workaround while #31765 is integrated to have a variant of Phase2C11 where D72 and D73 can be exercised without problems. When that PR is integrated, there is no reason to have scenarios with PhaseC11 AND old ETL , Phase2C11 should include this modifier as a new default, and the era added here should just be retired. Do you see a problem with this? According to what I discussed with @bsunanda Phase2C11 should stay for a while, while the old ETL in conjunction with it should disappear asap

Copy link
Contributor

Choose a reason for hiding this comment

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

@fabiocos thanks for clarifying. in this case, the temporary Era is acceptable as it currently is.

Copy link
Contributor

Choose a reason for hiding this comment

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

@kpedro88 thanks, so I will move forward accordingly in #31765, also to make a meaningful performance test as required by @jpata . Without #31654 , there are very few hits in ETL and any performance test would be biassed

@cmsbuild
Copy link
Contributor

-1

Tested at: 98c389f

CMSSW: CMSSW_11_2_X_2020-10-20-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4287c1/10176/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test TestDQMOnlineClient-beam_dqm_sourceclient had ERRORS

@cmsbuild
Copy link
Contributor

Comparison job queued.

@fabiocos
Copy link
Contributor

@qliphy @silviodonato the unit test error seems to me unrelated to this PR...

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4287c1/10176/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2544100
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2544071
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

Copy link
Contributor

@slava77 slava77 left a comment

Choose a reason for hiding this comment

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

IIUC, there is a preference now to have this PR be merged in #31765
based on #31765 (comment)

the comments are minor enough to be ignored; still, if there is a chance to update, please pick these up

Comment on lines +17 to +18
phase2_etlV4.toModify(_endcapAlgo, thresholdToKeep = 0.005 )
phase2_etlV4.toModify(_endcapAlgo, calibrationConstant = 0.001 )
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
phase2_etlV4.toModify(_endcapAlgo, thresholdToKeep = 0.005 )
phase2_etlV4.toModify(_endcapAlgo, calibrationConstant = 0.001 )
phase2_etlV4.toModify(_endcapAlgo, thresholdToKeep = 0.005, calibrationConstant = 0.001 )

is less verbose

Comment on lines +29 to +30


Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

not necessary

@fabiocos
Copy link
Contributor

@slava77 thanks for the comments, I will integrate them in #31765

@fabiocos
Copy link
Contributor

@slava77 your comments have been addressed in ee6ac20 please have a look in case

@fabiocos
Copy link
Contributor

@gsorrentino18 unless @slava77 @kpedro88 @silviodonato have a different advice, I would say that at this point this PR may just be closed

@slava77
Copy link
Contributor

slava77 commented Oct 22, 2020

-1

superseded by #31765

@kpedro88
Copy link
Contributor

please close

@cmsbuild cmsbuild closed this Oct 22, 2020
@gsorrentino18 gsorrentino18 deleted the gs-topologyupdate branch February 24, 2021 09:00
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.

10 participants