ROOT logo
ROOT » GEOM » GEOM » TGeoBatemanSol

class TGeoBatemanSol: public TObject, public TAttLine, public TAttFill, public TAttMarker


 TGeoElement      - base class for chemical elements
 TGeoElementRN    - class representing a radionuclide
 TGeoElemIter     - iterator for decay branches
 TGeoDecayChannel - a decay channel for a radionuclide
 TGeoElementTable - table of elements


Function Members (Methods)

public:
TGeoBatemanSol()
TGeoBatemanSol(TGeoElementRN* elem)
TGeoBatemanSol(const TObjArray* chain)
TGeoBatemanSol(const TGeoBatemanSol& other)
virtual~TGeoBatemanSol()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
Double_tConcentration(Double_t time) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidFindSolution(const TObjArray* array)
voidGetCoeff(Int_t i, Double_t& cn, Double_t& lambda) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TGeoElementRN*GetElement() const
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
virtual const char*TObject::GetIconName() const
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
virtual const char*TObject::GetName() const
Int_tGetNcoeff() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
voidGetRange(Double_t& tmin, Double_t& tmax) const
virtual const char*TObject::GetTitle() const
TGeoElementRN*GetTopElement() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
voidNormalize(Double_t factor)
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TGeoBatemanSol&operator+=(const TGeoBatemanSol& other)
TGeoBatemanSol&operator=(const TGeoBatemanSol& other)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFactor(Double_t factor)
virtual voidTAttFill::SetFillAttributes()MENU
virtual voidTAttFill::SetFillColor(Color_t fcolor)
virtual voidTAttFill::SetFillStyle(Style_t fstyle)
virtual voidTAttLine::SetLineAttributes()MENU
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
virtual voidTAttMarker::SetMarkerAttributes()MENU
virtual voidTAttMarker::SetMarkerColor(Color_t tcolor = 1)
virtual voidTAttMarker::SetMarkerSize(Size_t msize = 1)
virtual voidTAttMarker::SetMarkerStyle(Style_t mstyle = 1)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetRange(Double_t tmin = 0., Double_t tmax = 0.)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
TGeoBatemanSol::BtCoef_t*fCoeff[fNcoeff] Array of coefficients
Int_tfCsizeSize of the array of coefficients
TGeoElementRN*fElemReferred RN element
TGeoElementRN*fElemTopTop RN element
Double_tfFactorConstant factor that applies to all coefficients
Int_tfNcoeffNumber of coefficients
Double_tfTmaxMaximum value of the time interval
Double_tfTminMinimum value of the time interval

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGeoBatemanSol(TGeoElementRN *elem)
 Default ctor.
TGeoBatemanSol(const TObjArray *chain)
 Default ctor.
TGeoBatemanSol(const TGeoBatemanSol& other)
 Copy constructor.
~TGeoBatemanSol()
 Destructor.
TGeoBatemanSol& operator=(const TGeoBatemanSol& other)
 Assignment.
TGeoBatemanSol& operator+=(const TGeoBatemanSol& other)
 Addition of other solution.
Double_t Concentration(Double_t time) const
 Find concentration of the element at a given time.
void Draw(Option_t* option = "")
 Draw the solution of Bateman equation versus time.
void FindSolution(const TObjArray* array)
 Find the solution for the Bateman equations corresponding to the decay
 chain described by an array ending with element X.
 A->B->...->X
 Cn = SUM [Ain * exp(-LMBDi*t)];
      Cn    - concentration Nx/Na
      n     - order of X in chain (A->B->X => n=3)
      LMBDi - decay constant for element of order i in the chain
      Ain = LMBD1*...*LMBD(n-1) * br1*...*br(n-1)/(LMBD1-LMBDi)...(LMBDn-LMBDi)
      bri   - branching ratio for decay Ei->Ei+1
void Normalize(Double_t factor)
 Normalize all coefficients with a given factor.
void Print(Option_t* option = "") const
 Print concentration evolution.
TGeoBatemanSol()
{}
void GetCoeff(Int_t i, Double_t& cn, Double_t& lambda) const
{cn=fCoeff[i].cn; lambda=fCoeff[i].lambda;}
void GetRange(Double_t& tmin, Double_t& tmax) const
{tmin=fTmin; tmax=fTmax;}
TGeoElementRN * GetElement() const
{return fElem;}
TGeoElementRN * GetTopElement() const
{return fElemTop;}
Int_t GetNcoeff() const
{return fNcoeff;}
void SetRange(Double_t tmin = 0., Double_t tmax = 0.)
{fTmin=tmin; fTmax=tmax;}
void SetFactor(Double_t factor)
{fFactor = factor;}