Bug related to setting integer observables identified

REST version : v2.2.13_dev

I have spotted the following problem. If I define my observables manually, it will get/fill a wrong value.

However, if I use observable="all" it will work properly

I believe this is related with the fact that the observables NumbeOfSignals are integers, if I cast them to (Double_t) inside SetObservableValue the problem is solved.

During the test run in TRestThread the added observables will be fixed to the correct type. However previously TRestEventProcess::ReadObservables() is called after test run, which causes the problem. I have fixed this bug.

1 Like