Open aminnj opened 3 years ago
Indeed. The last response to this thread (from 11 years ago!) says that TTreePerfStats
only works on a single file.
Fixed by https://github.com/cmstas/NanoTools/commit/8206bce62e1d632b5ca833e4e2334098e5ee74f1 but leaving the issue open for now for discoverability
Apparently this line causes segafults when a looper opens up the Nth file (N random but > 1) of a TChain
https://github.com/cmstas/NanoTools/blob/9a391ad815ee71cce063262824ee26fd35c46eba/cpp/ScanChain_ss.C#L70
suggest to remove it to avoid issues where people copy this as a template and run into a super annoying problem. It's not used for anything later in the script.
For reference, a stack trace I got:
I guess
TTreePerfStats
hooks intoTFile::Open
and does bad things