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

Fix setting the # of presamples for HcalUpgradeDataFrame. #5408

Merged
merged 1 commit into from
Sep 19, 2014

Conversation

matz-e
Copy link
Contributor

@matz-e matz-e commented Sep 18, 2014

The constructor HcalUpgradeDataFrame::HcalUpgradeDataFrame(HcalDetId id, int capId, int samples, int presamples) will use an uninitialized (random) value of presamples_ to bit-or the passed presamples parameter. This will yield unexpected values for presamples, which fail an assert in the HCAL trigger primitive chain starting here.

Remove the bit-wise or to have well-behaved data frames.

One of the constructors will use an uninitialized value of the presamples and
modify it with a target presample size.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @matz-e (Matthias Wolf) for CMSSW_6_2_X_SLHC.

Fix setting the # of presamples for HcalUpgradeDataFrame.

It involves the following packages:

DataFormats/HcalDigi

@cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@fratnikov, @mark-grimes you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@mark-grimes
Copy link

merge

cmsbuild added a commit that referenced this pull request Sep 19, 2014
Fix setting the # of presamples for HcalUpgradeDataFrame.
@cmsbuild cmsbuild merged commit 222ce50 into cms-sw:CMSSW_6_2_X_SLHC Sep 19, 2014
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.

3 participants