Modify RICH detector assignment so files can be run repeatedly