KaliVeda
Toolkit for HIC analysis
KVNDTManager.h
1 
4 #ifndef __KVNDTMANAGER_H
5 #define __KVNDTMANAGER_H
6 
7 #include "KVList.h"
8 
9 class KVNuclDataTable;
10 class KVNuclData;
11 class TObjArray;
12 
22 class KVNDTManager : public KVList {
23 
24 protected:
25  void init();
28 
29 
30 public:
31  KVNDTManager();
32  virtual ~KVNDTManager();
33 
34  KVNuclDataTable* GetTable(const Char_t* name) const;
35 
36  Bool_t IsInTable(Int_t zz, Int_t aa, const Char_t* name) const;
37  Double_t GetValue(Int_t zz, Int_t aa, const Char_t* name) const;
38  void SetValue(Int_t zz, Int_t aa, const Char_t* name, Double_t val);
39  KVNuclData* GetData(Int_t zz, Int_t aa, const Char_t* name) const;
40  Bool_t IsMeasured(Int_t zz, Int_t aa, const Char_t* name) const;
41  const Char_t* GetUnit(Int_t zz, Int_t aa, const Char_t* name) const;
42  void PrintTables() const;
43 
44  ClassDef(KVNDTManager, 1) //Allow to navigate between different tables of nuclear data
45 };
46 
48 R__EXTERN KVNDTManager* gNDTManager;
49 
50 #endif
int Int_t
#define R__EXTERN
bool Bool_t
char Char_t
double Double_t
#define ClassDef(name, id)
Extended TList class which owns its objects by default.
Definition: KVList.h:28
Nuclear Data Table manager.
Definition: KVNDTManager.h:22
Bool_t IsInTable(Int_t zz, Int_t aa, const Char_t *name) const
void PrintTables() const
Double_t GetValue(Int_t zz, Int_t aa, const Char_t *name) const
const Char_t * GetUnit(Int_t zz, Int_t aa, const Char_t *name) const
KVNuclData * GetData(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
KVNuclDataTable * GetTable(const Char_t *name) const
TObjArray * Arange
Definition: KVNDTManager.h:26
virtual ~KVNDTManager()
Destructor.
void SetValue(Int_t zz, Int_t aa, const Char_t *name, Double_t val)
KVNDTManager()
Default constructor.
TObjArray * Zrange
Definition: KVNDTManager.h:27
Abstract base class for nuclear data table.
Simple abstract class to store value related to nuclear data.
Definition: KVNuclData.h:18