Don't call the xAOD::JetTrigContainer::btagging() function because it throws a lot of errors. This will just generate empty histograms in those cases.