.vscode | ||
Armory | ||
CERN_root | ||
Cleopatra | ||
PyGUIQt6 | ||
.gitignore | ||
DWBA | ||
ptolemy_manual.pdf | ||
README.md |
Info
This is a wrapper for Ptolemy DWBA calcalation using GUI from CERN ROOT.
The Ptolemy reference is M. H. Macfarlane and S. C. Pieper, ANL-76-11 Rev. 1, Argonne National Laboratory, 1978.
The core program (ptolemy) only works in Linux. For Mac OS, a docker container is avalible. See the Cleopatra/install_ptolemy_mac.txt
Two versions
CERN ROOT
in the working directory, run
./PtolemyGUI
Actually the program can run anywhere. It will copy the DWBA file to the present directory.
Python
in the PyGUIQt6 directory, run
./PtolemyGUIPy.py
This program does not work on any where
output:
- DWBA.in, this is the input file for the ptolmey
- DWBA.output, this is the output file for the ptolmey
- DWBA.Xsec.txt, this is the angular distribution in txt format
the following will be generated by the CERn ROOT version
- DWBA.Ex.txt, this is the excitation energy
- DWBA.root, this is a root file contains the DWBA angular distribution in TGraph
program structure
It reads the DWBA file, creates the DWBA.in with the InfileCreator.h, run the ptolemy, read the DWBA.out with the ExtractXsec.h, save the result in DWBA.Ex.txt and DWBA.root, and then use the PlotTGraphTObjArray.h to plot in root.
The optical potentials are stored in the Cleopatra/potentials.h