34 fIsX = kFALSE;
fX.SetOwner(kTRUE);
46 if ( nb <= 0 )
return;
59 for (i = 0; i < nb; i++ ) sumw += weight[i];
61 for (i = 0; i < nb; i++ ) {
64 xray =
new GammaLink(); (*xray) = (*this);
68 xw = xw * weight[i] / sumw;
89 Link *link; Int_t result = 1;
91 if (
fX.GetSize() == 0 ) {
96 if ( fIsX == kTRUE ) {
103 else { cas.Add(
this) ; }
virtual TObject * Rand()
it returns a pointer to a randomly selected object from the collection
virtual void Set(Data_T data)
set the measure and its error (default err=0)
A XGammaLink is a converted gamma-ray link.
virtual void Clear(Option_t *opt="")
clear everything (the objects in the collection are not deleted)
A link between two levels.
virtual Int_t DoCascade(TSeqCollection &col, Option_t *opt="")
it adds this gamma to the given cascade
virtual Int_t DoCascade(TSeqCollection &, Option_t *="")
to add this link to a cascade
virtual void Add(TObject *, Float_t)
it adds an object with a weight to this collection.
virtual Measure< Float_t > & GetEnergy()
to get/modify the gamma-ray energy and its error
virtual void DoX(Bool_t x=kTRUE)
virtual Measure< Float_t > & GetStrength()
to get the strength and modify it if it is needed
Measure< Float_t > fStrength
A GammaLink binds two nuclear levels.
header file for a XGammaLink
void SetX(Int_t, Float_t *, Float_t *)
it initialises the list of X-rays associated with this link
Data_T GetValue() const
get the value, cannot be overloaded