KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVNuclearChart.h
1
3
4#ifndef __KVNUCLEARCHART_H
5#define __KVNUCLEARCHART_H
6
7#include "KVBase.h"
8#include "TH2.h"
9#include "KVList.h"
10#include "KVNucleus.h"
11#include "TPaveText.h"
12#include "KVCanvas.h"
13#include "KVNumberList.h"
14
15#include <TVirtualPad.h>
16
24class KVNuclearChart : public KVBase {
25
26protected:
31
33
36
39
50
52 {
53 if (fPad) {
54 fPad->Modified();
55 fPad->Update();
56 }
57 }
58
59public:
61 KVNuclearChart(Int_t nMin = 0, Int_t nMax = -1, Int_t zMin = 0, Int_t zMax = -1, Double_t life = 1.e-06);
63 virtual ~KVNuclearChart();
64 void Copy(TObject&) const;
65
66 void Draw(Option_t* option = "");
67 void ShowNucleusInfo(KVNucleus* nuc);
68 void ShowLevelScheme(const char* decays); // *MENU*
70 {
71 fCurrentNuc = nuc;
72 }
73
75 {
76 return fShowSymbol;
77 }
78 void SetShowSymbol(Int_t value = 1); // *TOGGLE*
79 void ShowSymbol();
80 void ShowBoxSymbols(Bool_t on = kTRUE);
81 void SetBoxSymbolSize(Float_t size = 0.02);
82
87 void SetShowMagicNumbers(Int_t value = 1); // *TOGGLE*
88 void ShowMagicNumbers();
89
91 {
92 return fCanvas;
93 }
94
95 virtual void Delete(Option_t* option = "")
96 {
98 }
99 virtual void DrawClass() const
100 {
102 }
103 virtual TObject* DrawClone(Option_t* option = "") const
104 {
106 }
107 virtual void Dump() const
108 {
109 KVBase::Dump();
110 }
111
112 virtual void Inspect() const
113 {
115 }
116 virtual void SaveAs(const char* filename = "", Option_t* option = "") const
117 {
119 }
120 virtual void SetDrawOption(Option_t* option = "")
121 {
123 }
124
125 virtual void SetTitle(const char* title)
126 {
127 KVBase::SetTitle(title);
128 }
129 virtual void SetName(const char* name)
130 {
132 }
133
134
135 ClassDef(KVNuclearChart, 1) //Used to draw nuclear chart
136};
137
138#endif
int Int_t
bool Bool_t
float Float_t
double Double_t
const char Option_t
#define ClassDef(name, id)
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
char name[80]
Base class for KaliVeda framework.
Definition KVBase.h:142
TCanvas with mouse-controlled dynamic zoom and pan & scan.
Definition KVCanvas.h:54
Extended TList class which owns its objects by default.
Definition KVList.h:28
Used to draw nuclear chart.
virtual void Dump() const
virtual ~KVNuclearChart()
virtual void SetTitle(const char *title)
TVirtualPad * fPad
void SetCurrentNuc(KVNucleus *nuc)
virtual void SaveAs(const char *filename="", Option_t *option="") const
void ShowNucleusInfo(KVNucleus *nuc)
TPaveText * fInfo
Int_t GetShowSymbol()
virtual void DrawClass() const
virtual TObject * DrawClone(Option_t *option="") const
Double_t fZmMin[7]
Int_t GetShowMagicNumbers()
virtual void Delete(Option_t *option="")
KVNucleus * fCurrentNuc
KVCanvas * GetCanvas()
void ShowLevelScheme(const char *decays)
Double_t fNmMax[7]
void SetShowMagicNumbers(Int_t value=1)
virtual void Inspect() const
void Copy(TObject &) const
KVCanvas * fCanvas
TPaveText * fSymbol
Double_t fNmMin[7]
KVNucleus * fShownNucleus
virtual void SetDrawOption(Option_t *option="")
void SetBoxSymbolSize(Float_t size=0.02)
void ShowBoxSymbols(Bool_t on=kTRUE)
draw name of isotope in each box
void SetShowSymbol(Int_t value=1)
Double_t fZmMax[7]
virtual void SetName(const char *name)
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
virtual void SetTitle(const char *title="")
virtual void SetName(const char *name)
virtual void Inspect() const
virtual void Dump() const
virtual TObject * DrawClone(Option_t *option="") const
virtual void SaveAs(const char *filename="", Option_t *option="") const
virtual void Delete(Option_t *option="")
virtual void SetDrawOption(Option_t *option="")
virtual void DrawClass() const
virtual void Modified(Bool_t flag=1)=0
virtual void Update()=0