The characterization of scintillator performance at temperatures up to 400 degrees centigrade