New function for Btagging
New btagging function