KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KVNuclDataTable Class Referenceabstract

Abstract base class for nuclear data table.

General methods:

Specific implementations must define the methods:

Definition at line 79 of file KVNuclDataTable.h.

Public Member Functions

 KVNuclDataTable ()
 Default constructor. More...
 
 KVNuclDataTable (KVString classname)
 Constructor with class name of the store objects. More...
 
virtual ~KVNuclDataTable ()
 Destructor. More...
 
KVString GetCommentsFromFile () const
 
KVNuclDataGetData (Int_t zz, Int_t aa) const
 
Int_t GetNumberOfNuclei () const
 
const Char_tGetReadFileName () const
 
const Char_tGetUnit (Int_t zz, Int_t aa) const
 
Double_t GetValue (Int_t zz, Int_t aa) const
 
virtual void GiveIndexToNucleus (Int_t zz, Int_t aa, Int_t ntot)
 Add a new entry in the table. More...
 
void init ()
 
virtual void Initialize ()=0
 
Bool_t IsInTable (Int_t zz, Int_t aa) const
 Returns kTRUE if there is a couple (Z,A) in the table. More...
 
Bool_t IsMeasured (Int_t zz, Int_t aa) const
 
void SetValue (Int_t zz, Int_t aa, Double_t val)
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
virtual void Clear (Option_t *option="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &named) const
 
virtual void FillBuffer (char *&buffer)
 
virtual const char * GetName () const
 
virtual const char * GetTitle () const
 
virtual ULong_t Hash () const
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 
TNamedoperator= (const TNamed &rhs)
 
virtual void Print (Option_t *option="") const
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
- 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 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 UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
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
 
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)
 
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
 

Protected Member Functions

void CreateElement (Int_t idx)
 
void CreateTable (Int_t ntot)
 
KVNuclDataGetCurrent () const
 TObjArray* tobj_rangeA; //! array where range of A associated to each Z is stored via KVIntegerList. More...
 
virtual NDT::valuegetNDTvalue (Int_t zz, Int_t aa) const
 Return NDT::value object pointer stored at map position (Z,A). More...
 
void InfoOnMeasured () const
 
- 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

TClasscl
 pointeur pour gerer les heritages de classes de KVNuclData More...
 
Int_t current_idx
 current index More...
 
KVString kclassname
 
KVString kcomments
 Commentaire provenant de la lecture fichier. More...
 
Int_t NbNuc
 nbre de noyaux presents dans la table More...
 
TMapnucMap
 mapping (Z,A) -> nucleus index More...
 
TObjArraytobj
 KVNumberList plageZ;. More...
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

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
 

#include <KVNuclDataTable.h>

Inheritance diagram for KVNuclDataTable:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVNuclDataTable() [1/2]

KVNuclDataTable::KVNuclDataTable ( )

Default constructor.

Definition at line 18 of file KVNuclDataTable.cpp.

◆ KVNuclDataTable() [2/2]

KVNuclDataTable::KVNuclDataTable ( KVString  classname)

Constructor with class name of the store objects.

Definition at line 30 of file KVNuclDataTable.cpp.

◆ ~KVNuclDataTable()

KVNuclDataTable::~KVNuclDataTable ( )
virtual

Destructor.

Definition at line 43 of file KVNuclDataTable.cpp.

Member Function Documentation

◆ CreateElement()

void KVNuclDataTable::CreateElement ( Int_t  idx)
protected

Definition at line 258 of file KVNuclDataTable.cpp.

◆ CreateTable()

void KVNuclDataTable::CreateTable ( Int_t  ntot)
protected

Definition at line 246 of file KVNuclDataTable.cpp.

◆ GetCommentsFromFile()

KVString KVNuclDataTable::GetCommentsFromFile ( ) const

Definition at line 235 of file KVNuclDataTable.cpp.

◆ GetCurrent()

KVNuclData* KVNuclDataTable::GetCurrent ( ) const
inlineprotected

TObjArray* tobj_rangeA; //! array where range of A associated to each Z is stored via KVIntegerList.

Definition at line 96 of file KVNuclDataTable.h.

◆ GetData()

KVNuclData * KVNuclDataTable::GetData ( Int_t  zz,
Int_t  aa 
) const

Returns the registered KVNuclData object associated to the couple (Z,A). Don't need to test its presence returns 0 if no such object is present

Definition at line 114 of file KVNuclDataTable.cpp.

◆ getNDTvalue()

NDT::value * KVNuclDataTable::getNDTvalue ( Int_t  zz,
Int_t  aa 
) const
protectedvirtual

Return NDT::value object pointer stored at map position (Z,A).

Reimplemented in KVElementDensityTable.

Definition at line 89 of file KVNuclDataTable.cpp.

◆ GetNumberOfNuclei()

Int_t KVNuclDataTable::GetNumberOfNuclei ( ) const

Definition at line 213 of file KVNuclDataTable.cpp.

◆ GetReadFileName()

const Char_t * KVNuclDataTable::GetReadFileName ( ) const

Definition at line 224 of file KVNuclDataTable.cpp.

◆ GetUnit()

const Char_t * KVNuclDataTable::GetUnit ( Int_t  zz,
Int_t  aa 
) const

Returns the unit of the registered KVNuclData object associated to the couple (Z,A). Don't need to test the presence of the object returns "NONE" if no such object is present

Definition at line 170 of file KVNuclDataTable.cpp.

◆ GetValue()

Double_t KVNuclDataTable::GetValue ( Int_t  zz,
Int_t  aa 
) const

Returns the value of the registered KVNuclData object associated to the couple (Z,A). Don't need to test the presence of the object returns -555 if no such object is present

Definition at line 133 of file KVNuclDataTable.cpp.

◆ GiveIndexToNucleus()

void KVNuclDataTable::GiveIndexToNucleus ( Int_t  zz,
Int_t  aa,
Int_t  ntot 
)
virtual

Add a new entry in the table.

Reimplemented in KVElementDensityTable.

Definition at line 75 of file KVNuclDataTable.cpp.

◆ InfoOnMeasured()

void KVNuclDataTable::InfoOnMeasured ( ) const
protected

Definition at line 270 of file KVNuclDataTable.cpp.

◆ init()

void KVNuclDataTable::init ( void  )

Definition at line 58 of file KVNuclDataTable.cpp.

◆ Initialize()

virtual void KVNuclDataTable::Initialize ( )
pure virtual

◆ IsInTable()

Bool_t KVNuclDataTable::IsInTable ( Int_t  zz,
Int_t  aa 
) const

Returns kTRUE if there is a couple (Z,A) in the table.

Definition at line 100 of file KVNuclDataTable.cpp.

◆ IsMeasured()

Bool_t KVNuclDataTable::IsMeasured ( Int_t  zz,
Int_t  aa 
) const

Returns bit of the registered KVNuclData object associated to the couple (Z,A). indicating if the value are measured (kTRUE) or not is from systematic (kFALSE) Don't need to test the presence of the object returns "NONE" if no such object is present

Definition at line 193 of file KVNuclDataTable.cpp.

◆ SetValue()

void KVNuclDataTable::SetValue ( Int_t  zz,
Int_t  aa,
Double_t  val 
)

Definition at line 152 of file KVNuclDataTable.cpp.

Member Data Documentation

◆ cl

TClass* KVNuclDataTable::cl
protected

pointeur pour gerer les heritages de classes de KVNuclData

Definition at line 83 of file KVNuclDataTable.h.

◆ current_idx

Int_t KVNuclDataTable::current_idx
protected

current index

Definition at line 85 of file KVNuclDataTable.h.

◆ kclassname

KVString KVNuclDataTable::kclassname
protected

Definition at line 89 of file KVNuclDataTable.h.

◆ kcomments

KVString KVNuclDataTable::kcomments
protected

Commentaire provenant de la lecture fichier.

Definition at line 88 of file KVNuclDataTable.h.

◆ NbNuc

Int_t KVNuclDataTable::NbNuc
protected

nbre de noyaux presents dans la table

Definition at line 86 of file KVNuclDataTable.h.

◆ nucMap

TMap* KVNuclDataTable::nucMap
protected

mapping (Z,A) -> nucleus index

Definition at line 84 of file KVNuclDataTable.h.

◆ tobj

TObjArray* KVNuclDataTable::tobj
protected

KVNumberList plageZ;.

array where all nucldata objects are

Definition at line 93 of file KVNuclDataTable.h.


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