Error when using TRestBrowser. TRestBrowser inherits from TRestRun

System : MacOs
REST version : v2.2.10

I get this error when launching REST_ViewG4Event(). Probably related to the fact that TRestBrowser inherits from TRestRun. Perhaps would be better that TRestBrowser simply contains fRun as a member of the class instead of inheriting from.

Error in <TBufferFile::ReadClassBuffer>: Could not find the StreamerInfo for version 2 of the class TRestBrowser, object skipp    ed at offset 88
Error in <TBufferFile::CheckByteCount>: object of class TRestBrowser read too few bytes: 2 instead of 1057

It’s OK. I can revise this class. The problem is reported in
http://gifna.unizar.es/rest-forum/?question=trestrunopeninputfile-this-read-not-compatible-with-trestbrowser

It has been fixed. https://pandax.physics.sjtu.edu.cn:8443/pandax-iii/REST_v2/commit/7c728ae6413e7628cef738d9c0e6a0cd62bb372a

1 Like