library: libGeom #include "TGeoMaterial.h" |
TGeoMixture
class description - header file - source file - inheritance tree (.pdf)
protected:
TGeoMixture(const TGeoMixture&)
void AverageProperties()
TGeoMixture& operator=(const TGeoMixture&)
public:
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)
static TClass* Class()
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)
Double_t* GetAmixt() const
virtual Int_t GetByteCount() const
virtual TGeoElement* GetElement(Int_t i = 0) const
Int_t GetNelements() const
Int_t* GetNmixt() const
Double_t* GetWmixt() const
Double_t* GetZmixt() const
virtual TClass* IsA() const
virtual Bool_t IsEq(const TGeoMaterial* other) const
virtual Bool_t IsMixture() const
virtual void Print(Option_t* option = "") const
virtual void SavePrimitive(ostream& out, Option_t* option = "")
void SetA(Double_t a)
void SetZ(Double_t z)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t fNelements number of elements
Double_t* fZmixture [fNelements] array of Z of the elements
Double_t* fAmixture [fNelements] array of A of the elements
Double_t* fWeights [fNelements] array of relative proportions by mass
Int_t* fNatoms [fNelements] array of numbers of atoms
TObjArray* fElements array of elements composing the mixture
Full description with examples and pictures
Author: Andrei Gheata 25/10/01
Last update: root/geom:$Name: $:$Id: TGeoMaterial.cxx,v 1.34 2006/07/10 19:38:35 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.