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
Add support for unpacking HCAL uHTRs (Backport to 73X from PR 7950) #8013
Add support for unpacking HCAL uHTRs (Backport to 73X from PR 7950) #8013
Conversation
We can now just check "m_flavor == 2" directly instead of checking part of the bits to see if it is 2 or 3.
This method works for flavor 2 and 4; all other flavors do not define an OK bool and so it returns 'false'.
After the header, ++ should only move 16 bits (1 row) as that is where the data starts, but after that it should move 32 bits (2 rows) as that is how each data entry is formatted.
…ld be ready to use
The L1RCTs only work with the old segmentation (version 0 for <= 2012), so if the version is anything else, we continue.
We use the tens digit in the depth field from the text file to indicate version. >= 10 is version 1, < 10 is version 0.
Previously it was hardcoded to be 0, which meant the unpacker treated everything as HO. It is now set by HcalHTRData::packHeaderTrailer. Also fix a Channel ID bug in HcalHTRData.cc
These bugs prevented HCAL Trigger Towers from properly being converted to RAW.
Previously processTrig always returned 0 because the "size" variable was set to 0, then not actually used to hold the size of the vector, and finally returned. Now size is properly set to the size of the vector.
A new Pull Request was created by @agude (Alexander Gude) for CMSSW_7_3_X. Backport to 73X from PR 7950 It involves the following packages: CalibFormats/HcalObjects @civanch, @diguida, @cvuosalo, @mdhildreth, @cmsbuild, @nclopezo, @cerminar, @slava77, @mmusich, @mulhearn can you please review it and eventually sign? Thanks. |
please describe effects on physics product outputs/results in data or MC Thank you. On 3/2/15 10:33 AM, Alexander Gude wrote:
Vyacheslav (Slava) Krutelyov |
+1 for #8013 0833598 |
Add support for unpacking HCAL uHTRs (Backport to 73X from PR 7950)
for this one, das is correct the files are not at cern.
|
[it's easy to blame DAS ;) ] Thanks for checking Is it possible to get this file back? On 3/12/15 11:27 AM, David Lange wrote:
Vyacheslav (Slava) Krutelyov |
actually this failing check is essentially useless. I believe the intended check is 50202 instead of 50101. DavidM is in the process of changing it in jenkins.
|
I changed the configuration of the tests in Jenkins to check 50202. |
A backport of #7950 (see also #7972) as requested at the HCAL meeting today.
CC: @jmmans, @abdoulline, @ruckstuhl, @lihux25