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

L1TGlobalPrescaler: implement arbitrary prescales on top of the existing L1 uGT results #14502

Merged
merged 2 commits into from May 17, 2016

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented May 13, 2016

The new L1T results will contain only the L1 decision for bx 0, as trying to simulate the effect of prescales across multiple bunch crossings is unlikely to give consistent results.

@fwyzard
Copy link
Contributor Author

fwyzard commented May 13, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 13, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12987/console

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_8_0_X.

It involves the following packages:

L1Trigger/L1TGlobal

@cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

-1

Tested at: d7680b2

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14502/12987/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found an error when building:

gmake[1]: Target 'PostBuild' not remade because of errors.
gmake[1]: Leaving directory '/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-12-2300'
config/SCRAM/GMake/Makefile.rules:1935: recipe for target 'src' failed
gmake: **\* [src] Error 2
gmake: Target 'all' not remade because of errors.
gmake: **\* [There are compilation/build errors. Please see the detail log above.] Error 2


@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2016

@davidlange6 the error is not in the module, but is due to edmWriteConfig generating incorrect python for long (> 255 elements) vdouble objects.

How can I fix that ?

Python does not support function calls with more than 255 arguments:

    f(arg1, arg2, ..., arg255, ...)

The workaround is to wrap them in a tuple and expand it in place:

    f(*(arg1, arg2, ..., arg255, ...))

Add a check to `ParameterDescription.cc` so that `edmWriteConfig` can use
the latter syntax when generating `cfi.py` files with large vectors.
@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2016

@Dr15Jones could you review and sign the ParameterDescription.cc fix ?

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 17, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/13013/console

@cmsbuild
Copy link
Contributor

Pull request #14502 was updated. @smuzaffar, @Dr15Jones, @cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please check and sign again.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor

+1
Looks OK to me. Would be even better if one of the test cases was extended to check the new code :).

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2016

Looks OK to me. Would be even better if one of the test cases was extended to check the new code :).

I'll leave that to the framework people... I can confirm that the new code produces the correct python for l1tGlobalPrescaler_cfi.py :-)

@davidlange6 davidlange6 merged commit 7bce34e into cms-sw:CMSSW_8_0_X May 17, 2016
@fwyzard fwyzard deleted the L1TGlobalPrescaler branch May 19, 2016 21:46
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

4 participants