Study of a Triple GEM detector for the upgrade in the forward region of the CMS Muon System at the LHC