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

Work around: allow production of LHERunInfoProduct at begin Run #18499

Merged
merged 1 commit into from Apr 29, 2017

Conversation

Dr15Jones
Copy link
Contributor

Other modules in the schedule require that LHERunInfoProduct be
available in the Run at begin run time even though the data product
is mergeable.
ExternalLHEProducer also puts the product in at both begin and end
run time which is not a behavior expected by the framework and
just happens to work.

Other modules in the schedule require that LHERunInfoProduct be
available in the Run at begin run time even though the data product
is mergeable.
ExternalLHEProducer also puts the product in at both begin and end
run time which is not a behavior expected by the framework and
just happens to work.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

GeneratorInterface/LHEInterface

@cmsbuild, @govoni, @perrozzi, @thuer, @davidlange6 can you please review it and eventually sign? Thanks.
@agrohsje, @mkirsano this is something you requested to watch as well.
@Muzaffar, @davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 27, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19446/console Started: 2017/04/27 20:11

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3097 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1778712
  • DQMHistoTests: Total failures: 30740
  • DQMHistoTests: Total nulls: 19
  • DQMHistoTests: Total successes: 1747780
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@perrozzi
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 requires discussion in the ORP meeting before it's merged. @Muzaffar, @davidlange6, @smuzaffar

@davidlange6 davidlange6 merged commit 178cbb4 into cms-sw:master Apr 29, 2017
@Dr15Jones Dr15Jones deleted the LHERunInfoProductAtBeginRun branch May 4, 2017 16:05
@gpetruc
Copy link
Contributor

gpetruc commented Sep 1, 2017

Hi Chris,

Should this allow also to read the LHERunInfoProduct at any beginRun method in subsequent processes on the file?

I tried today on /store/mc/RunIISummer17MiniAOD/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8/MINIAODSIM/92X_upgrade2017_realistic_v10_ext1-v1/110000/187F7EDA-0986-E711-ABB3-02163E014C21.root and if I do getByToken for it in the globalBeginRunSummary I do still get an exception claiming that the product can be accessed only in the endRun.

This is a big problem since AFAIK this is the product from which one can read the meaning of the LHE weights, and so it's needed before processing the events, not after.

@bendavid @arizzi

@Dr15Jones
Copy link
Contributor Author

The object gets modified each time a new file is openned which contains the same run. Therefore the weights keep changing until the end Run transition happens.

@bendavid
Copy link
Contributor

bendavid commented Sep 1, 2017

That may be true of the cross section information stored in the LHE init block, but it's not true of the header information strings that people mostly need to access.

@bendavid
Copy link
Contributor

bendavid commented Sep 1, 2017

Uh, won't this pull request as is completely break the storage of cross section information in the LHE run product?

@gpetruc
Copy link
Contributor

gpetruc commented Sep 1, 2017

could the more stable header information be put in a product that is readable at begin run?
what are the requirements for a run product to be readable at begin run?

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