25 #define GW_SPIN_H Gw_Spin
66 void Set(Int_t n, Int_t d = 1);
88 virtual void Set(
const char *s) ;
void Set(Int_t n, Int_t d=1)
To set the spin.
ClassDef(Spin, 1)
rootcint dictionary
bool operator<=(const Spin &s) const
Int_t GetD() const
To get the spin (denominator)
bool operator>(const Spin &s) const
std::ostream & operator<<(std::ostream &, const Gw::Spin &)
to write a Spin in a stream
Base class for a quantum number.
EQtype
label type for any possible quantum number
Float_t Get() const
To get the spin as a float.
bool operator>=(const Spin &s) const
A spin is defined by two integers: a numerator and a denominator.
Int_t GetInTwoHalfUnit() const
to get the spin in two half unit
bool operator==(const Spin &s) const
comparison
Spin & operator+=(Int_t value)
operator +=
const Char_t * GetString() const
To get the spin as a string.
Bool_t IsHalfInt() const
To get the spin as a float.
Base class to get/set some flag informations concerning any data.
header file for a general quantum number (QNumber)
virtual Bool_t IsQNumber(QNumber::EQtype) const
QNumber members.
Int_t GetN() const
To get the spin (numerator)
bool operator<(const Spin &s) const