![]() |
KaliVeda
Toolkit for HIC analysis
|
Simple abstract class to store value related to nuclear data.
Created by KVClassFactory on Wed Feb 23 10:21:20 2011 Author: bonnet
Definition at line 18 of file KVNuclData.h.
#include <KVNuclData.h>
Public Member Functions | |
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_t * | GetName () const |
const Char_t * | GetUnit () const |
Double_t | GetValue () const |
Bool_t | IsMeasured () const |
virtual void | Print (Option_t *option="") const |
void | SetMeasured (Bool_t measured) |
void | SetName (TString name) |
void | SetValue (Double_t val) |
Private Types | |
enum | EStatusBits { kMeasured = BIT(14) } |
Private Member Functions | |
void | init () |
Private Attributes | |
TString | fName |
name of the object More... | |
TString | fUnits |
units (if any) More... | |
Double_t | kValue |
numerical value More... | |
|
private |
Enumerator | |
---|---|
kMeasured |
Definition at line 29 of file KVNuclData.h.
KVNuclData::KVNuclData | ( | ) |
Default constructor.
Definition at line 38 of file KVNuclData.cpp.
KVNuclData::KVNuclData | ( | const Char_t * | name, |
const Char_t * | units = "NONE" |
||
) |
Constructor with name & units.
Definition at line 15 of file KVNuclData.cpp.
KVNuclData::KVNuclData | ( | const KVNuclData & | o | ) |
Copy constructor.
Definition at line 27 of file KVNuclData.cpp.
|
virtual |
Destructor.
Definition at line 49 of file KVNuclData.cpp.
void KVNuclData::Copy | ( | TObject & | object | ) | const |
Copy this to object.
Definition at line 59 of file KVNuclData.cpp.
const Char_t * KVNuclData::GetName | ( | ) | const |
Definition at line 86 of file KVNuclData.cpp.
|
inline |
Definition at line 51 of file KVNuclData.h.
Double_t KVNuclData::GetValue | ( | void | ) | const |
Definition at line 108 of file KVNuclData.cpp.
|
private |
Definition at line 74 of file KVNuclData.cpp.
|
inline |
Definition at line 60 of file KVNuclData.h.
|
virtual |
Reimplemented in KVElementDensity.
Definition at line 119 of file KVNuclData.cpp.
|
inline |
Definition at line 56 of file KVNuclData.h.
|
inline |
Definition at line 42 of file KVNuclData.h.
void KVNuclData::SetValue | ( | Double_t | val | ) |
Definition at line 97 of file KVNuclData.cpp.
|
private |
name of the object
Definition at line 21 of file KVNuclData.h.
|
private |
units (if any)
Definition at line 22 of file KVNuclData.h.
|
private |
numerical value
Definition at line 20 of file KVNuclData.h.