MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
main_talys_xs.cpp File Reference
#include "BeamEnergies.hpp"
#include "Constants.hpp"
#include "InitUtils.hpp"
#include "Paths.hpp"
#include <TDirectory.h>
#include <TFile.h>
#include <TGraph.h>
#include <TMath.h>
#include <TNamed.h>
#include <TString.h>
#include <TSystem.h>
#include <TSystemDirectory.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for main_talys_xs.cpp:

Go to the source code of this file.

Macros

#define MUSIC_TALYS_BIN   ""
 talys-xs: Hauser-Feshbach cross sections from TALYS for this dataset's reaction, written as ROOT graphs cross-section overlays.
#define MUSIC_TALYS_ATOMKI_V2_DIR   ""

Functions

int main ()

Macro Definition Documentation

◆ MUSIC_TALYS_ATOMKI_V2_DIR

#define MUSIC_TALYS_ATOMKI_V2_DIR   ""

Definition at line 46 of file main_talys_xs.cpp.

◆ MUSIC_TALYS_BIN

#define MUSIC_TALYS_BIN   ""

talys-xs: Hauser-Feshbach cross sections from TALYS for this dataset's reaction, written as ROOT graphs cross-section overlays.

Runs TALYS in normal kinematics (alpha on the beam nucleus as target; the cross section is the same either way) over a grid of centre-of-mass energies spanning the strips the cross section reports and the reference table, once per configured model, and writes every residual-production channel TALYS produced as a TGraph of E_cm [MeV] vs sigma [mb], named by TALYS's own file stem (rp039090 for Z=39, A=90), into one directory per model (m0, m1, ...) of root_files/talys/talys_xs.root, with the model's label and exact input as TNameds. Every input carries the dataset's shared settings (CrossSectionConfig::TALYS_COMMON_KEYWORDS: level density, accuracy, width fluctuations, binning) before the model's own keywords. Which channels make up (a,xn) is the analysis's business, so cross-section sums them itself. Like srim-cache in the simulator, this is the one place the external code is driven; everything downstream only reads the file.

TALYS comes from the talys-nix flake input, whose path the build compiles in; TALYS_BIN in the environment overrides it.

Definition at line 43 of file main_talys_xs.cpp.

Referenced by main().

Function Documentation

◆ main()

int main ( )

Definition at line 221 of file main_talys_xs.cpp.