Energy modulation and flattening filter application in photon beam linear accelerators for brain tumor treatment: the simulated and patient data analysis | Synapse