KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVNucleusBox.h
1
3
4#ifndef __KVNUCLEUSBOX_H
5#define __KVNUCLEUSBOX_H
6
7#include "TBox.h"
8#include "KVNucleus.h"
9#include "KVNuclearChart.h"
10#include "TLatex.h"
11
19class KVNucleusBox : public TBox {
20protected:
28
29public:
30 KVNucleusBox(Int_t Z, Int_t N, Double_t size = 0.4, Int_t colStable = kBlack, Int_t colRadio = kGray + 1);
31 KVNucleusBox(KVNucleus* nuc, Double_t size = 0.4, Bool_t owner = kTRUE);
32
34 virtual ~KVNucleusBox();
35 void Copy(TObject&) const;
36
37 void ExecuteEvent(Int_t event, Int_t px, Int_t py);
38 void SetDrawMode(Bool_t DrawSame);
39 void SetNuclearChart(KVNuclearChart* nuclearchart)
40 {
41 fNuclearChart = nuclearchart;
42 }
43 void EnableToolTip();
44
46 {
47 return fShowSymbol;
48 }
49 void SetShowSymbol(Bool_t value = kTRUE); // *TOGGLE*
50 void SetSymbolSize(Float_t size = 0.02)
51 {
53 }
54
55 virtual void Delete(Option_t* option = "")
56 {
58 }
59 virtual void DrawClass() const
60 {
62 }
63 virtual TObject* DrawClone(Option_t* option = "") const
64 {
65 return TBox::DrawClone(option);
66 }
67 virtual void Dump() const
68 {
69 TBox::Dump();
70 }
71
72 virtual void Inspect() const
73 {
75 }
76 virtual void SaveAs(const char* filename = "", Option_t* option = "") const
77 {
79 }
80 virtual void SetDrawOption(Option_t* option = "")
81 {
83 }
84
85 virtual void SetLineAttributes()
86 {
88 }
89 virtual void SetFillAttributes()
90 {
92 }
93 void Paint(Option_t* option = "");
94
95
96 ClassDef(KVNucleusBox, 1) //A TBox representing a nucleus in a KVNuclearChart
97};
98
99#endif
int Int_t
size_t size(const MatrixT &matrix)
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
Used to draw nuclear chart.
A TBox representing a nucleus in a KVNuclearChart.
virtual ~KVNucleusBox()
Destructor.
void SetShowSymbol(Bool_t value=kTRUE)
virtual void Delete(Option_t *option="")
virtual void Dump() const
void SetDrawMode(Bool_t DrawSame)
virtual void SetLineAttributes()
KVNuclearChart * fNuclearChart
void EnableToolTip()
Bool_t fOwnNucleus
Bool_t fShowSymbol
virtual void SetDrawOption(Option_t *option="")
Int_t GetShowSymbol()
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual void SetFillAttributes()
void Copy(TObject &) const
void SetSymbolSize(Float_t size=0.02)
virtual TObject * DrawClone(Option_t *option="") const
virtual void DrawClass() const
void SetNuclearChart(KVNuclearChart *nuclearchart)
KVNucleus * fNucleus
virtual void Inspect() const
void Paint(Option_t *option="")
Bool_t fDrawSame
virtual void SaveAs(const char *filename="", Option_t *option="") const
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
virtual void SetFillAttributes()
virtual void SetLineAttributes()
virtual void SetTextSize(Float_t tsize=1)
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