# Printing Excitation functions from libraries

**URL:** <https://geant4-forum.web.cern.ch/t/printing-excitation-functions-from-libraries/5113>\
**Category:** Getting Started\
**Created:** [May 4, 2021, 4:49pm UTC](https://geant4-forum.web.cern.ch/t/printing-excitation-functions-from-libraries/5113 "2021-05-04T16:49:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwaites](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/lwaites/32/3004_2.png) [@lwaites](https://geant4-forum.web.cern.ch/u/lwaites)\
**Post date:** [May 4, 2021, 4:49pm UTC](https://geant4-forum.web.cern.ch/t/printing-excitation-functions-from-libraries/5113/1 "2021-05-04T16:49:26Z")

</div>

Hi All,  
I’m new to Geant4, and I would think this should be simple, but I have not been able to figure out how to complete it.

I am using the QGSP\_BIC\_HP library, and want to be able to pull out and print the excitation functions of certain isotopes for protons and alphas on various target types. In other words, I would like to start by reproducing this plot of protons on Thorium:

 ![Ac_production](https://geant4-forum.web.cern.ch/uploads/default/original/2X/9/962acd54305058961177b46886a3e26e2d9ca0dc.jpeg)

I have been able to print out the inelastic, elastic, and total cross sections by opening the .z files in TENDL, but have not figured out how to print the fraction of the cross section which produces specific isotopes.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![bmorgan](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/bmorgan/32/7_2.png) [@bmorgan](https://geant4-forum.web.cern.ch/u/bmorgan)\
**Post date:** [July 2, 2022, 4:55pm UTC](https://geant4-forum.web.cern.ch/t/printing-excitation-functions-from-libraries/5113/2 "2022-07-02T16:55:00Z")

</div>

Closed on July 2, 2022, 4:55pm UTC


