Comparison of charged particle identification using pulse shape discrimination and ΔE−E methods between front and rear side injection in silicon detectors