Developing an end-to-end simulation framework of supernova neutrino detection. (23rd December 2020)