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

G3Material.cxx

Go to the documentation of this file.
00001 /* *************************************************************************
00002  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
00003  *                                                                        *
00004  * Author: The ALICE Off-line Project.                                    *
00005  * Contributors are mentioned in the code where appropriate.              *
00006  *                                                                        *
00007  * Permission to use, copy, modify and distribute this software and its   *
00008  * documentation strictly for non-commercial purposes is hereby granted   *
00009  * without fee, provided that the above copyright notice appears in all   *
00010  * copies and that both the copyright notice and this permission notice   *
00011  * appear in the supporting documentation. The authors make no claims     *
00012  * about the suitability of this software for any purpose. It is          *
00013  * provided "as is" without express or implied warranty.                  *
00014  **************************************************************************/
00015 
00016 //
00017 // G3 Material Class for the G3 GUI
00018 // Author: Andreas Morsch
00019 // andreas.morsch@cern.ch
00020 //
00021 
00022 #include "G3Material.h"
00023 
00024 ClassImp(G3Material)
00025 G3Material::G3Material(char* name, char* title,
00026                                Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t intl):
00027     TMaterial(name, title, a, z, dens, radl, intl)
00028 {
00029     fId=-1;
00030 }
00031 
00032 
00033 void G3Material::Dump() const
00034 {
00035     // Dump material information (Attn: overrides TObject::Dump()).
00036 
00037     printf("\n *****************************************");
00038     printf("\n Material Number:   %10d", fId);
00039     printf("\n %s", GetName());
00040     printf("\n Mass   Number:     %10.2f", fA);
00041     printf("\n Charge Number:     %10.2f", fZ);
00042     printf("\n Density:           %10.2f", fDensity);
00043     printf("\n Radiation  Length: %10.2f", fRadLength);
00044     printf("\n Absorption Length: %10.2f", fInterLength);        
00045 }
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 
00060 

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