KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Private Attributes | List of all members
KVElementDensity Class Reference

Atomic element with name, symbol and density.

Created by KVClassFactory on Thu Sep 27 17:23:23 2012 Author: John Frankland,,,

Definition at line 15 of file KVElementDensity.h.

Public Member Functions

 KVElementDensity ()
 Default constructor. More...
 
 KVElementDensity (const Char_t *name)
 Default constructor. More...
 
 KVElementDensity (const KVElementDensity &)
 
virtual ~KVElementDensity ()
 Destructor. More...
 
void Copy (TObject &) const
 
const Char_tGetElementName () const
 
const Char_tGetElementSymbol () const
 
Int_t GetZ () const
 
Bool_t IsGas () const
 
void Print (Option_t *o="") const
 
void SetElementName (const Char_t *en)
 
void SetElementSymbol (const Char_t *s)
 
void SetIsGas (Bool_t g=kTRUE)
 
void SetZ (Int_t z)
 
- Public Member Functions inherited from KVNuclData
 KVNuclData ()
 Default constructor. More...
 
 KVNuclData (const Char_t *name, const Char_t *units="NONE")
 Constructor with name & units. More...
 
 KVNuclData (const KVNuclData &)
 Copy constructor. More...
 
virtual ~KVNuclData ()
 Destructor. More...
 
void Copy (TObject &object) const
 Copy this to object. More...
 
const Char_tGetName () const
 
const Char_tGetUnit () const
 
Double_t GetValue () const
 
Bool_t IsMeasured () const
 
void SetMeasured (Bool_t measured)
 
void SetName (TString name)
 
void SetValue (Double_t val)
 
- 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 Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
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 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
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
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
 
virtual void ls (Option_t *option="") 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)
 
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 Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
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=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 

Private Attributes

TString fElementName
 
Bool_t fIsGas
 
TString fSymbol
 
Int_t fZ
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Types inherited from KVNuclData
enum  EStatusBits { kMeasured = BIT(14) }
 
- Protected Member Functions inherited from KVNuclData
void init ()
 
- 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 KVNuclData
TString fName
 name of the object More...
 
TString fUnits
 units (if any) More...
 
Double_t kValue
 numerical value More...
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

#include <KVElementDensity.h>

Inheritance diagram for KVElementDensity:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVElementDensity() [1/3]

KVElementDensity::KVElementDensity ( )

Default constructor.

Definition at line 12 of file KVElementDensity.cpp.

◆ KVElementDensity() [2/3]

KVElementDensity::KVElementDensity ( const Char_t name)

Default constructor.

Definition at line 25 of file KVElementDensity.cpp.

◆ KVElementDensity() [3/3]

KVElementDensity::KVElementDensity ( const KVElementDensity 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 41 of file KVElementDensity.cpp.

◆ ~KVElementDensity()

KVElementDensity::~KVElementDensity ( )
virtual

Destructor.

Definition at line 57 of file KVElementDensity.cpp.

Member Function Documentation

◆ Copy()

void KVElementDensity::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 KVElementDensity::fToto) CastedObj.fToto = fToto; or CastedObj.SetToto( GetToto() );

Reimplemented from TObject.

Definition at line 73 of file KVElementDensity.cpp.

◆ GetElementName()

const Char_t* KVElementDensity::GetElementName ( ) const
inline

Definition at line 57 of file KVElementDensity.h.

◆ GetElementSymbol()

const Char_t* KVElementDensity::GetElementSymbol ( ) const
inline

Definition at line 49 of file KVElementDensity.h.

◆ GetZ()

Int_t KVElementDensity::GetZ ( ) const
inline

Definition at line 33 of file KVElementDensity.h.

◆ IsGas()

Bool_t KVElementDensity::IsGas ( ) const
inline

Definition at line 41 of file KVElementDensity.h.

◆ Print()

void KVElementDensity::Print ( Option_t o = "") const
virtual

Reimplemented from KVNuclData.

Definition at line 94 of file KVElementDensity.cpp.

◆ SetElementName()

void KVElementDensity::SetElementName ( const Char_t en)
inline

Definition at line 53 of file KVElementDensity.h.

◆ SetElementSymbol()

void KVElementDensity::SetElementSymbol ( const Char_t s)
inline

Definition at line 45 of file KVElementDensity.h.

◆ SetIsGas()

void KVElementDensity::SetIsGas ( Bool_t  g = kTRUE)
inline

Definition at line 37 of file KVElementDensity.h.

◆ SetZ()

void KVElementDensity::SetZ ( Int_t  z)
inline

Definition at line 29 of file KVElementDensity.h.

Member Data Documentation

◆ fElementName

TString KVElementDensity::fElementName
private

Definition at line 19 of file KVElementDensity.h.

◆ fIsGas

Bool_t KVElementDensity::fIsGas
private

Definition at line 17 of file KVElementDensity.h.

◆ fSymbol

TString KVElementDensity::fSymbol
private

Definition at line 18 of file KVElementDensity.h.

◆ fZ

Int_t KVElementDensity::fZ
private

Definition at line 16 of file KVElementDensity.h.


The documentation for this class was generated from the following files: