Measurement of the Effective b quark Fragmentation Function At the Z resonance