Reproducer:
#include <TFile.h>
#include <TTreeReader.h>
int main() {
{
TFile f("f16.root", "recreate");
TTree t("t", "t");
float x = 42.f;
t.Branch("x", &x, "x/f");
t.Fill();
f.Write();
}
{
TFile f("f16.root");
TTreeReader r("t", &f);
TTreeReaderValue<Float16_t> rv(r, "x");
r.Next();
}
}
produces
Error in <TTreeReaderValueBase::CreateProxy()>: The branch x contains data of type Float16_t, which does not have a dictionary.