A GUI based on CERN ROOT for DWBA calculation using Ptolemy
Go to file
2025-02-13 21:46:55 -05:00
.vscode move python source file to Cleopatra 2024-11-06 16:59:34 -05:00
Armory init 2022-07-13 14:08:02 -04:00
CERN_root rename working to CERN_root 2024-11-07 22:59:13 -05:00
Cleopatra add extracData.py for DWUCK4 2025-02-11 16:05:34 -05:00
dwuck4 add comments to BDWUCK4.FOR 2025-02-13 21:46:55 -05:00
PyGUIQt6 fix y-label for cross section 2025-01-13 14:22:10 -05:00
.gitignore added DWUCK4 source code, no UI implemented for it 2025-01-16 23:18:01 -05:00
DWBA init 2022-07-13 14:08:02 -04:00
ptolemy_manual.pdf added the Ptolemy manual 2022-08-01 10:22:03 -04:00
README.md update READMe.md 2024-11-05 15:11:20 -05:00

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:

  1. DWBA.in, this is the input file for the ptolmey
  2. DWBA.output, this is the output file for the ptolmey
  3. DWBA.Xsec.txt, this is the angular distribution in txt format

the following will be generated by the CERn ROOT version

  1. DWBA.Ex.txt, this is the excitation energy
  2. 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