TGeoMixture


class description - source file - inheritance tree

class TGeoMixture : public TGeoMaterial


    public:
TGeoMixture TGeoMixture() TGeoMixture TGeoMixture(const char* name, Int_t nel, Double_t rho = -1) TGeoMixture TGeoMixture(const TGeoMixture&) virtual void ~TGeoMixture() static TClass* Class() void DefineElement(Int_t i, Double_t a, Double_t z, Double_t weight) Double_t* GetAmixt() const virtual Int_t GetByteCount() const Int_t GetNelements() const Double_t* GetWmixt() const Double_t* GetZmixt() const virtual TClass* IsA() const virtual Bool_t IsEq(const TGeoMaterial* other) const virtual void Print(const Option_t* option) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    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 weights

Class Description

 Full description with examples and pictures





/*

*/


TGeoMixture()
 Default constructor

TGeoMixture(const char *name, Int_t nel, Double_t rho) :TGeoMaterial(name)
 constructor

~TGeoMixture()
 Destructor

void DefineElement(Int_t i, Double_t a, Double_t z, Double_t weight)
 add an element to the mixture

Bool_t IsEq(const TGeoMaterial *other) const
 return true if the other material has the same physical properties

void Print(const Option_t * /*option*/) const
 print characteristics of this material



Inline Functions


              Int_t GetByteCount() const
              Int_t GetNelements() const
          Double_t* GetZmixt() const
          Double_t* GetAmixt() const
          Double_t* GetWmixt() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
        TGeoMixture TGeoMixture(const TGeoMixture&)


Author: Andrei Gheata 25/10/01
Last update: root/geom:$Name: $:$Id: TGeoMaterial.cxx,v 1.7 2003/02/17 11:57:31 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.