Changes needed for NanoAODv12
Here is a list of (known) changes in NanoAODv12 compared to v9 that are causing troubles.
Collections (e.g., nMuons, nJet, etc.) were previously of type UInt_t
; now, they are of type Int_t
. This change is causing issues during the tree decorations. The function get_cppStr(self, defCache=cppNoRedir)
in treeoperations.py
returns rdfhelpers::IndexRange<std::size_t>{nMuon}
, but rdfhelpers::IndexRange<std::size_t>{static_cast<unsigned int>(nMuon)}
is needed.