Trying to re-implement this analysis: ROOT: tutorials/dataframe/df103_NanoAODHiggsAnalysis.py File Reference in “classic” ROOT for the peak performance. (@eguiraud told me RDF is slower than it needs to be)
However, one (made-up) requirement is I want to reuse RVec algorithms from the Header otherwise we’re literally back to 2000 era. And here are the problems:
- RVec can adopt
std::vector<T>
, but the branch such asMuon_pt
in this tree is notstd::vector
, instead they areFloat_t[]
andSetBranchAddress
would complain (and seg fault). -
TTreeReaderArray
can’t be adopted by RVec? (and also can’t be used to readVecOps
types?)