KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVNDTManager.h
Go to the documentation of this file.
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 
21 class KVNDTManager : public KVList {
22 
23 protected:
24  void init();
27 
28 
29 public:
30  KVNDTManager();
31  virtual ~KVNDTManager();
32 
33  KVNuclDataTable* GetTable(const Char_t* name) const;
34 
35  Bool_t IsInTable(Int_t zz, Int_t aa, const Char_t* name) const;
36  Double_t GetValue(Int_t zz, Int_t aa, const Char_t* name) const;
37  void SetValue(Int_t zz, Int_t aa, const Char_t* name, Double_t val);
38  KVNuclData* GetData(Int_t zz, Int_t aa, const Char_t* name) const;
39  Bool_t IsMeasured(Int_t zz, Int_t aa, const Char_t* name) const;
40  const Char_t* GetUnit(Int_t zz, Int_t aa, const Char_t* name) const;
41  void PrintTables() const;
42 
43  ClassDef(KVNDTManager, 1) //Allow to navigate between different tables of nuclear data
44 };
45 
48 
49 #endif
int Int_t
#define R__EXTERN
R__EXTERN KVNDTManager * gNDTManager
................ global variable
Definition: KVNDTManager.h:47
char Char_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Extended TList class which owns its objects by default.
Definition: KVList.h:27
Nuclear Data Table manager.
Definition: KVNDTManager.h:21
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:25
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:26
Abstract base class for nuclear data table.
Simple abstract class to store value related to nuclear data.
Definition: KVNuclData.h:17