Commit 9662d0eb authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

Add the Nuclear Chart

Add the possibility to play with ensdf datasets
parent 90763052
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -36,7 +36,7 @@ protected: ...@@ -36,7 +36,7 @@ protected:
Bool_t moved2D = false; Bool_t moved2D = false;
Bool_t fPPressed; Bool_t fPPressed;
Bool_t fJPressed; Bool_t fJPressed;
Bool_t fAgeOfEmpire; Bool_t fAgeOfEmpireMode;
Bool_t fVenerMode; Bool_t fVenerMode;
Bool_t fHasDisabledClasses; Bool_t fHasDisabledClasses;
TString fDisabledClasses; TString fDisabledClasses;
...@@ -90,29 +90,30 @@ public: ...@@ -90,29 +90,30 @@ public:
Int_t GetNPads(){return fNPads;} Int_t GetNPads(){return fNPads;}
void SetNPads(Int_t npads) {fNPads = npads;} void SetNPads(Int_t npads) {fNPads = npads;}
void FreezCavans(Bool_t freez) void FreezCavans(Bool_t freez) { fFreezed = freez;}
{
fFreezed = freez;
}
void ShowShortcutsInfos(); // *MENU* void ShowShortcutsInfos(); // *MENU*
void SetAgeOfEmpireMode(Int_t value = 1); // *TOGGLE*
void SetVenerMode(Int_t value = 1); // *TOGGLE* void SetVenerMode(Int_t value = 1); // *TOGGLE*
Int_t GetVenerMode()
{ Int_t GetVenerMode() { return fVenerMode; }
return fVenerMode;
} Int_t GetAgeOfEmpireMode() {return fAgeOfEmpireMode;}
void SetEnabledShortcuts(Int_t value = 1); // *TOGGLE* void SetEnabledShortcuts(Int_t value = 1); // *TOGGLE*
Int_t GetEnabledShortcuts() Int_t GetEnabledShortcuts() { return fEnabledShortcuts; }
{
return fEnabledShortcuts;
}
TH1* FindHisto(TVirtualPad *pad = nullptr); TH1* FindHisto(TVirtualPad *pad = nullptr);
TGraph* FindGraph(); TGraph* FindGraph();
void SaveHistToAsciiFile(); void SaveHistToAsciiFile();
void CopyObject(TObject *obj);
void CutObject(TObject *obj);
void UndrawObject(TObject *obj);
void Paste(); // *MENU*
protected: protected:
// virtual Bool_t HandleKey(Event_t* /*event*/){return kTRUE;} // virtual Bool_t HandleKey(Event_t* /*event*/){return kTRUE;}
......
...@@ -218,6 +218,8 @@ void CXGammaSearch::FindGammaRays(Bool_t Bash) ...@@ -218,6 +218,8 @@ void CXGammaSearch::FindGammaRays(Bool_t Bash)
CXNucleus Nuc(iz,ia); CXNucleus Nuc(iz,ia);
TString MajName = Nuc.GetSymbol(); TString MajName = Nuc.GetSymbol();
MajName.ToUpper(); MajName.ToUpper();
MajName.Append("NV");
TString FileName = fDataBaseFolder + "/" + ((TString)Nuc.GetSymbol()) + ".ens"; TString FileName = fDataBaseFolder + "/" + ((TString)Nuc.GetSymbol()) + ".ens";
...@@ -764,6 +766,7 @@ LevelScheme *CXGammaSearch::ImportRAWENSDF(const char *NucSymbol) ...@@ -764,6 +766,7 @@ LevelScheme *CXGammaSearch::ImportRAWENSDF(const char *NucSymbol)
CXNucleus nuc(NucSymbol); CXNucleus nuc(NucSymbol);
TString ZMaj = ((TString)nuc.GetSymbol()); TString ZMaj = ((TString)nuc.GetSymbol());
ZMaj.ToUpper(); ZMaj.ToUpper();
ZMaj.Append("NV");
TString FileName = fDataBaseFolder + "/" + ((TString)nuc.GetSymbol().Data()) + ".ens"; TString FileName = fDataBaseFolder + "/" + ((TString)nuc.GetSymbol().Data()) + ".ens";
...@@ -874,9 +877,15 @@ TString CXGammaSearch::GetSpinFromLev(NuclearLevel *nuclev) ...@@ -874,9 +877,15 @@ TString CXGammaSearch::GetSpinFromLev(NuclearLevel *nuclev)
else else
Lev = Form("%d%s",SL.Atoi(),PL.Data()); Lev = Form("%d%s",SL.Atoi(),PL.Data());
if(nuclev->GetSpin().IsData(InfoData::kUnknown))
Lev="?";
else if(nuclev->GetSpin().IsData(InfoData::kTentative))
Lev.Append(")").Prepend("(");
return Lev; return Lev;
} }
ClassImp(CXGammaSearch); ClassImp(CXGammaSearch);
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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