Added slicing options to ROOT data loader.