// @(#)root/g3d:$Id$
// Author: Rene Brun   03/10/95

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TMaterial                                                            //
//                                                                      //
// Materials used in the Geometry Shapes                                //
//                                                                      //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TMaterial
#define ROOT_TMaterial

#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TAttFill
#include "TAttFill.h"
#endif

class TMaterial  : public TNamed, public TAttFill {
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

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);
   virtual ~TMaterial();
   virtual Int_t     GetNumber() const      {return fNumber;}
   virtual Float_t   GetA() const           {return fA;}
   virtual Float_t   GetZ() const           {return fZ;}
   virtual Float_t   GetDensity() const     {return fDensity;}
   virtual Float_t   GetRadLength() const   {return fRadLength;}
   virtual Float_t   GetInterLength() const {return fInterLength;}

   ClassDef(TMaterial,3)  //Materials used in the Geometry Shapes
};

#endif
 TMaterial.h:1
 TMaterial.h:2
 TMaterial.h:3
 TMaterial.h:4
 TMaterial.h:5
 TMaterial.h:6
 TMaterial.h:7
 TMaterial.h:8
 TMaterial.h:9
 TMaterial.h:10
 TMaterial.h:11
 TMaterial.h:12
 TMaterial.h:13
 TMaterial.h:14
 TMaterial.h:15
 TMaterial.h:16
 TMaterial.h:17
 TMaterial.h:18
 TMaterial.h:19
 TMaterial.h:20
 TMaterial.h:21
 TMaterial.h:22
 TMaterial.h:23
 TMaterial.h:24
 TMaterial.h:25
 TMaterial.h:26
 TMaterial.h:27
 TMaterial.h:28
 TMaterial.h:29
 TMaterial.h:30
 TMaterial.h:31
 TMaterial.h:32
 TMaterial.h:33
 TMaterial.h:34
 TMaterial.h:35
 TMaterial.h:36
 TMaterial.h:37
 TMaterial.h:38
 TMaterial.h:39
 TMaterial.h:40
 TMaterial.h:41
 TMaterial.h:42
 TMaterial.h:43
 TMaterial.h:44
 TMaterial.h:45
 TMaterial.h:46
 TMaterial.h:47
 TMaterial.h:48
 TMaterial.h:49
 TMaterial.h:50
 TMaterial.h:51
 TMaterial.h:52
 TMaterial.h:53
 TMaterial.h:54
 TMaterial.h:55
 TMaterial.h:56