Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IPNL_GAMMA
gammaware
Commits
581225ae
Commit
581225ae
authored
Sep 18, 2019
by
Jérémie Dudouet
Browse files
Bug correction when plotting arrows for non existing nuclei
parent
632a0393
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/root/gui/cubix/src/CXLevelSchemePlayer.cpp
src/root/gui/cubix/src/CXLevelSchemePlayer.cpp
+3
-0
src/root/gui/cubix/src/CXRadReader.cpp
src/root/gui/cubix/src/CXRadReader.cpp
+1
-1
No files found.
src/root/gui/cubix/src/CXLevelSchemePlayer.cpp
View file @
581225ae
...
...
@@ -89,6 +89,8 @@ void CXLevelSchemePlayer::CleanArrows()
{
gPad
=
fMainWindow
->
GetSelectedPad
();
if
(
gPad
==
nullptr
)
return
;
for
(
int
i
=
0
;
i
<
fListOfArrows
->
GetEntries
()
;
i
++
)
{
if
(
gPad
->
GetListOfPrimitives
()
->
FindObject
(
fListOfArrows
->
At
(
i
)))
{
gPad
->
GetListOfPrimitives
()
->
Remove
(
fListOfArrows
->
At
(
i
));
...
...
@@ -205,6 +207,7 @@ LevelScheme *CXLevelSchemePlayer::DrawArrowsForNuc(TString NucName, TString Data
LevelScheme
*
RefLevel
=
nullptr
;
CXNucleus
nuc
(
NucName
);
if
(
nuc
.
IsKnown
()
==
false
)
return
nullptr
;
///ENSDF data
if
(
fGuiLSPlayer
->
GetDataType
()
==
1
||
fGuiLSPlayer
->
GetDataType
()
==
3
)
{
...
...
src/root/gui/cubix/src/CXRadReader.cpp
View file @
581225ae
...
...
@@ -593,7 +593,7 @@ double CXRadReader::EffFuncFormula(double *x, double *p)
double
EG
=
x
[
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.
// D=5.273 E=-0.863 F=0.01
// G=11
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment