-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Change of DigiToRaw code to keep SiStrip Error information during data repacking #12674
Conversation
A new Pull Request was created by @rkunnawa (Raghav Kunnawalkam Elayavalli) for CMSSW_7_5_X. It involves the following packages: EventFilter/SiStripRawToDigi @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
Some elaboration about this PR. This code adds to the DigiToRaw repacking code the ability to copy the header of another rawDataCollector. This is important for Heavy Ion data taking, as nearly all our data stored on disk is run through the repacker. Without this fix we lose the information stored in the header about the error status of the SiStrips, and also are unable to fill some of the SiStrip FED DQM plots. |
fedbuffer.reset(new sistrip::FEDBuffer(rawfedData.data(),rawfedData.size(),true)); | ||
//bufferBase.reset(new sistrip::FEDBufferBase(rawfedData.data(),rawfedData.size())); | ||
} catch (const cms::Exception& e) { | ||
std::cerr << "[sistrip::DigiToRaw::createFedBuffers_]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use LogError or LogWarning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 143 here has "std::cerr"
please change to LogWarning or LogError
@rkunnawa |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Pull request #12674 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@slava77 we do have the logWarning in the code. can you briefly explain what you wanted done? should we remove the
|
Pull request #12674 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@slava77 thanks for pointing that out. im afraid i need to ask you again what you mean by " please provide details how to test with a case where two fedRaw are read". Do you want a config which we tested with the cout statements for a single fed (which you can find it here ~rkunnawa/public.testSiStripFEDMonitor_cfg.py on lxplus)? or im not sure? |
@rkunnawa |
Just want to add that the exact error classification doesn't matter much in practice, we have checked the raw fed buffer and indeed both types could apply. I still want to understand why exactly they get reclassified but this should not prevent the PR to go ahead: it is much better to have this now than delay it any further. |
-1 DAS Error you can see the results of the tests here: |
@cmsbuild please test |
The tests are being triggered in jenkins. |
+1
@rkunnawa @abaty @rkunnawa please use the "Edit" button at the top of the github page for this PR and update the subject to reflect changes made in the packer (for self-documentation) |
@slava77 done! hope we can get this now! we will prepare one for 80X and 76X as requested, with all the changes. |
Change of DigiToRaw code to keep SiStrip Error information during data repacking
Is this also needed for MC production validation purposes? If so we'd need another PR from HLT as #12735 does not contain the new parameters, so would use the default setting from fillDescriptions for them, while I assume you'd need another setting for the added parameters. |
Hi, no need to change anything for MC I think, default settings are fine. MC doesn't know anything about fed errors or buffer header as far as I understand.... |
@Martin-Grunewald not an expert but I believe that we need to ask the parsing of the menu. This is used in only one module. I also agree with Anne Marie, nothing should be affected in MC. |
Hi, OK, I have patched it into ConfDB - code template
Thus, migrate the online menu you have in ConfDBv2, modified since provided by STORM, |
Fix for SiStripErrors in HI repacking (porting PR #12674)
This PR fixes the bug which caused empty histograms for SiStrip FED Errors in the DQM. This is prepared for the HIN data taking period after we saw the aforementioned issues.
thanks!
@abaty @icali