37 Int_t GammaLink::fgMaxAttributes = 6;
40 GammaLink::GammaLink()
61 if (
this == &link)
return *
this;
81 Int_t idx = fAttrLabel[0]-
'0';
84 Int_t pos = tmp.Last(
' ');
88 return Form(
"%s", tmp.Data());
94 Int_t idx = fAttrLabel[1]-
'0';
97 Int_t pos = tmp.Last(
' ');
101 return Form(
"%s", tmp.Data());
107 Int_t idx = fAttrLabel[2]-
'0';
110 Int_t pos = tmp.Last(
' ');
114 return Form(
"%s", tmp.Data());
124 for( Short_t i = 0; i < end; ++i ) {
127 fLog <<
warning << Form(
"Unambiguous position label pattern, set to %s", fAttrLabel.Data()) <<
nline;
162 const char* mixing,
const char* conversion,
163 const char* strength,
const char* tau)
165 fAttr0 = energy; fAttr1 = multipolarity; fAttr2 = mixing; fAttr3 = conversion; fAttr4 = strength; fAttr5 = tau;
169 for (Int_t i = 0; i < 3; ++i) {
170 Int_t idx = fAttrLabel[i] -
'0';
194 Int_t pos = tmp.Last(
' ');
201 SetPoints(GetX()[0]+(GetX()[2]-(GetX()[0]))/2.,GetX()[5]);
219 for (Int_t i = 0; i < 10; i++ )
221 if (((TString)s[0]).Atoi() == i )
244 TString opt = o;
string sep1, sep2;
246 if ( opt.Contains(
"header") ) std::cout<<
" Gamma energy (keV), \t Intensity, \t Multipolarity, \t Conversion" <<
std::endl;
virtual Data_T GetError() const
return the error on the measured value
virtual void Set(Data_T data)
set the measure and its error (default err=0)
virtual bool IsData(UShort_t) const
to get some information about this data
virtual Int_t DoCascade(TSeqCollection &col, Option_t *opt="")
it adds this gamma to the given cascade
virtual const char * GetLabel0()
Get labels title.
LogMessage & warning(LogMessage &)
Measure< Float_t > fMixing
virtual const char * GetLabel2()
virtual void SetAttrLabel(const char *)
Used to determine the attribute for each label.
LogMessage & nline(LogMessage &)
header file for a GammaLink
virtual void ls(Option_t *option="") const
ls on link
virtual void SetEM(const char *em="E2")
to set the multipolarity
virtual void SetPoints()
to set points from the levels and the Strength
A link between two levels.
GammaLink & operator=(const GammaLink &)
Link & operator=(const Link &)
LogMessage & dolog(LogMessage &)
virtual Measure< Float_t > & GetTau()
to get the characteritic time and modify it if it is needed
Measure< Float_t > fEnergy
virtual Measure< Float_t > & GetStrength()
to get the strength and modify it if it is needed
virtual std::string & GetProcessName()
To get the Process name.
void SetGamma(const char *energy, const char *multipolarity, const char *mixing, const char *conversion, const char *strength, const char *tau)
const char * GetAttr(Int_t idx)
ADF::LogMessage & endl(ADF::LogMessage &log)
Measure< Float_t > fStrength
virtual void SetInfo(InfoData::EData)
to set some information about this data
A GammaLink binds two nuclear levels.
virtual void SetLabel(const char *, Int_t)
to set labels
static const Short_t fgkMaxLinkLabel
virtual void SetProcessMethod(const char *)
To set the current method.
virtual const char * GetLabel1()
Data_T GetValue() const
get the value, cannot be overloaded