Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

G3Material.h

Go to the documentation of this file.
00001 #ifndef G3MATERIAL_H
00002 #define G3MATERIAL_H
00003 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
00004  * See cxx source for full Copyright notice                               */
00005 
00006 /* $Id: G3Material.h,v 1.2 2009/02/16 08:26:59 schubert Exp $ */
00007 
00008 #include "TMaterial.h"
00009 
00010 class G3Material : public TMaterial
00011 {
00012 public:
00013     G3Material(){}
00014     G3Material(char* name, char* title,
00015                    Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t intl);
00016 
00017     virtual ~G3Material(){}
00018     // Dump material parameters
00019     virtual void  Dump() const;
00020     // Get material id
00021     virtual Int_t Id()    {return fId;}
00022     virtual void  SetId(Int_t id) {fId = id;}
00023 
00024 private:
00025     Int_t   fId;          // Id number of the material
00026     G3Material(const G3Material & mat): TMaterial(mat) {}
00027     G3Material &operator=(const G3Material &) {return *this;}
00028 
00029     ClassDef(G3Material,1) // G3 Material Class for the G3 GUI
00030 };
00031 
00032 #endif
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 

Generated on Mon Feb 15 11:06:45 2010 for loon by  doxygen 1.3.9.1