TGeoMixture


class description - source file - inheritance tree

class TGeoMixture : public TGeoMaterial


    public:
TGeoMixture TGeoMixture() TGeoMixture TGeoMixture(const char* name, const char* title, Int_t nel) 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() virtual Int_t GetByteCount() Int_t GetNelements() Double_t* GetWmixt() Double_t* GetZmixt() virtual TClass* IsA() const virtual Bool_t IsEq(TGeoMaterial* other) 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, const char *title, Int_t nel) :TGeoMaterial(name, title)
 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(TGeoMaterial *other)
 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()
              Int_t GetNelements()
          Double_t* GetZmixt()
          Double_t* GetAmixt()
          Double_t* GetWmixt()
            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.2 2002/07/10 19:24:16 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.