library: libGraf3d #include "TMaterial.h"

# TMaterial

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

## class TMaterial : public TNamed, public TAttFill

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`TAttFill`
| <- | `TMaterial` |
<- |
`TMixture` |

        public:

                          TMaterial()
                          TMaterial(const char* name, const char* title, Float_t a, Float_t z, Float_t density)
                          TMaterial(const char* name, const char* title, Float_t a, Float_t z, Float_t density, Float_t radl, Float_t inter)
                          TMaterial(const TMaterial&)
                  virtual ~TMaterial()
           static TClass* Class()
          virtual Float_t GetA() const
          virtual Float_t GetDensity() const
          virtual Float_t GetInterLength() const
            virtual Int_t GetNumber() const
          virtual Float_t GetRadLength() const
          virtual Float_t GetZ() const
          virtual TClass* IsA() const
               TMaterial& operator=(const TMaterial&)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

            Int_t fNumber       Material matrix number
          Float_t fA            A of Material
          Float_t fZ            Z of Material
          Float_t fDensity      Material density in gr/cm3
          Float_t fRadLength    Material radiation length
          Float_t fInterLength  Material interaction length

## Class Description

     Manages a detector material. See class TGeometry

TMaterial()

    *-*-*-*-*-*-*-*-*-*-*Material default constructor*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ============================

TMaterial(const char *name, const char *title, Float_t a, Float_t z, Float_t density) :TNamed(name,title), TAttFill(0,1)

    *-*-*-*-*-*-*-*-*-*-*Material normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ============================

TMaterial(const char *name, const char *title, Float_t a, Float_t z, Float_t density, Float_t radl, Float_t inter) :TNamed(name,title), TAttFill(0,1)

    *-*-*-*-*-*-*-*-*-*-*Material normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ============================

~TMaterial()

    *-*-*-*-*-*-*-*-*-*-*Material default destructor*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ============================

void Streamer(TBuffer &R__b)

     Stream an object of class TMaterial.

### Inline Functions

                  Int_t GetNumber() const
                Float_t GetA() const
                Float_t GetZ() const
                Float_t GetDensity() const
                Float_t GetRadLength() const
                Float_t GetInterLength() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void StreamerNVirtual(TBuffer& b)
              TMaterial TMaterial(const TMaterial&)
             TMaterial& operator=(const TMaterial&)

Author: Rene Brun 03/10/95
Last update: root/g3d:$Name: $:$Id: TMaterial.cxx,v 1.2 2001/04/16 19:15:00 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *