39 cout <<
Form(
"%15s", fJPi.Data()) <<
" _____ "
41 <<
Form(
"%15s", fGamma.Data())
62 fJPi =
Form(
"%d%s", fSpin, ((fParity > 0) ?
"+" :
"-"));
63 fGamma =
Form(
"%.2lf keV", ww);
95 if (jpi.
Index(
"+") < jpi.
Index(
"-")) fParity = 1;
98 else if (jpi.
Contains(
"-")) fParity = -1;
119 jpi = jpi(0, jpi.
Index(
"/"));
148 if (np >= 1) gam = tmp.
Next().
Atof();
149 if (np >= 2) ugam = tmp.
Next().
Data();
155 if (ugam.
EqualTo(
"EV")) fWidth *= 1
e-3;
156 else if (ugam.
EqualTo(
"KEV")) fWidth *= 1;
157 else if (ugam.
EqualTo(
"MEV")) fWidth *= 1e3;
158 else if (ugam.
Contains(
"S")) fWidth *= 1
e-6;
165 if (gam == 0.) fGamma =
Form(
"%.1f %3s", gam, ugam.
Data());
166 else fGamma =
Form(
"%.1f %3s", gam, ugam.
Data());
177 if (fIsOdd) JJ *= 0.5;
178 double yy = (2.*JJ + 1.) * fWidth / ((xx - fEnergy) * (xx - fEnergy) + 0.25 * fWidth * fWidth);
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
char * Form(const char *fmt,...)
Excited state of atomic nucleus.
void set(Double_t ee, Double_t ww, Double_t jj, Int_t pi)
virtual ~KVExcitedState()
Destructor.
Double_t eval(Double_t excit)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void Begin(TString delim) const
void RemoveAllExtraWhiteSpace()
KVString Next(Bool_t strip_whitespace=kFALSE) const
Int_t GetNValues(TString delim) const
Bool_t EqualTo(const char *cs, ECaseCompare cmp=kExact) const
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TString & ReplaceAll(const char *s1, const char *s2)
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const