Call UseOpticalMaterials() and DefineOpticalProperties() in each detector until the right way is determined