25 #define GW_GAMMALINK_H Gw_GammaLink
53 static Int_t fgMaxAttributes;
94 virtual void SetEM(
const char *em=
"E2");
97 virtual bool IsE()
const {
return fEM.
Get() ==
'E'; }
99 virtual bool IsM()
const {
return fEM.
Get() ==
'M'; }
105 virtual Int_t
DoCascade(TSeqCollection &col, Option_t *opt =
"");
107 virtual void ls(Option_t* option =
"")
const ;
109 void SetGamma(
const char* energy,
const char* multipolarity,
110 const char* mixing,
const char* conversion,
111 const char* strength,
const char* tau);
113 const char*
GetAttr(Int_t idx);
virtual Data_T GetError() const
return the error on the measured value
virtual bool IsM() const
true if this transition is magnetic
virtual Int_t DoCascade(TSeqCollection &col, Option_t *opt="")
it adds this gamma to the given cascade
virtual const char * GetLabel0()
Get labels title.
virtual const char * GetAttrLabel()
return attribute pattern
Measure< Float_t > fMixing
virtual Measure< Float_t > & GetMixing()
to get/modify the mixing ratio and its error
virtual const char * GetLabel2()
virtual void SetAttrLabel(const char *)
Used to determine the attribute for each label.
template that defines a general Data
virtual void ls(Option_t *option="") const
ls on link
template that defines a general Measure
virtual void SetEM(const char *em="E2")
to set the multipolarity
A link between two levels.
GammaLink & operator=(const GammaLink &)
virtual Data_T Get() const
get the value, can be overloaded
virtual Measure< Float_t > & GetEnergy()
to get/modify the gamma-ray energy and its error
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 > & GetConversion()
to get/modify the conversion coefficient and its error
virtual Measure< Float_t > & GetStrength()
to get the strength and modify it if it is needed
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)
virtual UShort_t GetLambda() const
returns the numeric part of the multipolarity
ClassDef(GammaLink, 1)
rootcint dictionary
A GammaLink binds two nuclear levels.
virtual const char * GetLabel1()
virtual bool IsE() const
true if this transition is electric