Hot-electron magnetophonon resonances in doped and undoped GaAs/(Ga,Al)As quantum wells studied using photoluminescence