GeoModel - GeoModelCore
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
GeoMaterial Class Reference

This class represents materials. A material is a collection of elements. In addition it has a density, radiation length, and interaction length, and can provide a description of energy lost which is computed from its composition. More...

#include <GeoMaterial.h>

Inheritance diagram for GeoMaterial:
RCBase

Public Member Functions

 GeoMaterial (const std::string &Name, double Density)
 
void add (const GeoElement *element, double fraction=1.0)
 
void add (const GeoMaterial *material, double fraction)
 
void lock ()
 
double getDeDxConstant () const
 
double getDeDxI0 () const
 
double getDeDxMin () const
 
double getRadLength () const
 
double getIntLength () const
 
unsigned int getNumElements () const
 
const GeoElement * getElement (unsigned int i) const
 
double getFraction (int i) const
 
const std::string & getName () const
 
const double & getDensity () const
 
const unsigned int & getID () const
 
- Public Member Functions inherited from RCBase
void ref () const
 
void unref () const
 
unsigned int refCount () const
 

Private Member Functions

 GeoMaterial (const GeoMaterial &right)
 
GeoMaterial & operator= (const GeoMaterial &right)
 

Private Attributes

std::string m_name
 
double m_density
 
unsigned int m_iD
 
std::vector< double > m_fraction
 
double m_radLength
 
double m_intLength
 
double m_dedDxConst
 
double m_deDxI0
 
bool m_locked
 
std::vector< const GeoElement * > m_element
 

Static Private Attributes

static unsigned int s_lastID = 0
 
static const double s_ionizationPotential [93]
 

Detailed Description

This class represents materials. A material is a collection of elements. In addition it has a density, radiation length, and interaction length, and can provide a description of energy lost which is computed from its composition.

Also noteworthy:

Definition at line 33 of file GeoMaterial.h.


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