Hi all,
I just tried to take a loook at analyzing some data using RDataFrame
again, and hit the following problem:
root [1] auto df = ROOT::RDataFrame("MEs", "dqmio.root");
root [2] *df.Count()
(unsigned long long) 840840
root [3] auto only_CSC = [](TString name){ return name == "CSC/CSCOfflineMonitor/Occupancy/hOStripsAndWiresAndCLCT";};
root [4] auto csc_df = df.Filter(only_CSC, {"name"});
Error in <TRint::HandleTermInput()>: std::runtime_error caught: GetBranchNames: unsupported branch type
This is using ROOT 6.14/08, provided as default on lxplus7. It used to work in ROOT 6.12/07 (provided by CMSSW), using the old names:
root [0] auto df = ROOT::Experimental::TDataFrame("MEs", "dqmio.root");
root [1] *df.Count()
(unsigned long long) 840840
root [2] auto only_CSC = [](TString name){ return name == "CSC/CSCOfflineMonitor/Occupancy/hOStripsAndWiresAndCLCT";};
root [3] auto csc_df = df.Filter(only_CSC, {"name"});
root [4] *csc_df.Count()
(unsigned long long) 13347
One of the branches contains TH2F
objects, is this the problem? The error message is not very helpful…
You can check out the file here:
https://cernbox.cern.ch/index.php/s/CcgXcCJMweaaTck
It would be fun to look at this data using RDataFrame
, given it will need some non-trivial filtering and operations applied to make sense.
Cheers,
Marcel
ROOT Version: 6.14/08
Platform: CC7 (lxplus7)
Compiler: linuxx8664gcc