Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 581225ae authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

Bug correction when plotting arrows for non existing nuclei

parent 632a0393
...@@ -89,6 +89,8 @@ void CXLevelSchemePlayer::CleanArrows() ...@@ -89,6 +89,8 @@ void CXLevelSchemePlayer::CleanArrows()
{ {
gPad = fMainWindow->GetSelectedPad(); gPad = fMainWindow->GetSelectedPad();
if(gPad == nullptr) return;
for(int i=0 ; i<fListOfArrows->GetEntries() ; i++) { for(int i=0 ; i<fListOfArrows->GetEntries() ; i++) {
if(gPad->GetListOfPrimitives()->FindObject(fListOfArrows->At(i))) { if(gPad->GetListOfPrimitives()->FindObject(fListOfArrows->At(i))) {
gPad->GetListOfPrimitives()->Remove(fListOfArrows->At(i)); gPad->GetListOfPrimitives()->Remove(fListOfArrows->At(i));
...@@ -205,6 +207,7 @@ LevelScheme *CXLevelSchemePlayer::DrawArrowsForNuc(TString NucName, TString Data ...@@ -205,6 +207,7 @@ LevelScheme *CXLevelSchemePlayer::DrawArrowsForNuc(TString NucName, TString Data
LevelScheme *RefLevel = nullptr; LevelScheme *RefLevel = nullptr;
CXNucleus nuc(NucName); CXNucleus nuc(NucName);
if(nuc.IsKnown() == false) return nullptr;
///ENSDF data ///ENSDF data
if(fGuiLSPlayer->GetDataType()==1 || fGuiLSPlayer->GetDataType()==3) { if(fGuiLSPlayer->GetDataType()==1 || fGuiLSPlayer->GetDataType()==3) {
......
...@@ -593,7 +593,7 @@ double CXRadReader::EffFuncFormula(double *x, double *p) ...@@ -593,7 +593,7 @@ double CXRadReader::EffFuncFormula(double *x, double *p)
double EG = x[0]; double EG = x[0];
double eff=0; double eff=0;
// Paramters from Radware's web site: // Paramters from Radware's web site: https://radware.phy.ornl.gov/gf3/#5.3.
// A=7.04 B=0.7 C=0. // A=7.04 B=0.7 C=0.
// D=5.273 E=-0.863 F=0.01 // D=5.273 E=-0.863 F=0.01
// G=11 // G=11
......
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