The type of tumor is determined by a pathologist. The pathologist uses a microscope to examine a sample of the tumor obtained at the time of surgery.