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

modified the various (ES)producers for express stream and HLT #34295

Merged
merged 7 commits into from
Jul 5, 2021

Conversation

gennai
Copy link
Contributor

@gennai gennai commented Jul 1, 2021

I have modified the Online BS Producers to take the values from the transient record produced in the related ESProducer.
This is intended for HLT and express stream reconstruction for Run3. There is a new parameter that if set to False, it would revert back to Run2 code.

A second PR on a ERA modifier configuration will follow.

PR validation:

I have checked the behavior of the code using the test_scalers.py script modified accordingly

@gennai
Copy link
Contributor Author

gennai commented Jul 1, 2021

@mtosi @mmusich @francescobrivio you may want to check this one

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2021

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34295/23614

  • This PR adds an extra 20KB to repository

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

fallBackToDB = true;
}else{
// translate from BeamSpotObjects to reco::BeamSpot
reco::BeamSpot::Point apoint(spotDB.GetX(), spotDB.GetY(), spotDB.GetZ());
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't also this mode support the frame conversion?
See:

double f = 1.;
if (changeFrame_)
f = -1.;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was unsure about this, if you think it is the proper thing to do I can do that. I did not know what this changeFrame was used for

Copy link
Contributor

Choose a reason for hiding this comment

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

well, if you don't do it, it won't reproduce the previous behaviour, so I think it should be added.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


),
connect = cms.string('oracle://cms_orcon_prod/CMS_CONDITIONS')
Copy link
Contributor

Choose a reason for hiding this comment

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

this in general won't work unless you have the appropriate credentials.
For a test can't you use frontier instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

checking now

@mmusich
Copy link
Contributor

mmusich commented Jul 1, 2021

code-checks

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2021

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34295/23619

  • This PR adds an extra 20KB to repository

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34295/23620

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2021

A new Pull Request was created by @gennai (simone gennai) for master.

It involves the following packages:

RecoVertex/BeamSpotProducer

@perrotta, @malbouis, @yuanchao, @tlampen, @cmsbuild, @slava77, @jpata, @pohsun, @francescobrivio can you please review it and eventually sign? Thanks.
@makortel, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @tocheng, @mmusich, @mtosi, @dgulhan 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

@mmusich
Copy link
Contributor

mmusich commented Jul 1, 2021

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 2, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34295/23655

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 2, 2021

Pull request #34295 was updated. @perrotta, @malbouis, @yuanchao, @tlampen, @cmsbuild, @slava77, @jpata, @pohsun, @francescobrivio, @tvami can you please check and sign again.

@qliphy
Copy link
Contributor

qliphy commented Jul 4, 2021

test parameters:

  • workflow = 138.2

@qliphy
Copy link
Contributor

qliphy commented Jul 4, 2021

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-097fed/16444/summary.html
COMMIT: b1d5e95
CMSSW: CMSSW_12_0_X_2021-07-03-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34295/16444/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-097fed/138.2_RunCosmics2020+RunCosmics2020+RECOCOSDEXPRUN3+ALCACOSDEXPRUN3+HARVESTDCEXPRUN3

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2785924
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2785889
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 37 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@francescobrivio
Copy link
Contributor

+alca

@jpata
Copy link
Contributor

jpata commented Jul 5, 2021

+reconstruction

  • adds a new useTransientRecord option to BeamSpotOnlineProducer for HLT and Run3 express stream, off by default
  • no reco changes, except in the cosmics workflow 138.2, the beamspot type is now 2 (it was -1 previously)

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2021

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

@qliphy
Copy link
Contributor

qliphy commented Jul 5, 2021

+1

@cmsbuild cmsbuild merged commit dbeaf36 into cms-sw:master Jul 5, 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.

6 participants