Skip to content

Conversation

@ChrisMisan
Copy link
Contributor

@ChrisMisan ChrisMisan commented Sep 28, 2021

Overview:
This PR introduces new diamond DQM module with following changes to the previous one:

Lumisection plots:
Following the discussion on lumisection plots it was decided to leave them commented out for the time being due to possible unforeseen issues when parallelized.

Testing
PR was validated by running test/diamond_dqm_test_cfg.py with conditions included in the file.
Memory performance:
This is memory consumption for cmsRun process running whole DQM Online.
image

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35454/25610

  • This PR adds an extra 28KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ChrisMisan (Christopher) for master.

It involves the following packages:

  • DQM/CTPPS (dqm)

@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks.
@fabferro, @jan-kaspar this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@jfernan2
Copy link
Contributor

Is there any reason to not join this PR with #35445 just submitted?
Do they relate each other or does one need the other to run?

@ChrisMisan
Copy link
Contributor Author

Is there any reason to not join this PR with #35445 just submitted? Do they relate each other or does one need the other to run?

Those PRs are independent, there is one common file(ctppsDQM_cff) but changes there are also independent. Thought it'd be cleaner to separate them.

@jfernan2
Copy link
Contributor

OK, but I do understand they do not need each other to run and see results. Thanks

@jfernan2
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-17916c/19207/summary.html
COMMIT: e376503
CMSSW: CMSSW_12_1_X_2021-09-28-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35454/19207/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 28-Sep-2021 19:55:52 CEST-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path 'dqmoffline_step'
   [2] Calling method for module CTPPSDiamondDQMSource/'ctppsDiamondDQMOfflineSource'
Exception Message:
No "LHCInfoRcd" record found in the EventSetup.

 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 28-Sep-2021 19:56:42 CEST-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path 'dqmoffline_step'
   [2] Calling method for module CTPPSDiamondDQMSource/'ctppsDiamondDQMOfflineSource'
Exception Message:
No "LHCInfoRcd" record found in the EventSetup.

 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 28-Sep-2021 20:02:22 CEST-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path 'dqmoffline_step'
   [2] Calling method for module CTPPSDiamondDQMSource/'ctppsDiamondDQMOfflineSource'
Exception Message:
No "LHCInfoRcd" record found in the EventSetup.

 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

@ChrisMisan
Copy link
Contributor Author

This PR was tested with GT 120X_dataRun2_v2, there's possibility relval uses "wrong" GT.

@jfernan2
Copy link
Contributor

This PR is in master (i.e. 12_1_X) so you should make sure a corresponding GT to 120X_dataRun2_v2 exists
@tvami @francescobrivio could you help here?

@francescobrivio
Copy link
Contributor

francescobrivio commented Sep 29, 2021

This PR is in master (i.e. 12_1_X) so you should make sure a corresponding GT to 120X_dataRun2_v2 exists @tvami @francescobrivio could you help here?

@jfernan2 From the log of 1330.0 I see the actual GT used is auto:run2_mc which currently corresponds to 121X_mcRun2_asymptotic_v4 in master (which is missing the LHCInfoRcd tag).
We are reviewing in these days all the tags needed by CTPPS for all the online & offline GTs and we should have some candidates ready in the next ~couple of days. So this PR will have to wait for the new GTs I guess.

EDIT: other workflows use different autoCond GTs so we will have to review all of them I guess...

@vavati
Copy link

vavati commented Sep 29, 2021

This PR can be tested with Run2 data and right GT. PPS data are not in MC, just a reminder


_ctppsDQMOfflineSource = cms.Sequence(
ctppsPixelDQMOfflineSource
+ ctppsDiamondDQMSource
Copy link
Contributor

Choose a reason for hiding this comment

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

@vavati this PR is modifying the _ctppsDQMOfflineSource to include CTPPSDiamondDQMSource.cc which is also modified here so that it requires LHCInfo conditions. So in order to test this PR new GTs will be needed. I don't see how you can test it without modifying the GT (even if you run on run2 data)

Copy link
Contributor

Choose a reason for hiding this comment

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

My point is: if you have a single ctpps dqm sequence and you use it for both MC and Data you will have to provide all the proper tags in all GTs. If you don't care about ctpps in the MC sequence then you should probably split (or customize) the sequence in a different way for data and for MC.

I hope I understood the issue correctly. Maybe @jfernan2 can comment/suggest as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

I totally agree with @francescobrivio
We cannot approve a PR which is not going to run in production....

# pixel
process.load('RecoPPS.Local.ctppsPixelLocalTracks_cfi')

process.load('Geometry.VeryForwardGeometry.geometryRPFromDD_2021_cfi')
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you using the Run 3 geometry read from the XML file? Was there a specific reason for this choice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why are you using the Run 3 geometry read from the XML file? Was there a specific reason for this choice?

Yes, with run3 geometry dqm should produce empty plots for the second station so this is included for validation purposes.

Copy link

Choose a reason for hiding this comment

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

@malbouis
As you know the TAG for a partial Run3 geometry has been released only recently

@malbouis
Copy link
Contributor

This PR was tested with GT 120X_dataRun2_v2, there's possibility relval uses "wrong" GT.

@ChrisMisan, would you please add in the description how you tested this PR?

@cmsbuild
Copy link
Contributor

Pull request #35454 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-17916c/19630/summary.html
COMMIT: aa9b785
CMSSW: CMSSW_12_1_X_2021-10-14-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35454/19630/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-17916c/19630/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-17916c/19630/git-merge-result

Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 26 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2750159
  • DQMHistoTests: Total failures: 53
  • DQMHistoTests: Total nulls: 5
  • DQMHistoTests: Total successes: 2750079
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 317989.136 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 10024.0,... ): 12924.539 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 10024.0,... ): -3151.653 KiB CTPPS/TimingFastSilicon
  • DQMHistoSizes: changed ( 10024.0,... ): 2360.820 KiB CTPPS/DiamondSampic
  • DQMHistoSizes: changed ( 11634.0,... ): 28913.936 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 11634.0,... ): 2441.273 KiB CTPPS/DiamondSampic
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@jfernan2
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

Let wait to retest this on an IB which already contains #35445, likely this night 2300, so that we can disentangle the effects of this PR alone...

@qliphy
Copy link
Contributor

qliphy commented Oct 15, 2021

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-17916c/19648/summary.html
COMMIT: aa9b785
CMSSW: CMSSW_12_1_X_2021-10-14-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35454/19648/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2750425
  • DQMHistoTests: Total failures: 48
  • DQMHistoTests: Total nulls: 4
  • DQMHistoTests: Total successes: 2750351
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 328578.084 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 10024.0,... ): 12924.539 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 11634.0,... ): 28913.936 KiB CTPPS/TimingDiamond
  • Checked 170 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

+1

  • The only changes are in the CTPPS TimingDiamond DQM, as it should

@cmsbuild cmsbuild merged commit fe01eae into cms-sw:master Oct 15, 2021
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.

9 participants