27 if ((fNmax < 0) || (fZmax < 0)) {
37 fShowMagicNumbers =
kTRUE;
40 fSymbol =
new TPaveText(0.65, 0.16, 0.75, 0.01,
"NDC");
41 fSymbol->SetBorderSize(1);
42 fInfo =
new TPaveText(0.76, 0.16, 0.99, 0.01,
"NDC");
43 fInfo->SetTextAlign(12);
44 fInfo->SetFillColor(
kWhite);
45 fInfo->SetLineColor(
kBlack);
46 fInfo->SetTextColor(
kBlack);
47 fInfo->SetBorderSize(1);
50 for (
int zz = fZmin; zz <= fZmax; zz++) {
57 if ((nn >= fNmin) && (nn <= fNmax)) {
61 fNucleusBoxList.Add(nb);
187 if (DrawSame &&
gPad) {
191 while ((obj = next())) {
220 if (
gPad->GetCanvas()->InheritsFrom(
"KVCanvas")) {
222 cc->DisableClass(
"TLine");
223 cc->DisableClass(
"KVNucleusBox");
224 cc->DisableClass(
"TLatex");
347 while ((obj = it())) obj->
Draw();
401 for (
int i = 0; i < 7; i++) {
418 for (
int i = 0; i < 7; i++) {
KVIonRangeTableMaterial * M
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
size_t size(const MatrixT &matrix)
char * Form(const char *fmt,...)
R__EXTERN TStyle * gStyle
Base class for KaliVeda framework.
virtual void Copy(TObject &) const
Make a copy of this object.
TCanvas with mouse-controlled dynamic zoom and pan & scan.
Tool to simulate nucleus multi-particle decay.
void DrawThreshold(const char *symb, Option_t *option="", double ex=0.)
void Draw(Option_t *option="")
Used to draw nuclear chart.
virtual ~KVNuclearChart()
void ShowNucleusInfo(KVNucleus *nuc)
void ShowLevelScheme(const char *decays)
void SetShowMagicNumbers(Int_t value=1)
void Copy(TObject &) const
KVNucleus * fShownNucleus
void SetBoxSymbolSize(Float_t size=0.02)
KVNuclearChart(Int_t nMin=0, Int_t nMax=-1, Int_t zMin=0, Int_t zMax=-1, Double_t life=1.e-06)
KVNuclearChart();.
void ShowBoxSymbols(Bool_t on=kTRUE)
draw name of isotope in each box
void SetShowSymbol(Int_t value=1)
void Draw(Option_t *option="")
A TBox representing a nucleus in a KVNuclearChart.
void SetNuclearChart(KVNuclearChart *nuclearchart)
Description of properties and kinematics of atomic nuclei.
const Char_t * GetSymbol(Option_t *opt="") const
void SetZ(Int_t z, Char_t mt=-1)
KVNumberList GetKnownARange(Int_t z=-1, Double_t tmin=0) const
Int_t GetN() const
Return the number of neutron.
void SetZandA(Int_t z, Int_t a)
Set atomic number and mass number.
Bool_t IsStable(Double_t min_lifetime=1.0e+15) const
Int_t GetZ() const
Return the number of proton / atomic number.
Double_t GetLifeTime(Int_t z=-1, Int_t a=-1) const
Strings used to represent a set of ranges of values.
Int_t First() const
Returns smallest number included in list.
virtual void AddLast(TObject *obj)
virtual TObject * Last() const
virtual void Clear(Option_t *option="")
virtual void Execute(const char *method, const char *params, Int_t *error=0)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void Begin(TString delim) const
KVString Next(Bool_t strip_whitespace=kFALSE) const
virtual void SetNdivisions(Int_t n1, Int_t n2, Int_t n3, Bool_t optim=kTRUE)
virtual void SetFillColor(Color_t fcolor)
virtual void SetLineColor(Color_t lcolor)
virtual void SetBottomMargin(Float_t bottommargin)
virtual void SetLeftMargin(Float_t leftmargin)
virtual void SetRightMargin(Float_t rightmargin)
virtual void SetTopMargin(Float_t topmargin)
virtual void SetTextAlign(Short_t align=11)
virtual void SetTextColor(Color_t tcolor=1)
virtual void SetTextFont(Font_t tfont=62)
virtual void SetTextSize(Float_t tsize=1)
virtual Int_t FindBin(const char *label)
virtual void Draw(Option_t *option="")
virtual Double_t Integral(Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Option_t *option="") const
TObject * Remove(const TObjLinkPtr_t &lnk)
virtual Bool_t InheritsFrom(const char *classname) const
virtual void Draw(Option_t *option="")
virtual void Draw(Option_t *option="")
virtual TText * AddText(const char *label)
virtual void Clear(Option_t *option="")
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TString & ReplaceAll(const char *s1, const char *s2)
void SetOptStat(Int_t stat=1)
virtual void SetX(Double_t x)
virtual TList * GetListOfPrimitives() const=0
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
const long double cc
volumes
Double_t Min(Double_t a, Double_t b)
Double_t Max(Double_t a, Double_t b)