Modeling of a MeV-scale particle detector based on organic liquid scintillator