TGeoMixture Class Reference

#include <TGeoMaterial.h>

Inheritance diagram for TGeoMixture:

TGeoMaterial TGeoMaterial TAttFill TNamed TAttFill TNamed TAttFill TNamed TAttFill TNamed List of all members.

Public Member Functions

 TGeoMixture ()
 TGeoMixture (const char *name, Int_t nel, Double_t rho=-1)
virtual ~TGeoMixture ()
void AddElement (Double_t a, Double_t z, Double_t weight)
void AddElement (TGeoMaterial *mat, Double_t weight)
void AddElement (TGeoElement *elem, Double_t weight)
void AddElement (TGeoElement *elem, Int_t natoms)
void DefineElement (Int_t iel, Double_t a, Double_t z, Double_t weight)
void DefineElement (Int_t iel, TGeoElement *elem, Double_t weight)
void DefineElement (Int_t iel, Int_t z, Int_t natoms)
virtual TGeoMaterialDecayMaterial (Double_t time, Double_t precision=0.001)
virtual void FillMaterialEvolution (TObjArray *population, Double_t precision=0.001)
virtual Int_t GetByteCount () const
virtual TGeoElementGetElement (Int_t i=0) const
Int_t GetNelements () const
Double_tGetZmixt () const
Double_tGetAmixt () const
Double_tGetWmixt () const
Int_tGetNmixt () const
virtual Bool_t IsEq (const TGeoMaterial *other) const
virtual Bool_t IsMixture () const
virtual void Print (const Option_t *option="") const
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetA (Double_t a)
void SetZ (Double_t z)
 TGeoMixture ()
 TGeoMixture (const char *name, Int_t nel, Double_t rho=-1)
virtual ~TGeoMixture ()
void AddElement (Double_t a, Double_t z, Double_t weight)
void AddElement (TGeoMaterial *mat, Double_t weight)
void AddElement (TGeoElement *elem, Double_t weight)
void AddElement (TGeoElement *elem, Int_t natoms)
void DefineElement (Int_t iel, Double_t a, Double_t z, Double_t weight)
void DefineElement (Int_t iel, TGeoElement *elem, Double_t weight)
void DefineElement (Int_t iel, Int_t z, Int_t natoms)
virtual TGeoMaterialDecayMaterial (Double_t time, Double_t precision=0.001)
virtual void FillMaterialEvolution (TObjArray *population, Double_t precision=0.001)
virtual Int_t GetByteCount () const
virtual TGeoElementGetElement (Int_t i=0) const
Int_t GetNelements () const
Double_tGetZmixt () const
Double_tGetAmixt () const
Double_tGetWmixt () const
Int_tGetNmixt () const
virtual Bool_t IsEq (const TGeoMaterial *other) const
virtual Bool_t IsMixture () const
virtual void Print (const Option_t *option="") const
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetA (Double_t a)
void SetZ (Double_t z)

Protected Member Functions

 TGeoMixture (const TGeoMixture &)
TGeoMixtureoperator= (const TGeoMixture &)
void AverageProperties ()
 TGeoMixture (const TGeoMixture &)
TGeoMixtureoperator= (const TGeoMixture &)
void AverageProperties ()

Protected Attributes

Int_t fNelements
Double_tfZmixture
Double_tfAmixture
Double_tfWeights
Int_tfNatoms
TObjArrayfElements
Double_tfZmixture
Double_tfAmixture
Double_tfWeights
Int_tfNatoms
TObjArrayfElements

Detailed Description

Definition at line 147 of file TGeoMaterial.h.


Constructor & Destructor Documentation

TGeoMixture::TGeoMixture ( const TGeoMixture  )  [protected]

Definition at line 491 of file TGeoMaterial.cxx.

TGeoMixture::TGeoMixture (  ) 

Referenced by DecayMaterial().

TGeoMixture::TGeoMixture ( const char *  name,
Int_t  nel,
Double_t  rho = -1 
)

Definition at line 476 of file TGeoMaterial.cxx.

References fAmixture, TGeoMaterial::fDensity, fElements, fNatoms, fNelements, fWeights, and fZmixture.

TGeoMixture::~TGeoMixture (  )  [virtual]

Definition at line 520 of file TGeoMaterial.cxx.

References fAmixture, fElements, fNatoms, fWeights, and fZmixture.

TGeoMixture::TGeoMixture ( const TGeoMixture  )  [protected]

TGeoMixture::TGeoMixture (  ) 

TGeoMixture::TGeoMixture ( const char *  name,
Int_t  nel,
Double_t  rho = -1 
)

virtual TGeoMixture::~TGeoMixture (  )  [virtual]


Member Function Documentation

TGeoMixture & TGeoMixture::operator= ( const TGeoMixture  )  [protected]

Definition at line 504 of file TGeoMaterial.cxx.

References fAmixture, fElements, fNatoms, fNelements, fWeights, fZmixture, and TGeoMaterial::operator=().

void TGeoMixture::AverageProperties (  )  [protected]

Definition at line 531 of file TGeoMaterial.cxx.

References TGeoElement::A(), TGeoShape::Big(), TGeoMaterial::Coulomb(), TGeoMaterial::fA, fAmixture, TGeoMaterial::fDensity, TGeoMaterial::fIntLen, fNelements, TGeoMaterial::fRadLen, fWeights, TGeoMaterial::fZ, fZmixture, g, GetElement(), j, TMath::Log(), TMath::Na(), TMath::Power(), and TGeoMaterial::ScreenFactor().

Referenced by AddElement().

void TGeoMixture::AddElement ( Double_t  a,
Double_t  z,
Double_t  weight 
)

Definition at line 564 of file TGeoMaterial.cxx.

References TMath::Abs(), AverageProperties(), E, fAmixture, TObject::Fatal(), fNelements, fWeights, fZmixture, GetElement(), TGeoManager::GetElementTable(), TNamed::GetName(), gGeoManager, i, j, TGeoElement::SetDefined(), and TObject::Warning().

Referenced by AddElement(), TGeoMaterial::DecayMaterial(), DecayMaterial(), DefineElement(), TGeoMixtureEditor::DoAddElem(), and RadioNuclides().

void TGeoMixture::AddElement ( TGeoMaterial mat,
Double_t  weight 
)

Definition at line 616 of file TGeoMaterial.cxx.

References a, AddElement(), fNelements, fWeights, TGeoMaterial::GetA(), TGeoMaterial::GetBaseElement(), GetElement(), GetNelements(), GetWmixt(), TGeoMaterial::GetZ(), i, TGeoMaterial::IsMixture(), j, kFALSE, and kTRUE.

void TGeoMixture::AddElement ( TGeoElement elem,
Double_t  weight 
)

Definition at line 662 of file TGeoMaterial.cxx.

References TObjArray::AddAt(), TObjArray::AddAtAndExpand(), AddElement(), TObjArray::At(), fElements, fNelements, fZmixture, TGeoManager::GetElementTable(), gGeoManager, i, kFALSE, and kTRUE.

void TGeoMixture::AddElement ( TGeoElement elem,
Int_t  natoms 
)

Definition at line 680 of file TGeoMaterial.cxx.

References TGeoElement::A(), TMath::Abs(), TObjArray::AddAt(), TObjArray::AddAtAndExpand(), TObjArray::At(), AverageProperties(), fAmixture, TObject::Fatal(), fElements, fNatoms, fNelements, fWeights, fZmixture, TGeoManager::GetElementTable(), TNamed::GetName(), gGeoManager, i, j, and TGeoElement::Z().

void TGeoMixture::DefineElement ( Int_t  iel,
Double_t  a,
Double_t  z,
Double_t  weight 
) [inline]

Definition at line 199 of file TGeoMaterial.h.

References AddElement().

Referenced by TGeoBuilder::Mixture(), and stressShapes().

void TGeoMixture::DefineElement ( Int_t  iel,
TGeoElement elem,
Double_t  weight 
) [inline]

Definition at line 201 of file TGeoMaterial.h.

References AddElement().

void TGeoMixture::DefineElement ( Int_t  iel,
Int_t  z,
Int_t  natoms 
)

Definition at line 752 of file TGeoMaterial.cxx.

References AddElement(), TObject::Fatal(), TGeoManager::GetElementTable(), TNamed::GetName(), and gGeoManager.

TGeoMaterial * TGeoMixture::DecayMaterial ( Double_t  time,
Double_t  precision = 0.001 
) [virtual]

Reimplemented from TGeoMaterial.

Definition at line 836 of file TGeoMaterial.cxx.

References TGeoElement::A(), AddElement(), TObjArray::At(), TGeoBatemanSol::Concentration(), fAmixture, TGeoMaterial::fDensity, fElements, FillMaterialEvolution(), TString::Format(), fWeights, TObjArray::GetEntriesFast(), TNamed::GetName(), i, TObjArray::IndexOf(), TGeoElement::IsRadioNuclide(), j, NULL, TGeoElementRN::Ratio(), TGeoMaterial::TGeoMaterial(), and TGeoMixture().

Referenced by RadioNuclides().

void TGeoMixture::FillMaterialEvolution ( TObjArray population,
Double_t  precision = 0.001 
) [virtual]

Reimplemented from TGeoMaterial.

Definition at line 890 of file TGeoMaterial.cxx.

References TObjArray::Add(), TObject::Error(), fAmixture, TGeoElementRN::FillPopulation(), fNelements, fWeights, GetElement(), TGeoManager::GetElementTable(), TObjArray::GetEntriesFast(), gGeoManager, i, TGeoElement::IsRadioNuclide(), and TGeoElementRN::ResetRatio().

Referenced by DecayMaterial(), and RadioNuclides().

virtual Int_t TGeoMixture::GetByteCount (  )  const [inline, virtual]

Reimplemented from TGeoMaterial.

Definition at line 181 of file TGeoMaterial.h.

References fNelements.

TGeoElement * TGeoMixture::GetElement ( Int_t  i = 0  )  const [virtual]

Reimplemented from TGeoMaterial.

Definition at line 765 of file TGeoMaterial.cxx.

References TObjArray::At(), TObject::Error(), fElements, fNelements, fZmixture, TGeoManager::GetElementTable(), TNamed::GetName(), and gGeoManager.

Referenced by AddElement(), AverageProperties(), FillMaterialEvolution(), Print(), SavePrimitive(), TGeoMixtureEditor::UpdateElements(), and TGeoManager::UpdateElements().

Int_t TGeoMixture::GetNelements (  )  const [inline]

Definition at line 183 of file TGeoMaterial.h.

References fNelements.

Referenced by AddElement(), TGeoMixtureEditor::DoChkFraction(), TGeoMixtureEditor::DoChkNatoms(), TGeoMixtureEditor::DoFraction(), TGeoMixtureEditor::DoNatoms(), IsEq(), TGeoMixtureEditor::UpdateElements(), and TGeoManager::UpdateElements().

Double_t* TGeoMixture::GetZmixt (  )  const [inline]

Definition at line 184 of file TGeoMaterial.h.

References fZmixture.

Referenced by IsEq(), and TGeoMixtureEditor::UpdateElements().

Double_t* TGeoMixture::GetAmixt (  )  const [inline]

Definition at line 185 of file TGeoMaterial.h.

References fAmixture.

Referenced by IsEq(), and TGeoMixtureEditor::UpdateElements().

Double_t* TGeoMixture::GetWmixt (  )  const [inline]

Definition at line 186 of file TGeoMaterial.h.

References fWeights.

Referenced by AddElement(), IsEq(), and TGeoMixtureEditor::UpdateElements().

Int_t* TGeoMixture::GetNmixt (  )  const [inline]

Definition at line 187 of file TGeoMaterial.h.

References fNatoms.

Referenced by TGeoMixtureEditor::DoChkFraction(), TGeoMixtureEditor::DoChkNatoms(), TGeoMixtureEditor::DoFraction(), TGeoMixtureEditor::DoNatoms(), and TGeoMixtureEditor::UpdateElements().

Bool_t TGeoMixture::IsEq ( const TGeoMaterial other  )  const [virtual]

Reimplemented from TGeoMaterial.

Definition at line 780 of file TGeoMaterial.cxx.

References TMath::Abs(), E, TGeoMaterial::fA, fAmixture, TGeoMaterial::fDensity, fNelements, fWeights, TGeoMaterial::fZ, fZmixture, TGeoMaterial::GetA(), GetAmixt(), TGeoMaterial::GetCerenkovProperties(), TGeoMaterial::GetDensity(), GetNelements(), GetWmixt(), TGeoMaterial::GetZ(), GetZmixt(), i, TObject::IsEqual(), TGeoMaterial::IsMixture(), kFALSE, and kTRUE.

virtual Bool_t TGeoMixture::IsMixture (  )  const [inline, virtual]

Reimplemented from TGeoMaterial.

Definition at line 190 of file TGeoMaterial.h.

References kTRUE.

void TGeoMixture::Print ( const Option_t option = ""  )  const [virtual]

Reimplemented from TGeoMaterial.

Definition at line 803 of file TGeoMaterial.cxx.

References TGeoMaterial::fA, fAmixture, TGeoMaterial::fDensity, TGeoMaterial::fIndex, TGeoMaterial::fIntLen, fNatoms, fNelements, TGeoMaterial::fRadLen, fWeights, TGeoMaterial::fZ, fZmixture, GetElement(), TNamed::GetName(), TNamed::GetTitle(), and i.

Referenced by RadioNuclides().

void TGeoMixture::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoMaterial.

Definition at line 817 of file TGeoMaterial.cxx.

References fAmixture, TGeoMaterial::fDensity, fNelements, fWeights, fZmixture, GetElement(), TGeoMaterial::GetIndex(), TNamed::GetName(), TGeoMaterial::GetPointerName(), i, TGeoMaterial::kMatSavePrimitive, name, TObject::SetBit(), and TObject::TestBit().

void TGeoMixture::SetA ( Double_t  a  )  [inline]

Reimplemented from TGeoMaterial.

Definition at line 193 of file TGeoMaterial.h.

References TGeoMaterial::fA.

void TGeoMixture::SetZ ( Double_t  z  )  [inline]

Reimplemented from TGeoMaterial.

Definition at line 194 of file TGeoMaterial.h.

References TGeoMaterial::fZ.

TGeoMixture& TGeoMixture::operator= ( const TGeoMixture  )  [protected]

void TGeoMixture::AverageProperties (  )  [protected]

void TGeoMixture::AddElement ( Double_t  a,
Double_t  z,
Double_t  weight 
)

void TGeoMixture::AddElement ( TGeoMaterial mat,
Double_t  weight 
)

void TGeoMixture::AddElement ( TGeoElement elem,
Double_t  weight 
)

void TGeoMixture::AddElement ( TGeoElement elem,
Int_t  natoms 
)

void TGeoMixture::DefineElement ( Int_t  iel,
Double_t  a,
Double_t  z,
Double_t  weight 
)

void TGeoMixture::DefineElement ( Int_t  iel,
TGeoElement elem,
Double_t  weight 
)

void TGeoMixture::DefineElement ( Int_t  iel,
Int_t  z,
Int_t  natoms 
)

virtual TGeoMaterial* TGeoMixture::DecayMaterial ( Double_t  time,
Double_t  precision = 0.001 
) [virtual]

Reimplemented from TGeoMaterial.

virtual void TGeoMixture::FillMaterialEvolution ( TObjArray population,
Double_t  precision = 0.001 
) [virtual]

Reimplemented from TGeoMaterial.

virtual Int_t TGeoMixture::GetByteCount (  )  const [inline, virtual]

Reimplemented from TGeoMaterial.

Definition at line 181 of file TGeoMaterial.h.

References fNelements.

virtual TGeoElement* TGeoMixture::GetElement ( Int_t  i = 0  )  const [virtual]

Reimplemented from TGeoMaterial.

Int_t TGeoMixture::GetNelements (  )  const [inline]

Definition at line 183 of file TGeoMaterial.h.

References fNelements.

Double_t* TGeoMixture::GetZmixt (  )  const [inline]

Definition at line 184 of file TGeoMaterial.h.

References fZmixture.

Double_t* TGeoMixture::GetAmixt (  )  const [inline]

Definition at line 185 of file TGeoMaterial.h.

References fAmixture.

Double_t* TGeoMixture::GetWmixt (  )  const [inline]

Definition at line 186 of file TGeoMaterial.h.

References fWeights.

Int_t* TGeoMixture::GetNmixt (  )  const [inline]

Definition at line 187 of file TGeoMaterial.h.

References fNatoms.

virtual Bool_t TGeoMixture::IsEq ( const TGeoMaterial other  )  const [virtual]

Reimplemented from TGeoMaterial.

virtual Bool_t TGeoMixture::IsMixture (  )  const [inline, virtual]

Reimplemented from TGeoMaterial.

Definition at line 190 of file TGeoMaterial.h.

References kTRUE.

virtual void TGeoMixture::Print ( const Option_t option = ""  )  const [virtual]

Reimplemented from TGeoMaterial.

virtual void TGeoMixture::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoMaterial.

void TGeoMixture::SetA ( Double_t  a  )  [inline]

Reimplemented from TGeoMaterial.

Definition at line 193 of file TGeoMaterial.h.

References TGeoMaterial::fA.

void TGeoMixture::SetZ ( Double_t  z  )  [inline]

Reimplemented from TGeoMaterial.

Definition at line 194 of file TGeoMaterial.h.

References TGeoMaterial::fZ.


Member Data Documentation

Int_t TGeoMixture::fNelements [protected]

Definition at line 151 of file TGeoMaterial.h.

Referenced by AddElement(), AverageProperties(), FillMaterialEvolution(), GetByteCount(), GetElement(), GetNelements(), IsEq(), operator=(), Print(), SavePrimitive(), and TGeoMixture().

Double_t* TGeoMixture::fZmixture [protected]

Definition at line 152 of file TGeoMaterial.h.

Referenced by AddElement(), AverageProperties(), GetElement(), GetZmixt(), IsEq(), operator=(), Print(), SavePrimitive(), TGeoMixture(), and ~TGeoMixture().

Double_t* TGeoMixture::fAmixture [protected]

Definition at line 153 of file TGeoMaterial.h.

Referenced by AddElement(), AverageProperties(), DecayMaterial(), FillMaterialEvolution(), GetAmixt(), IsEq(), operator=(), Print(), SavePrimitive(), TGeoMixture(), and ~TGeoMixture().

Double_t* TGeoMixture::fWeights [protected]

Definition at line 154 of file TGeoMaterial.h.

Referenced by AddElement(), AverageProperties(), DecayMaterial(), FillMaterialEvolution(), GetWmixt(), IsEq(), operator=(), Print(), SavePrimitive(), TGeoMixture(), and ~TGeoMixture().

Int_t* TGeoMixture::fNatoms [protected]

Definition at line 155 of file TGeoMaterial.h.

Referenced by AddElement(), GetNmixt(), operator=(), Print(), TGeoMixture(), and ~TGeoMixture().

TObjArray* TGeoMixture::fElements [protected]

Definition at line 156 of file TGeoMaterial.h.

Referenced by AddElement(), DecayMaterial(), GetElement(), operator=(), TGeoMixture(), and ~TGeoMixture().

Double_t* TGeoMixture::fZmixture [protected]

Definition at line 152 of file TGeoMaterial.h.

Double_t* TGeoMixture::fAmixture [protected]

Definition at line 153 of file TGeoMaterial.h.

Double_t* TGeoMixture::fWeights [protected]

Definition at line 154 of file TGeoMaterial.h.

Int_t* TGeoMixture::fNatoms [protected]

Definition at line 155 of file TGeoMaterial.h.

TObjArray* TGeoMixture::fElements [protected]

Definition at line 156 of file TGeoMaterial.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1