G3Material Class Reference

#include <G3Material.h>

List of all members.

Public Member Functions

 G3Material ()
 G3Material (char *name, char *title, Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t intl)
virtual ~G3Material ()
virtual void Dump () const
virtual Int_t Id ()
virtual void SetId (Int_t id)

Private Member Functions

 G3Material (const G3Material &mat)
G3Materialoperator= (const G3Material &)

Private Attributes

Int_t fId

Detailed Description

Definition at line 10 of file G3Material.h.


Constructor & Destructor Documentation

G3Material::G3Material (  )  [inline]

Definition at line 13 of file G3Material.h.

00013 {}

G3Material::G3Material ( char *  name,
char *  title,
Float_t  a,
Float_t  z,
Float_t  dens,
Float_t  radl,
Float_t  intl 
)

Definition at line 25 of file G3Material.cxx.

00026                                                                                               :
00027     TMaterial(name, title, a, z, dens, radl, intl)
00028 {
00029     fId=-1;
00030 }

virtual G3Material::~G3Material (  )  [inline, virtual]

Definition at line 17 of file G3Material.h.

00017 {}

G3Material::G3Material ( const G3Material mat  )  [inline, private]

Definition at line 26 of file G3Material.h.

00026 : TMaterial(mat) {}


Member Function Documentation

void G3Material::Dump (  )  const [virtual]

Definition at line 33 of file G3Material.cxx.

References fId, and Nav::GetName().

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 }

virtual Int_t G3Material::Id (  )  [inline, virtual]

Definition at line 21 of file G3Material.h.

References fId.

00021 {return fId;}

G3Material& G3Material::operator= ( const G3Material  )  [inline, private]

Definition at line 27 of file G3Material.h.

00027 {return *this;}

virtual void G3Material::SetId ( Int_t  id  )  [inline, virtual]

Definition at line 22 of file G3Material.h.

References fId.

00022 {fId = id;}


Member Data Documentation

Int_t G3Material::fId [private]

Definition at line 25 of file G3Material.h.

Referenced by Dump(), Id(), and SetId().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1