It seems there are several classes involved (e.g., “TRootLHEFEvent
”, “TRootWeight
”, “TRootLHEFParticle
”, “TSortableObject
”). In order to use them, you need to load dictionaries for these classes (e.g., some shared library).
BTW. You need something like this:
TFile *f = TFile::Open("unweighted_events.root");
TTreeReader treeReader("LHEF", f);