-
Notifications
You must be signed in to change notification settings - Fork 7
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
Label for raw::RDStatus #24
Comments
I am looking in to this now. |
Ar you saying that for CRP2+ data, we should construct the art::InputTag with only one argument or leave the first blank, or...? Or do we need help from the artists? |
Is the DataPrepModule_module.cc supposed to also work for all other detectors? |
The module was written before we had CRPs. I would like to merge to two modules we have now and make them work for all cases including #20 and more. Whatever hack we make here to make this work for the coldbox should be a step in that direction. There are two labels: producer and name with config param for each: DigitProducer and DigitName. These are used to retrieve both RawDigit and RDStatus. I understand that for CRP:
Is this correct? Assuming yes, I would make these changes:
Is this what we want to do? |
Hi @dladams , the proposal sounds good to me. |
Looking more carefully at the code, I see that instead of DigitProducer and DigitName, the old module has a parameter DigitLabel which is interpreted as producer:name if a colon is present or producer with name blank if there is no colon. The new version adds StatusLabel with the same convention plus the special values:
The default value for StatusLabel is the last. Also, I see the existing code always uses itag2(producer, name) to open the digit container with name blank if the configuration does not provide it (no colon in label). I do the same for the RDStatus in the new code. |
I have pushed the above changes to the develop branch of dunedataprep. I assume we already have build tests that will notice if the changes break the processing of protoDUNE and other existing config. Please let me know if there are any problems there. Adding StatusLabel: "daq" to the present configuration should allow you to process the CRP2+ data. Again please let me know if there are problems there. I did run the suite of component tests and the fcl test: duneproc> duneTestFcl iceberg3_decode_reco.fcl is ok iceberg4a_decode_reco.fcl is ok iceberg4b_decode_reco.fcl is ok iceberg5_decode_reco.fcl is ok standard_reco_dune10kt_nu_1x2x6.fcl is ok vdcoldbox_raw_dataprep.fcl is ok vdcoldbox_raw_tdedataprep.fcl is ok hdcoldbox_raw_dataprep.fcl is ok protodune_dqm.fcl is ok protodune_dqm2.fcl is ok iceberg3_dqm1.fcl is ok iceberg4_dqm1.fcl is ok iceberg5cond_dqm1.fcl is ok crp2cb_data_jul2022_reco.fcl is ok crp3cb_data_oct2022_reco.fcl is ok All 15 fcl files processed successfully. All tests pass. Should we now be using a different fcl for the crp tests? Please LMK or close this report if it appears all is OK. |
Thank you! This works for CRP tests now. I have updated the configuration in dunesw. |
Hi @dladams , in the DataPrepModule_module.cc, the
raw::RDStatus
is retrieved with a label "m_DigitProducer:m_DigitName".However, for VD coldbox CRP2 & CRP3, the correct label is only "m_DigitName" ("daq").
Could you update it with an alternative label? Such as a configurable parameter?
The text was updated successfully, but these errors were encountered: