library: libGeom
#include "TGeoMaterial.h"

TGeoMaterial


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

class TGeoMaterial : public TNamed, public TAttFill

Inheritance Chart:
TObject
<-
TNamed
TAttFill
<-
TGeoMaterial
<-
TGeoMixture

    protected:
TGeoMaterial(const TGeoMaterial&) TGeoMaterial& operator=(const TGeoMaterial&) public:
TGeoMaterial() TGeoMaterial(const char* name) TGeoMaterial(const char* name, Double_t a, Double_t z, Double_t rho, Double_t radlen = 0, Double_t intlen = 0) TGeoMaterial(const char* name, TGeoElement* elem, Double_t rho) virtual ~TGeoMaterial() static TClass* Class() static Double_t Coulomb(Double_t z) virtual Double_t GetA() const TGeoElement* GetBaseElement() const virtual Int_t GetByteCount() const virtual TObject* GetCerenkovProperties() const virtual Int_t GetDefaultColor() const virtual Double_t GetDensity() const virtual TGeoElement* GetElement(Int_t i = 0) const Int_t GetIndex() virtual Double_t GetIntLen() const char* GetPointerName() const virtual Double_t GetRadLen() const Char_t GetTransparency() const virtual Double_t GetZ() const virtual TClass* IsA() const virtual Bool_t IsEq(const TGeoMaterial* other) const virtual Bool_t IsMixture() const Bool_t IsUsed() const virtual void Print(Option_t* option = "") const virtual void SavePrimitive(ostream& out, Option_t* option = "") static Double_t ScreenFactor(Double_t z) virtual void SetCerenkovProperties(TObject* cerenkov) void SetIndex(Int_t index) void SetRadLen(Double_t radlen, Double_t intlen = 0.) void SetTransparency(Char_t transparency = 0) void SetUsed(Bool_t flag = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fIndex material index Double_t fA A of material Double_t fZ Z of material Double_t fDensity density of material Double_t fRadLen radiation length Double_t fIntLen interaction length TObject* fShader shader with optical properties TObject* fCerenkov pointer to class with Cerenkov properties TGeoElement* fElement pointer to element composing the material public:
static const TGeoMaterial::EGeoMaterial kMatUsed static const TGeoMaterial::EGeoMaterial kMatSavePrimitive

Class Description

 Full description with examples and pictures




TGeoMaterial()
 Default constructor
TGeoMaterial(const char *name)
 constructor
TGeoMaterial(const char *name, Double_t a, Double_t z, Double_t rho, Double_t radlen, Double_t intlen)
 constructor
TGeoMaterial(const char *name, TGeoElement *elem, Double_t rho)
 constructor
TGeoMaterial(const TGeoMaterial& gm)
copy constructor
TGeoMaterial& operator=(const TGeoMaterial& gm)
assignment operator
~TGeoMaterial()
 Destructor
char * GetPointerName()
 Provide a pointer name containing uid.
void SetRadLen(Double_t radlen, Double_t intlen)
 Set radiation/absorbtion lengths. If the values are negative, their absolute value
 is taken, otherwise radlen is recomputed using G3 formula.
Double_t Coulomb(Double_t z)
 static function
  Compute Coulomb correction for pair production and Brem
  REFERENCE : EGS MANUAL SLAC 210 - UC32 - JUNE 78
                        FORMULA 2.7.17
Bool_t IsEq(const TGeoMaterial *other)
 return true if the other material has the same physical properties
void SavePrimitive(ostream &out, Option_t * /*option*/ /*= ""*/)
 Save a primitive as a C++ statement(s) on output stream "out".
Int_t GetDefaultColor()
 Get some default color related to this material.
TGeoElement * GetElement(Int_t)
 Get a pointer to the element this material is made of.
Int_t GetIndex()
 Retreive material index in the list of materials
Double_t ScreenFactor(Double_t z)
 static function
  Compute screening factor for pair production and Bremstrahlung
  REFERENCE : EGS MANUAL SLAC 210 - UC32 - JUNE 78
                        FORMULA 2.7.22
Int_t GetByteCount()
Double_t GetA()
Double_t GetZ()
Double_t GetDensity()
Double_t GetRadLen()
Double_t GetIntLen()
Char_t GetTransparency()
Bool_t IsUsed()
Bool_t IsMixture()
void Print(const Option_t *option="")
void SetIndex(Int_t index)
void SetCerenkovProperties(TObject* cerenkov)
void SetUsed(Bool_t flag=kTRUE)
void SetTransparency(Char_t transparency=0)

Author: Andrei Gheata 25/10/01
Last update: root/geom:$Name: $:$Id: TGeoMaterial.cxx,v 1.34 2006/07/10 19:38:35 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.