TGeoMaterial


class description - source file - inheritance tree

class TGeoMaterial : public TNamed, public TAttFill


    public:
TGeoMaterial TGeoMaterial() TGeoMaterial TGeoMaterial(const char* name, const char* title) TGeoMaterial TGeoMaterial(const char* name, const char* title, Double_t a, Double_t z, Double_t rho, Double_t radlen = 0, Double_t intlen = 0) TGeoMaterial TGeoMaterial(const TGeoMaterial&) virtual void ~TGeoMaterial() static TClass* Class() virtual Double_t GetA() virtual Int_t GetByteCount() virtual Int_t GetDefaultColor() virtual Double_t GetDensity() virtual Double_t GetIntLen() Int_t GetMedia() virtual Double_t GetRadLen() virtual Double_t GetZ() virtual TClass* IsA() const virtual Bool_t IsEq(TGeoMaterial* other) virtual void Print(const Option_t* option) const void SetMedia(Int_t id) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TObject* fShader shader with optical properties 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 protected:
Int_t fId unique Id public:
static const TGeoMaterial::EGeoMaterial kMatUsed


See also

TGeoMixture

Class Description

 Full description with examples and pictures





/*

*/


TGeoMaterial()
 Default constructor

TGeoMaterial(const char *name, const char *title) :TNamed(name, title)
 constructor

TGeoMaterial(const char *name, const char *title, Double_t a, Double_t z, Double_t rho, Double_t radlen, Double_t intlen) :TNamed(name, title)
 constructor

~TGeoMaterial()
 Destructor

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

Int_t GetDefaultColor()



Inline Functions


               Int_t GetMedia()
               Int_t GetByteCount()
            Double_t GetA()
            Double_t GetZ()
            Double_t GetDensity()
            Double_t GetRadLen()
            Double_t GetIntLen()
                void SetMedia(Int_t id)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TGeoMaterial TGeoMaterial(const TGeoMaterial&)


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.