Commit 994c5144 authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

Update the README to explain how create the ENSDF database

parent 14722389
How to update the database
How to create/update the database
1) dowload the zip files (3 files) from:
1) dowload, in the DataBase/LevelScheme/Downloads folder (create it if not existing), the zip files (3 files) from:
2) execute the ExtractFiles script, giving the files to process in argument
ex: for the data from 01/11/2018
wget -P Downloads/
wget -P Downloads/
wget -P Downloads/
2) execute the ExtractFiles script, giving the files to process in argument:
chmod u+w src/
./ExtractFiles Downloads/ensdf_181101_*.zip
g++ $NAME2 -o $NAME -O6 -g `root-config --cflags` `root-config --cflags --libs` -lProof
......@@ -25,6 +25,7 @@
#include "LevelScheme.h"
#include "BaseLSPlayer.h"
#include "GLSPlayer.h"
#include "TSystemDirectory.h"
#include "CXCanvas.h"
#include "CXMainWindow.h"
......@@ -50,6 +51,15 @@ CXLevelSchemePlayer::CXLevelSchemePlayer(const char* name, const char *title) :
fExpDataDir = Form("%s/DataBase/LevelScheme/EXP_DATA/",getenv("GWSYS"));
fENSDFDataDir = Form("%s/DataBase/LevelScheme/ENSDF/",getenv("GWSYS"));
TSystemDirectory dir(fENSDFDataDir,fENSDFDataDir);
if(dir.GetListOfFiles() == nullptr || (dir.GetListOfFiles() != nullptr && dir.GetListOfFiles()->GetEntries()<=2) ){
TString temp = Form("%s/DataBase/LevelScheme/README",getenv("GWSYS"));
fBashColor->WarningMessage(Form("No ENSDF data found in %s, follow the procedure explained in %s to download the data from the ENSDF web site",fENSDFDataDir.Data(),temp.Data()));
if(gNDManager == nullptr)
gNDManager = new CXNDManager;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment