Study of HF production in BaBar Resistive Plate Chambers