# TestEM5 - X-Ray tracking

**URL:** <https://geant4-forum.web.cern.ch/t/testem5-x-ray-tracking/273>\
**Category:** Particles, Track, Event, Run and Biasing\
**Created:** [June 13, 2019, 4:28pm UTC](https://geant4-forum.web.cern.ch/t/testem5-x-ray-tracking/273 "2019-06-13T16:28:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elfutnap](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/elfutnap/32/87_2.png) [@elfutnap](https://geant4-forum.web.cern.ch/u/elfutnap)\
**Post date:** [June 13, 2019, 4:28pm UTC](https://geant4-forum.web.cern.ch/t/testem5-x-ray-tracking/273/1 "2019-06-13T16:28:17Z")

</div>

In order to simulate the source of a transmission X-Ray tube, i modified the geometry of the TestEm5 example as you can see in the image.  
100 keV electrons come from (0,0,0) and as firs t they encounter a 5um tungsten target. Then, the generated X-Ray should travel to/through the second volume, that performs as X-Ray shielding material (the object of my study).  
The problem is that the example gives no informations about the generated X-Ray after the primary event, and I can’t find informations on how implement, for example, how many of them reach the shield and how many travel through it.

 ![Schermata%20del%202019-06-13%2012-34-09](https://geant4-forum.web.cern.ch/uploads/default/original/1X/ea57ad06a8ff9bf73c1aa0f4d7559e6e5f6f2913.png)

---

<div class="post-metadata">

**Author:** ![civanch](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/civanch/32/11_2.png) [@civanch](https://geant4-forum.web.cern.ch/u/civanch)\
**Post date:** [June 20, 2019, 5:03pm UTC](https://geant4-forum.web.cern.ch/t/testem5-x-ray-tracking/273/2 "2019-06-20T17:03:35Z")

</div>

Hello,

the analysis of any extended example is limited to demonstrate few features of simulation. It not necessary includes all possible use-cases. If you change the geometry you may also change histograms of the example by adding extra plot. You may also extend the list of accumulators used o compute mean values and their RMS.

VI
