library: libGraf3d
#include "TMixture.h"


class description - source file - inheritance tree (.pdf)

class TMixture : public TMaterial

Inheritance Chart:

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

Data Members

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.

*-*-*-*-*-*-*-*-*-*-*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)

*-*-*-*-*-*-*-*-*-*-*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() const
           Float_t* GetAmixt() const
           Float_t* GetZmixt() const
           Float_t* GetWmixt() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
           TMixture TMixture(const TMixture&)
          TMixture& operator=(const TMixture&)

Author: Rene Brun 03/10/95
Last update: root/g3d:$Name: $:$Id: TMixture.cxx,v 1.2 2003/04/03 20:20:15 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.