KaliVeda
Toolkit for HIC analysis
KVNDTManager Class Reference

Detailed Description

Nuclear Data Table manager.

Allow to navigate between different tables of nuclear data

Definition at line 22 of file KVNDTManager.h.

#include <KVNDTManager.h>

Inheritance diagram for KVNDTManager:

Public Member Functions

 KVNDTManager ()
 Default constructor. More...
 
virtual ~KVNDTManager ()
 Destructor. More...
 
KVNuclDataGetData (Int_t zz, Int_t aa, const Char_t *name) const
 
KVNuclDataTableGetTable (const Char_t *name) const
 
const Char_t * GetUnit (Int_t zz, Int_t aa, const Char_t *name) const
 
Double_t GetValue (Int_t zz, Int_t aa, const Char_t *name) const
 
Bool_t IsInTable (Int_t zz, Int_t aa, const Char_t *name) const
 
Bool_t IsMeasured (Int_t zz, Int_t aa, const Char_t *name) const
 
void PrintTables () const
 
void SetValue (Int_t zz, Int_t aa, const Char_t *name, Double_t val)
 
- Public Member Functions inherited from KVList
 KVList (Bool_t owner=kTRUE)
 
virtual ~ KVList ()
 
void Sort (Bool_t order=kSortAscending)
 
- Public Member Functions inherited from KVSeqCollection
 KVSeqCollection ()
 Default constructor. More...
 
 KVSeqCollection (const Char_t *collection_classname)
 
 KVSeqCollection (const KVSeqCollection &)
 
virtual ~KVSeqCollection ()
 
virtual void Add (TObject *obj)
 
virtual void AddAfter (const TObject *after, TObject *obj)
 
virtual void AddAt (TObject *obj, Int_t idx)
 
virtual void AddBefore (const TObject *before, TObject *obj)
 
virtual void AddFirst (TObject *obj)
 
virtual void AddLast (TObject *obj)
 
virtual TObject * After (const TObject *obj) const
 
virtual TObject * At (Int_t idx) const
 
virtual TObject * Before (const TObject *obj) const
 
virtual void Clear (Option_t *option="")
 
const Char_t * CollectionClassName () const
 
virtual void Copy (TObject &obj) const
 
virtual void Delete (Option_t *option="")
 
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 TObject * FindObject (const char *name) const
 
virtual TObject * FindObject (const TObject *obj) const
 
virtual TObject * FindObjectAny (const Char_t *att, const Char_t *keys, Bool_t contains_all=kFALSE, Bool_t case_sensitive=kTRUE) const
 
TObject * FindObjectByClass (const Char_t *) const
 Return (first) object in embedded list with given class. More...
 
TObject * FindObjectByClass (const TClass *) const
 Return (first) object in embedded list with given class. More...
 
virtual TObject * FindObjectByLabel (const Char_t *) const
 
virtual TObject * FindObjectByName (const Char_t *name) const
 
virtual TObject * FindObjectByNumber (UInt_t num) const
 
virtual TObject * FindObjectByTitle (const Char_t *) const
 Will return object with given title (value of TObject::GetTitle() method). More...
 
virtual TObject * FindObjectByType (const Char_t *) const
 
virtual TObject * FindObjectWithMethod (const Char_t *retvalue, const Char_t *method) const
 
virtual TObject * FindObjectWithNameAndType (const Char_t *name, const Char_t *type) const
 
virtual TObject * First () const
 
template<typename T >
T * get_object (const TString &name) const
 
TSeqCollection * GetCollection () const
 
virtual TObject ** GetObjectRef (const TObject *obj) const
 Return reference to object. More...
 
virtual Int_t GetSize () const
 
KVSeqCollectionGetSubListWithClass (const Char_t *class_name) const
 
KVSeqCollectionGetSubListWithClass (const TClass *_class) const
 
KVSeqCollectionGetSubListWithLabel (const Char_t *retvalue) const
 
KVSeqCollectionGetSubListWithMethod (const Char_t *retvalue, const Char_t *method) const
 
KVSeqCollectionGetSubListWithName (const Char_t *retvalue) const
 
KVSeqCollectionGetSubListWithType (const Char_t *retvalue) const
 
virtual Bool_t IsCleanup () const
 
virtual Bool_t IsSendingModifiedSignals () const
 
virtual Bool_t IsSortable () const
 
virtual Bool_t IsSorted () const
 
virtual TObject * Last () const
 
virtual TIterator * MakeIterator (Bool_t dir=kIterForward) const
 Make and return iterator for the list. More...
 
virtual void Modified ()
 
KVSeqCollectionoperator= (const KVSeqCollection &)
 
virtual void RecursiveRemove (TObject *obj)
 
virtual TObject * Remove (TObject *obj)
 Remove object from list. More...
 
virtual void SendModifiedSignals (Bool_t yes=kTRUE)
 
virtual void SetCleanup (Bool_t enable=kTRUE)
 
virtual void SetOwner (Bool_t enable=kTRUE)
 

Private Member Functions

void init ()
 

Private Attributes

TObjArray * Arange
 
TObjArray * Zrange
 

Additional Inherited Members

- Static Public Member Functions inherited from KVSeqCollection
static KVSeqCollectionMakeListFromFile (TFile *file)
 
static KVSeqCollectionMakeListFromFileWithClass (TFile *file, const Char_t *class_name)
 
static KVSeqCollectionMakeListFromFileWithClass (TFile *file, const TClass *_class)
 
static KVSeqCollectionMakeListFromFileWithMethod (TFile *file, const Char_t *retvalue, const Char_t *method)
 
static void RehashCleanupList ()
 

Constructor & Destructor Documentation

◆ KVNDTManager()

KVNDTManager::KVNDTManager ( )

Default constructor.

Definition at line 20 of file KVNDTManager.cpp.

◆ ~KVNDTManager()

KVNDTManager::~KVNDTManager ( )
virtual

Destructor.

Definition at line 32 of file KVNDTManager.cpp.

Member Function Documentation

◆ GetData()

KVNuclData * KVNDTManager::GetData ( Int_t  zz,
Int_t  aa,
const Char_t *  name 
) const

Definition at line 119 of file KVNDTManager.cpp.

◆ GetTable()

KVNuclDataTable * KVNDTManager::GetTable ( const Char_t *  name) const

Definition at line 69 of file KVNDTManager.cpp.

◆ GetUnit()

const Char_t * KVNDTManager::GetUnit ( Int_t  zz,
Int_t  aa,
const Char_t *  name 
) const

Definition at line 145 of file KVNDTManager.cpp.

◆ GetValue()

Double_t KVNDTManager::GetValue ( Int_t  zz,
Int_t  aa,
const Char_t *  name 
) const

Definition at line 91 of file KVNDTManager.cpp.

◆ init()

void KVNDTManager::init ( void  )
private

Initialize Nuclear Data Table Manager We automatically instantiate a data table of each class which is declared as a "KVNuclDataTable" plugin If a new class is added to the .kvrootrc, there is no need to alter the code.

Definition at line 45 of file KVNDTManager.cpp.

◆ IsInTable()

Bool_t KVNDTManager::IsInTable ( Int_t  zz,
Int_t  aa,
const Char_t *  name 
) const

Definition at line 80 of file KVNDTManager.cpp.

◆ IsMeasured()

Bool_t KVNDTManager::IsMeasured ( Int_t  zz,
Int_t  aa,
const Char_t *  name 
) const

Definition at line 132 of file KVNDTManager.cpp.

◆ PrintTables()

void KVNDTManager::PrintTables ( ) const

Definition at line 161 of file KVNDTManager.cpp.

◆ SetValue()

void KVNDTManager::SetValue ( Int_t  zz,
Int_t  aa,
const Char_t *  name,
Double_t  val 
)

Definition at line 104 of file KVNDTManager.cpp.

Member Data Documentation

◆ Arange

TObjArray* KVNDTManager::Arange
private

Definition at line 26 of file KVNDTManager.h.

◆ Zrange

TObjArray* KVNDTManager::Zrange
private

Definition at line 27 of file KVNDTManager.h.