How to modify accelerator

I am new user in Geant4 application.
Now I want to modify accelerator with medical linac example like getting rid of jaws and flattening filter.
Do I have to erase the corresponding lines in the
Is there any easy way to do with OpenGL platform?

Thanks in advance!