After the mice were killed, the expression of TREX1, IFN-β, PD-L1, and CD8+T cell infiltration in tumor tissue was found in order to investigate the effects of carbon ion or X-ray coupled PD-1 inhibitor on the immune milieu of cancers in vivo. This evidence concerns the gene CD274 and cancer.