TMixture


class description - source file - inheritance tree

class TMixture : public TMaterial


    public:
TMixture TMixture() TMixture TMixture(Text_t* name, Text_t* title, Int_t nmixt) TMixture TMixture(TMixture&) virtual void ~TMixture() 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 Array of A of mixtures Float_t* fZmixt Array of Z of mixtures Float_t* fWmixt Array of relative weights

Class Description

 Manages a detector mixture. See class TGeometry.


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

TMixture(Text_t *name, Text_t *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: 2.00/00 17/04/99 07.50.09 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.