12 #ifndef ROOT_TGeoElement 13 #define ROOT_TGeoElement 184 Int_t GetNdecays()
const;
188 Bool_t CheckDecays()
const;
215 kBitMask32 = 0xffffffff,
232 TGeoDecayChannel() : fDecay(0), fDiso(0), fBranchingRatio(0), fQvalue(0), fParent(0), fDaughter(0) {}
234 : fDecay(decay), fDiso(diso), fBranchingRatio(branchingRatio), fQvalue(qValue), fParent(0), fDaughter(0) {}
236 fQvalue(dc.fQvalue),fParent(dc.fParent),fDaughter(dc.fDaughter) {}
242 Int_t GetIndex()
const;
243 virtual const char *
GetName()
const;
285 TGeoBatemanSol() :
TObject(),
TAttLine(),
TAttFill(),
TAttMarker(), fElem(
NULL), fElemTop(
NULL), fCsize(0), fNcoeff(0), fFactor(1.), fTmin(0.), fTmax(0), fCoeff(
NULL) {}
304 void FindSolution(
const TObjArray *array);
327 TGeoElemIter() : fTop(0), fElem(0), fBranch(0), fLevel(0), fLimitRatio(0), fRatio(0) {}
385 kETDefaultElements =
BIT(14),
393 void BuildDefaultElements();
394 void ImportElementsRN();
395 Bool_t CheckTable()
const;
407 void ExportElementsRN(
const char *filename=
"");
TObjArray * GetBranch() const
virtual const char * GetName() const
Returns name of object.
virtual Bool_t IsRadioNuclide() const
Float_t Normalize(Float_t v[3])
Normalize a vector v in place.
TGeoElementRN * Daughter() const
TGeoElement()
Default constructor.
Bool_t TestBit(UInt_t f) const
TGeoElementRN * GetElement() const
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void SetLimitRatio(Double_t limit)
TObject * At(Int_t idx) const
TGeoIsotope * GetIsotope(Int_t i) const
Return i-th isotope in the element.
void GetCoeff(Int_t i, Double_t &cn, Double_t &lambda) const
TRObject operator()(const T1 &t1) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
const TGeoElementRN * fTop
virtual Int_t ENDFCode() const
TGeoElementRN * Parent() const
virtual Bool_t IsRadioNuclide() const
void GetRange(Double_t &tmin, Double_t &tmax) const
Bool_t HasIsotopes() const
Fill Area Attributes class.
TObjArray * Decays() const
#define ClassDef(name, id)
Int_t GetNisotopes() const
Double_t Neff() const
Returns effective number of nucleons.
The TNamed class is the base class for all named ROOT classes.
void AddIsotope(TGeoIsotope *isotope, Double_t relativeAbundance)
Add an isotope for this element. All isotopes have to be isotopes of the same element.
Base class for chemical elements.
static TGeoElementTable * GetElementTable()
Returns pointer to the table.
const TGeoElementRN * GetTop() const
Int_t GetNelementsRN() const
void SetFactor(Double_t factor)
Double_t HalfLife() const
Bool_t HasRNElements() const
void SetDaughter(TGeoElementRN *daughter)
TGeoBatemanSol * Ratio() const
std::map< Int_t, TGeoElementRN * > ElementRNMap_t
TGeoElement & operator=(const TGeoElement &other)
TObjArray * GetElementsRN() const
virtual ~TGeoDecayChannel()
const TGeoElementRN * fElem
Iterator for decay branches.
Int_t GetNelements() const
TGeoDecayChannel(Int_t decay, Int_t diso, Double_t branchingRatio, Double_t qValue)
TGeoDecayChannel(const TGeoDecayChannel &dc)
const TGeoElementRN * GetElement() const
void SetUsed(Bool_t flag=kTRUE)
Bool_t HasDefaultElements() const
ElementRNMap_t fElementsRN
virtual void Print(Option_t *option="") const
Print this isotope.
void SetParent(TGeoElementRN *parent)
ElementRNMap_t::iterator ElementRNMapIt_t
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
void SetDefined(Bool_t flag=kTRUE)
Double_t GetRatio() const
A decay channel for a radionuclide.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
Class representing a radionuclide.
virtual Double_t GetSpecificActivity() const
TGeoElementRN * fDaughter
TGeoElementRN * GetTopElement() const
static Int_t ENDF(Int_t a, Int_t z, Int_t iso)
TGeoElement * GetElement(Int_t z)
Double_t GetRelativeAbundance(Int_t i) const
Return relative abundance of i-th isotope in this element.
virtual Int_t ENDFCode() const
void SetRange(Double_t tmin=0., Double_t tmax=0.)
Double_t BranchingRatio() const
std::string & operator+=(std::string &left, const TString &right)
const char * Data() const
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".