Production and the quality control for the CMS endcap RPCs