Simulation of 3D diamond detectors