KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVNucleusBox Class Reference

Detailed Description

A TBox representing a nucleus in a KVNuclearChart.

Created by KVClassFactory on Sat Nov 24 11:07:04 2012 Author: gruyer,,,

Definition at line 19 of file KVNucleusBox.h.

#include <KVNucleusBox.h>

Inheritance diagram for KVNucleusBox:

Public Member Functions

 KVNucleusBox (const KVNucleusBox &)
 
 KVNucleusBox (Int_t Z, Int_t N, Double_t size=0.4, Int_t colStable=kBlack, Int_t colRadio=kGray+1)
 Constructor with Z,N of a Nucleus.
 
 KVNucleusBox (KVNucleus *nuc, Double_t size=0.4, Bool_t owner=kTRUE)
 Constructor with Z,N of a Nucleus.
 
virtual ~KVNucleusBox ()
 Destructor.
 
void Copy (TObject &) const
 
virtual void Delete (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
void EnableToolTip ()
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
Int_t GetShowSymbol ()
 
virtual void Inspect () const
 
void Paint (Option_t *option="")
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
void SetDrawMode (Bool_t DrawSame)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetFillAttributes ()
 
virtual void SetLineAttributes ()
 
void SetNuclearChart (KVNuclearChart *nuclearchart)
 
void SetShowSymbol (Bool_t value=kTRUE)
 
void SetSymbolSize (Float_t size=0.02)
 
- Public Member Functions inherited from TBox
 TBox ()
 
 TBox (const TBox &box)
 
 TBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
 ~TBox () override
 
void Copy (TObject &box) const override
 
Int_t DistancetoPrimitive (Int_t px, Int_t py) override
 
void Draw (Option_t *option="") override
 
virtual TBoxDrawBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
Rectangle_t GetBBox () override
 
TPoint GetBBoxCenter () override
 
Double_t GetX1 () const
 
Double_t GetX2 () const
 
Double_t GetY1 () const
 
Double_t GetY2 () const
 
virtual void HideToolTip (Int_t event)
 
TClassIsA () const override
 
Bool_t IsBeingResized () const
 
virtual Int_t IsInside (Double_t x, Double_t y) const
 
void ls (Option_t *option="") const override
 
TBoxoperator= (const TBox &)
 
void Paint (Option_t *option="") override
 
virtual void PaintBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="")
 
void Print (Option_t *option="") const override
 
void SavePrimitive (std::ostream &out, Option_t *option="") override
 
void SetBBoxCenter (const TPoint &p) override
 
void SetBBoxCenterX (const Int_t x) override
 
void SetBBoxCenterY (const Int_t y) override
 
void SetBBoxX1 (const Int_t x) override
 
void SetBBoxX2 (const Int_t x) override
 
void SetBBoxY1 (const Int_t y) override
 
void SetBBoxY2 (const Int_t y) override
 
virtual void SetToolTipText (const char *text, Long_t delayms=1000)
 
virtual void SetX1 (Double_t x1)
 
virtual void SetX2 (Double_t x2)
 
virtual void SetY1 (Double_t y1)
 
virtual void SetY2 (Double_t y2)
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *vp)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, void *vp)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 
virtual ~TAttLine ()
 
void Copy (TAttLine &attline) const
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 
virtual Color_t GetLineColor () const
 
virtual Style_t GetLineStyle () const
 
virtual Width_t GetLineWidth () const
 
virtual void Modify ()
 
virtual void ResetAttLine (Option_t *option="")
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 
virtual void SetLineColor (Color_t lcolor)
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 
virtual void SetLineStyle (Style_t lstyle)
 
virtual void SetLineWidth (Width_t lwidth)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAttFill
 TAttFill ()
 
 TAttFill (Color_t fcolor, Style_t fstyle)
 
virtual ~TAttFill ()
 
void Copy (TAttFill &attfill) const
 
virtual Color_t GetFillColor () const
 
virtual Style_t GetFillStyle () const
 
virtual Bool_t IsTransparent () const
 
virtual void Modify ()
 
virtual void ResetAttFill (Option_t *option="")
 
virtual void SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
 
virtual void SetFillColor (Color_t fcolor)
 
virtual void SetFillColorAlpha (Color_t fcolor, Float_t falpha)
 
virtual void SetFillStyle (Style_t fstyle)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAttBBox2D
virtual ~TAttBBox2D ()
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Attributes

Int_t fA
 
Bool_t fDrawSame
 
Int_t fN
 
KVNuclearChartfNuclearChart
 
KVNucleusfNucleus
 
Bool_t fOwnNucleus
 
Bool_t fShowSymbol
 
TLatex fSymbol
 
Int_t fZ
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TBox
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Static Public Member Functions inherited from TAttLine
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttFill
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttBBox2D
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Public Attributes inherited from TBox
 kCannotMove
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TBox
Bool_t fResizing
 
Double_t fX1
 
Double_t fX2
 
Double_t fY1
 
Double_t fY2
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 
Style_t fLineStyle
 
Width_t fLineWidth
 
- Protected Attributes inherited from TAttFill
Color_t fFillColor
 
Style_t fFillStyle
 

Constructor & Destructor Documentation

◆ KVNucleusBox() [1/3]

KVNucleusBox::KVNucleusBox ( Int_t  Z,
Int_t  N,
Double_t  size = 0.4,
Int_t  colStable = kBlack,
Int_t  colRadio = kGray + 1 
)

Constructor with Z,N of a Nucleus.

Definition at line 19 of file KVNucleusBox.cpp.

◆ KVNucleusBox() [2/3]

KVNucleusBox::KVNucleusBox ( KVNucleus nuc,
Double_t  size = 0.4,
Bool_t  owner = kTRUE 
)

Constructor with Z,N of a Nucleus.

Definition at line 69 of file KVNucleusBox.cpp.

◆ KVNucleusBox() [3/3]

KVNucleusBox::KVNucleusBox ( const KVNucleusBox obj)

Copy constructor This ctor is used to make a copy of an existing object (for example when a method returns an object), and it is always a good idea to implement it. If your class allocates memory in its constructor(s) then it is ESSENTIAL :-)

Definition at line 124 of file KVNucleusBox.cpp.

◆ ~KVNucleusBox()

KVNucleusBox::~KVNucleusBox ( )
virtual

Destructor.

Definition at line 140 of file KVNucleusBox.cpp.

Member Function Documentation

◆ Copy()

void KVNucleusBox::Copy ( TObject obj) const
virtual

This method copies the current state of 'this' object into 'obj' You should add here any member variables, for example: (supposing a member variable KVNucleusBox::fToto) CastedObj.fToto = fToto; or CastedObj.SetToto( GetToto() );

Reimplemented from TObject.

Definition at line 157 of file KVNucleusBox.cpp.

◆ Delete()

virtual void KVNucleusBox::Delete ( Option_t option = "")
inlinevirtual

Reimplemented from TObject.

Definition at line 55 of file KVNucleusBox.h.

◆ DrawClass()

virtual void KVNucleusBox::DrawClass ( ) const
inlinevirtual

Reimplemented from TObject.

Definition at line 59 of file KVNucleusBox.h.

◆ DrawClone()

virtual TObject * KVNucleusBox::DrawClone ( Option_t option = "") const
inlinevirtual

Reimplemented from TObject.

Definition at line 63 of file KVNucleusBox.h.

◆ Dump()

virtual void KVNucleusBox::Dump ( ) const
inlinevirtual

Reimplemented from TObject.

Definition at line 67 of file KVNucleusBox.h.

◆ EnableToolTip()

void KVNucleusBox::EnableToolTip ( )

Definition at line 57 of file KVNucleusBox.cpp.

◆ ExecuteEvent()

void KVNucleusBox::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
virtual

Reimplemented from TObject.

Definition at line 174 of file KVNucleusBox.cpp.

◆ GetShowSymbol()

Int_t KVNucleusBox::GetShowSymbol ( )
inline

Definition at line 45 of file KVNucleusBox.h.

◆ Inspect()

virtual void KVNucleusBox::Inspect ( ) const
inlinevirtual

Reimplemented from TObject.

Definition at line 72 of file KVNucleusBox.h.

◆ Paint()

void KVNucleusBox::Paint ( Option_t option = "")
virtual

Reimplemented from TObject.

Definition at line 201 of file KVNucleusBox.cpp.

◆ SaveAs()

virtual void KVNucleusBox::SaveAs ( const char *  filename = "",
Option_t option = "" 
) const
inlinevirtual

Reimplemented from TObject.

Definition at line 76 of file KVNucleusBox.h.

◆ SetDrawMode()

void KVNucleusBox::SetDrawMode ( Bool_t  DrawSame)

Definition at line 106 of file KVNucleusBox.cpp.

◆ SetDrawOption()

virtual void KVNucleusBox::SetDrawOption ( Option_t option = "")
inlinevirtual

Reimplemented from TObject.

Definition at line 80 of file KVNucleusBox.h.

◆ SetFillAttributes()

virtual void KVNucleusBox::SetFillAttributes ( )
inlinevirtual

Reimplemented from TAttFill.

Definition at line 89 of file KVNucleusBox.h.

◆ SetLineAttributes()

virtual void KVNucleusBox::SetLineAttributes ( )
inlinevirtual

Reimplemented from TAttLine.

Definition at line 85 of file KVNucleusBox.h.

◆ SetNuclearChart()

void KVNucleusBox::SetNuclearChart ( KVNuclearChart nuclearchart)
inline

Definition at line 39 of file KVNucleusBox.h.

◆ SetShowSymbol()

void KVNucleusBox::SetShowSymbol ( Bool_t  value = kTRUE)

Definition at line 192 of file KVNucleusBox.cpp.

◆ SetSymbolSize()

void KVNucleusBox::SetSymbolSize ( Float_t  size = 0.02)
inline

Definition at line 50 of file KVNucleusBox.h.

Member Data Documentation

◆ fA

Int_t KVNucleusBox::fA
private

Definition at line 21 of file KVNucleusBox.h.

◆ fDrawSame

Bool_t KVNucleusBox::fDrawSame
private

Definition at line 22 of file KVNucleusBox.h.

◆ fN

Int_t KVNucleusBox::fN
private

Definition at line 21 of file KVNucleusBox.h.

◆ fNuclearChart

KVNuclearChart* KVNucleusBox::fNuclearChart
private

Definition at line 26 of file KVNucleusBox.h.

◆ fNucleus

KVNucleus* KVNucleusBox::fNucleus
private

Definition at line 25 of file KVNucleusBox.h.

◆ fOwnNucleus

Bool_t KVNucleusBox::fOwnNucleus
private

Definition at line 23 of file KVNucleusBox.h.

◆ fShowSymbol

Bool_t KVNucleusBox::fShowSymbol
private

Definition at line 24 of file KVNucleusBox.h.

◆ fSymbol

TLatex KVNucleusBox::fSymbol
private

Definition at line 27 of file KVNucleusBox.h.

◆ fZ

Int_t KVNucleusBox::fZ
private

Definition at line 21 of file KVNucleusBox.h.