Open PeterGy opened 2 years ago
Was able to reproduce this issue. It is a bug on the HcalRecProducer, fixed with this commit. Should be integrated when issue 40 is fully tested.
@cmantill given your commit above, is this issue fixed and ready to be closed?
It looks like this branch was never integrated. But the reconstruction got split into two different files: https://github.com/LDMX-Software/ldmx-sw/blob/trunk/Hcal/src/Hcal/HcalDoubleEndRecProducer.cxx https://github.com/LDMX-Software/ldmx-sw/blob/trunk/Hcal/src/Hcal/HcalSingleEndRecProducer.cxx
and the first file contains this fix. I am not sure if this needs to be propagated to HcalRecProducer.
Describe the bug During reconstruction, each pair of bars is assigned the same ID, one of them being correct and the other wrong.
To Reproduce Steps to reproduce the behavior:
Desired behavior Bars recieving their correct IDs.
Screenshots One image shows the mapping of hits. Here is a full list of the present reco and digi IDs in an event. The true or false refers to whether the recoID translated from the digiID is in the event or not. Debug.txt As produced by the code snippet
Environment:
ldmx use dev iss41-boost-python
and theiss1048-detectorID-bindings
branchAdditional context Clearly ldmx-sw correctly converts digiIDs to recoIDs in general, but fails to do so somewhere along the testbeam reco. The simulation reco works as intended.