I try to open an internal CMS MiniAOD file with RDF (both in SWAN and lxplus CLI python) and when I do df.Display()
I get these errors:
TypeError: Template method resolution failed:
none of the 3 overloaded methods succeeded. Full details:
ROOT::RDF::RResultPtr<ROOT::RDF::RDisplay> ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager,void>::Display(initializer_list<string> columnList, int nRows = 5, unsigned long nMaxCollectionElements = 10) =>
TypeError: takes at least 1 arguments (0 given)
ROOT::RDF::RResultPtr<ROOT::RDF::RDisplay> ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager,void>::Display(const vector<string>& columnList, int nRows = 5, unsigned long nMaxCollectionElements = 10) =>
TypeError: takes at least 1 arguments (0 given)
ROOT::RDF::RResultPtr<ROOT::RDF::RDisplay> ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager,void>::Display(basic_string_view<char,char_traits<char> > columnNameRegexp = "", int nRows = 5, unsigned long nMaxCollectionElements = 10) =>
runtime_error: TTree leaf l1tJetBXVector_caloStage2Digis_Jet_RECO.obj.data_.puDonutEt_[4] has both a leaf count and a static length. This is not supported.
ROOT::RDF::RResultPtr<ROOT::RDF::RDisplay> ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager,void>::Display(basic_string_view<char,char_traits<char> > columnNameRegexp = "", int nRows = 5, unsigned long nMaxCollectionElements = 10) =>
runtime_error: TTree leaf l1tJetBXVector_caloStage2Digis_Jet_RECO.obj.data_.puDonutEt_[4] has both a leaf count and a static length. This is not supported.
Followed by this - which also appears if I open the file in the ROOT CLI on lxplus:
Summary
Warning in <TClass::Init>: no dictionary for class edm::BranchDescription is available
Warning in <TClass::Init>: no dictionary for class edm::BranchID is available
Warning in <TClass::Init>: no dictionary for class edm::Hash<1> is available
Warning in <TClass::Init>: no dictionary for class edm::ParameterSetBlob is available
Warning in <TClass::Init>: no dictionary for class edm::ThinnedAssociationsHelper is available
Warning in <TClass::Init>: no dictionary for class edm::EventAuxiliary is available
What could be the reason that RDF throws an error where simple ROOT does not? When I do Events->Print()
in the ROOT CLI I see all branches without errors.
Funnily, this branch l1tJetBXVector_caloStage2Digis_Jet_RECO.obj.data_.puDonutEt_[4]
can be read out using uproot
without problems
ROOT Version: 6.24/06
Platform: lxplus/SWAN
Compiler: slc7_amd64_gcc10