R3BRoot icon indicating copy to clipboard operation
R3BRoot copied to clipboard

FATAL error in unpacker

Open ManuelXarepe opened this issue 1 year ago • 4 comments

Hello everyone,

I'm "GLAD" to inform you that the changes implemented in the #712 are working as intended. I checked the unpacker that we used for the S522 and S509 experiments and a FATAL exception is thrown due to an error when mapping some items.

The failed mapped items are the ones related to MWPC3/4, and the problem arises from the fact that in our experiment we only use 2 MWPC detectors, but in the ext_...hh file for the mwpc detectors all 4 MWPC are mapped together.

This means that even though we use the setter in the reader class for the mwpc that sets the max number of detectors, mwpcreader->SetMaxNbDet(2); it still throws the FATAL exception.

To Reproduce Steps to reproduce the behavior:

  1. Use most recent R3BRoot version
  2. Did not test with other unpackers but you should see this with any experiment unpacker that uses less than 4 MWPC.

Expected behavior It should just give a FATAL exception and stop the unpacker macro, also a list of what is not mapped should appear before

Logs / Screenshots image

System information (please complete the following information): I was running on GSI machines

ManuelXarepe avatar May 09 '23 17:05 ManuelXarepe