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

L1TGlobalProducer: fix prescale index counting #17496

Merged

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Feb 13, 2017

The L1 prescale index should consistently count from 0 - this is the convention used by the L1 uGT, the monitoring code (e.g. WBM), etc.

The previous version of the code was internally inconsistent: the value m_prescaleSet-1 was being used to determine the prescales, but the value m_prescaleSet was set in the uGT payload.

@cmsbuild cmsbuild added this to the Next CMSSW_9_0_X milestone Feb 13, 2017
The L1 prescale index should consistently count from 0 - this is the
convention used by the L1 uGT, the monitoring code (e.g. WBM), etc.

The previous version of the code was internally inconsistent: the value
`m_prescaleSet-1` was being used to determine the prescales, but the
value `m_prescaleSet` was set in the uGT payload.
@cmsbuild
Copy link
Contributor

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

It involves the following packages:

L1Trigger/L1TGlobal

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

cms-bot commands are listed here #13028

@fwyzard fwyzard force-pushed the L1TGlobalProducer_fix_prescale_index branch from 55d8992 to 1e6bdfd Compare February 13, 2017 11:11
@fwyzard
Copy link
Contributor Author

fwyzard commented Feb 13, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 13, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17759/console Started: 2017/02/13 12:13

@fwyzard
Copy link
Contributor Author

fwyzard commented Feb 13, 2017

@rekovic , can you backport this to CMSSW 8.0.x ?
People are still using that release cycle for trigger studies based on 2016 data.

@fwyzard
Copy link
Contributor Author

fwyzard commented Feb 13, 2017

Also, the code in L1TGlobalProducer::produce() that deal with prescales and masks needs to run only when the underlying EventSetup payload changes - not on every event.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@rekovic
Copy link
Contributor

rekovic commented Feb 14, 2017

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit eeccab0 into cms-sw:CMSSW_9_0_X Feb 14, 2017
@fwyzard fwyzard deleted the L1TGlobalProducer_fix_prescale_index branch March 1, 2017 02:36
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