X-Ray Detector Signal Simulation