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
ZDC unpacker update URGENT #12544
ZDC unpacker update URGENT #12544
Conversation
A new Pull Request was created by @BetterWang (Quan Wang) for CMSSW_7_5_X. It involves the following packages: EventFilter/CastorRawToDigi @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
Hi, @davidlange6 @slava77 @Degano @smuzaffar , can anyone of you trigger the test? |
@BetterWang please describe the impact of the changes, including why the old one doesn't work and also provide some information showing that this update fixes particular ptoblems. The last iteration was told to be well debugged and now we get a 500 lines worth of bugfixes. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Dear @slava77 , the last update was done based on the old FED format from 2011 PbPb run, which has been updated since then. |
@@ -21,7 +21,7 @@ using namespace std; | |||
CastorRawToDigi::CastorRawToDigi(edm::ParameterSet const& conf): | |||
dataTag_(conf.getParameter<edm::InputTag>("InputLabel")), | |||
unpacker_(conf.getParameter<int>("CastorFirstFED"),conf.getParameter<int>("firstSample"),conf.getParameter<int>("lastSample")), | |||
zdcunpacker_(conf.getParameter<int>("ZDCFirstFED"),conf.getParameter<int>("firstSample"),conf.getParameter<int>("lastSample")), | |||
zdcunpacker_(conf.getParameter<int>("CastorFirstFED"),conf.getParameter<int>("firstSample"),conf.getParameter<int>("lastSample")), |
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.
Is this correct?
it looks like the variable is actually not used (but if it would be used, it seems like the parameter would be wrong)
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.
It is used as sourceIdOffset_:
https://github.com/BetterWang/cmssw/blob/ZDCunpacker_update/EventFilter/CastorRawToDigi/src/ZdcUnpacker.cc#L84
This is because the FED index is with respect to the first FED number.
In this case, the actual ZDC FED is 693. When referred in the ElectronicId, the uccid=693-690=3, where 690 is the FED number of the first Castor FED.
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.
is it really used?
I don't see it anywhere in https://github.com/cms-sw/cmssw/blob/CMSSW_7_5_7/EventFilter/CastorRawToDigi/src/ZdcUnpacker.cc
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.
It is the first argument in the ZdcUnpacker ctor.
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.
yes, I know that, but the data member set by this argument is not used anywhere in ZdcUnpacker.cc
Hi all, you can find the slides at |
Pull request #12544 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Pull request #12544 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@@ -10,8 +10,7 @@ | |||
|
|||
RecoHiEvtPlaneAOD = cms.PSet( | |||
outputCommands = cms.untracked.vstring('keep recoEvtPlanes_hiEvtPlane_*_*', | |||
'keep ZDCRecHitsSorted_zdcreco_*_*', |
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.
why did you drop the hits?
the keep statement should be here (despite the fact that currently these hits don't make much sense for run2 data/data unpacked into castorDigis)
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.
Ok, putting it back.
Pull request #12544 was updated. @cmsbuild, @cvuosalo, @davidlange6, @slava77 can you please check and sign again. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
-1 you can see the results of the tests here: |
@smuzaffar @Degano |
…75fd713-fixHIAOD ZDC unpacker update (as #12544 but also keep old zdc digis in HI AOD)
@slava77, I will update cms-bot to also take account the latest commit hash |
[+] update working on compact FEDs readout