I don't think there is much question that some gays entered the Catholic priesthood as cover for their lack of interest in women.  There is plenty of question as to how many of the pedophiles were involved with boys because of access and not their orientation.  Some of the most egregious pedophiles raped girls as well as boys, even though boys were in the majority precisely because they were altar boys and left alone with the priests in question.