Hi All,
Please find the information provided by Jason for material budget and geometry.
Best,
Daniel
Hi Daniel,
I've created a branch on my repository... star-agustep-material
https://github.com/klendathu2k/star-sw-1/tree/star-agustep-material
But... quicker way to get the code is to just copy it over from my
working area and compile...
$ cp -R /star/simu/simu/jwebb/2023/star-geometry/StRoot/StarGenerator
StRoot/StarGenerator
$ cons +StarGenerator
$ ln -s StRoot/StarGenerator/macros/starsim.stgc.material.C starsim.C
$ root4star -q -b starsim.C
The result should be a "steps.root" file, containing two histograms for
each
volume defined in the geometry, e.g. STGM and STGM_sum.
These contain the number of radiation lengths that a track passing
through the
volume encounters. The _sum histogram adds daughter volumes into the
total as well.
The track_count2 histogram contains the number of tracks which pass
through each eta,phi
bin... which you will need to normalize the histograms.
The macro is setup to smear the vertex with sigma=1mm in each direction,
to soften any
boundaries in the geometry.
Let me know if you have any questions / problems. (I think I have the
units correct
on radiation lengths, but it would be worth confirming against the
particle data book.)
Cheers,
Jason