33 class ZAI :
public TObject
54 ZAI(
int Z,
int A,
int I = 0);
67 int Z()
const {
return fZ; }
68 int A()
const {
return fA; }
69 int I()
const {
return fI; }
70 int N()
const {
return fA-fZ; }
77 bool operator <(
const ZAI& zai)
const {
return (fZ != zai.
Z())?
78 (fZ < zai.
Z()) : ( (fA != zai.
A())?
79 (fA < zai.
A()) : (fI < zai.
I()) ); }
81 bool operator != (
const ZAI& zai)
const {
return ( fZ != zai.
Z() ) || ( fA != zai.
A() ) || ( fI != zai.
I() ); }
82 bool operator == (
const ZAI& zai)
const {
return ( fZ == zai.
Z() && fA == zai.
A() && fI == zai.
I()); }
83 void Print()
const { cout << fZ <<
" " << fA <<
" " << fI << endl;}
short fI
Isomeric state.
Definition: ZAI.hxx:90
int I() const
returns the Isomeric State
Definition: ZAI.hxx:69
Definition: CLASSBackEndDict.cxx:37
Defines a nucleus.
Definition: ZAI.hxx:33
int Z() const
returns the number of protons
Definition: ZAI.hxx:67
int N() const
returns the number of neutrons
Definition: ZAI.hxx:70
short fA
number of nucleons (A = 0 means natural isotopes)
Definition: ZAI.hxx:89
void Print() const
Print in standard output : Z A I.
Definition: ZAI.hxx:83
int A() const
returns the number of nucleons
Definition: ZAI.hxx:68
short fZ
number of protons
Definition: ZAI.hxx:88