Advancements in imaging systems including Electronic Portal Imaging Devices (EPIDs) play a great role in radiotherapy treatment. It was developed as a verification tool for patient setup during radiotherapy sessions and also become a promising tool for the determination of the accurate placement of radiation beams. However, as part of quality assurance, individual patient treatments are often verified by patient-specific quality control measurements such as before treatment (pretreatment) or during treatment (in vivo). It has been shown that in vivo dosimetry using an electronic portal imaging device (EPID) is an effective QC tool to detect errors and this method has been clinically applied to various treatments. The introduction of advanced EPID technology has led to an interest in its application for dose conformation and dose deposition. Moreover, dose deposition is subject to uncertainties due to several factors, including the presence of secondary particles. Thus, knowing the physical processes that produced the secondary particles as well as their average kinetic energy will help to provide valuable information about the effective filtering of these particles or the possible use of these particles for other applications. In this study, Monte Carlo simulations are performed to determine the average kinetic energy of detected secondary particles, specifically photons, electrons, and positrons produced by each particular physical interaction as a function of detector position using GATE v9.0. The virtual radiotherapy set-up is composed of the box water phantom, which is the target in the simulations with a dimension of 20 cm × 20 cm × 20 cm, an EPID system (detector), and a beam source in which it uses three (3) beams situated at varying positions with an energy of 6 MeV. The monoenergetic pencil beam source is placed 90 cm away from the center of the target and is directed toward the target (+x-axis) while the EPID (detector) is set as 120 cm SDD (source-to-detector distance). Moreover, the photon beam with 10 million primaries is set with varying field sizes of 1 cm × 1 cm, 3 cm × 3 cm, 6 cm × 6 cm, and 9 cm × 9 cm. Overall, the results show that the highest average kinetic energy among secondary particles produced by each physical interaction are electrons coming from Compton scattering (∼ 3 MeV), followed by positrons and electrons from pair production (∼ 2.4 MeV), photons from annihilation and bremsstrahlung (∼ 0.5 MeV), and electrons from ionization (∼ 0.13 MeV).