Applied cut string does not work as expected

I think I spotted the problem.
You define “nMuon” and “nElectron” as “UInt_t” but you use them as variable size arrays’ lengths. I think this is not supported in ROOT (@pcanal even in the newest 6.26?). You must use “Int_t” variables for this purpose.
There are more such “UInt_t” variables which need to be “fixed” (e.g., “nboostedTau”, “nCorrT1METJet” and so on).