TMixture


class description - source file - inheritance tree

class TMixture : public TMaterial


    public:
TMixture TMixture() TMixture TMixture(const char* name, const char* title, Int_t nmixt) TMixture TMixture(TMixture&) virtual void ~TMixture() static TClass* Class() virtual void DefineElement(Int_t n, Float_t a, Float_t z, Float_t w) Float_t* GetAmixt() Int_t GetNmixt() Float_t* GetWmixt() Float_t* GetZmixt() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fNmixt Number of elements in mixture Float_t* fAmixt [fNmixt] Array of A of mixtures Float_t* fZmixt [fNmixt] Array of Z of mixtures Float_t* fWmixt [fNmixt] Array of relative weights

Class Description

 Manages a detector mixture. See class TGeometry.


TMixture()
*-*-*-*-*-*-*-*-*-*-*Mixture default constructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

TMixture(const char *name, const char *title, Int_t nmixt) :TMaterial(name,title,0,0,0)
*-*-*-*-*-*-*-*-*-*-*Mixture normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================
*-*
*-*       Defines mixture OR COMPOUND as composed by
*-*       the basic nmixt materials defined later by DefineElement.
*-*
*-*       If nmixt > 0 then Wmixt contains the PROPORTION BY WEIGHTS
*-*       of each basic material in the mixture.
*-*
*-*       If nmixt < 0 then Wmixt contains the number of atoms
*-*       of a given kind into the molecule of the COMPOUND
*-*       In this case, Wmixt is changed to relative weights.                                                 *
*-*
*-*       nb : the radiation length is computed according
*-*            the EGS manual slac-210 uc-32 June-78
*-*                          formula  2-6-8 (37)
*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

~TMixture()
*-*-*-*-*-*-*-*-*-*-*Mixture default destructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

void DefineElement(Int_t n, Float_t a, Float_t z, Float_t w)
*-*-*-*-*-*-*-*-*-*-*Define one mixture element*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ==========================

void Streamer(TBuffer &b)
*-*-*-*-*-*-*-*-*Stream a class object*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*              =========================================



Inline Functions


              Int_t GetNmixt()
           Float_t* GetAmixt()
           Float_t* GetZmixt()
           Float_t* GetWmixt()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
           TMixture TMixture(TMixture&)


Author: Rene Brun 03/10/95
Last update: root/g3d:$Name: $:$Id: TMixture.cxx,v 1.1.1.1 2000/05/16 17:00:42 rdm 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.