Make the magnetic field record for the PixelCPEGeneric configurable

Make the magnetic field record for the PixelCPEGeneric configurable.
No change in the default. So No change in reconstruction.
(Potentially used in HLT for performance improvement)