Adding switch - usage of maximal or total charge for dEdx