Printing Out Neutrino Rates and Cross Sections

  It is possible to print out neutrino-nucleus interaction cross sections and rates from the previously downloaded data. To do so, change into the projects/nucnet-tools-code/examples/neutrino/ directory and compile the codes there:

cd ~/projects/nucnet-tools-code/examples/neutrino/  
 
make all_neutrino  

To print out all of the neutrino-nucleus interaction cross sections from the downloaded data for a neutrino temperature of 8 MeV, type

./print_neutrino_cross_sections ../../data_pub/nu.xml 8.

To select out particular reactions, use an XPath expression. For example, try

./print_neutrino_cross_sections ../../data_pub/nu.xml 8.  "[reactant = 'o16' and (product = 'n' or product = 'h1')]"

One may also print out neutrino-nucleus interaction rates using neutrino luminosity and temperature data in the zone_nu.xml file. For example, to print out the interaction rates at a radius of 108 cm for ντ + 16O, type

./print_neutrino_rates ../../data_pub/nu.xml ../../data_pub/zone_nu_include.xml 1.e8 "[reactant = 'o16' and reactant = 'neutrino_tau']"