HttEventProvider: adapted code to batch optimisations in Artus