Optimization of a novel Cerenkov detector for radiotherapy applications using GEANT4 and FLUKA2011 IEEE Nuclear Science Symposium Conference Record