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
Pipeline #40740 passed with stage
in 6 minutes and 6 seconds
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -36,7 +36,7 @@ protected:
Bool_t moved2D = false;
Bool_t fPPressed;
Bool_t fJPressed;
Bool_t fAgeOfEmpire;
Bool_t fAgeOfEmpireMode;
Bool_t fVenerMode;
Bool_t fHasDisabledClasses;
TString fDisabledClasses;
......@@ -90,29 +90,30 @@ public:
Int_t GetNPads(){return fNPads;}
void SetNPads(Int_t npads) {fNPads = npads;}
void FreezCavans(Bool_t freez)
{
fFreezed = freez;
}
void FreezCavans(Bool_t freez) { fFreezed = freez;}
void ShowShortcutsInfos(); // *MENU*
void SetAgeOfEmpireMode(Int_t value = 1); // *TOGGLE*
void SetVenerMode(Int_t value = 1); // *TOGGLE*
Int_t GetVenerMode()
{
return fVenerMode;
}
Int_t GetVenerMode() { return fVenerMode; }
Int_t GetAgeOfEmpireMode() {return fAgeOfEmpireMode;}
void SetEnabledShortcuts(Int_t value = 1); // *TOGGLE*
Int_t GetEnabledShortcuts()
{
return fEnabledShortcuts;
}
Int_t GetEnabledShortcuts() { return fEnabledShortcuts; }
TH1* FindHisto(TVirtualPad *pad = nullptr);
TGraph* FindGraph();
void SaveHistToAsciiFile();
void CopyObject(TObject *obj);
void CutObject(TObject *obj);
void UndrawObject(TObject *obj);
void Paste(); // *MENU*
protected:
// virtual Bool_t HandleKey(Event_t* /*event*/){return kTRUE;}
......
......@@ -218,6 +218,8 @@ void CXGammaSearch::FindGammaRays(Bool_t Bash)
CXNucleus Nuc(iz,ia);
TString MajName = Nuc.GetSymbol();
MajName.ToUpper();
MajName.Append("NV");
TString FileName = fDataBaseFolder + "/" + ((TString)Nuc.GetSymbol()) + ".ens";
......@@ -764,6 +766,7 @@ LevelScheme *CXGammaSearch::ImportRAWENSDF(const char *NucSymbol)
CXNucleus nuc(NucSymbol);
TString ZMaj = ((TString)nuc.GetSymbol());
ZMaj.ToUpper();
ZMaj.Append("NV");
TString FileName = fDataBaseFolder + "/" + ((TString)nuc.GetSymbol().Data()) + ".ens";
......@@ -874,9 +877,15 @@ TString CXGammaSearch::GetSpinFromLev(NuclearLevel *nuclev)
else
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;
}
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