StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
StiMaterial Class Reference
Inheritance diagram for StiMaterial:
Named

Public Member Functions

 StiMaterial (const string &name, double z, double a, double density, double X0)
 
 StiMaterial (const string &name, double z, double a, double density, double X0xDensity, double ionization)
 
double getDensity () const
 Get the material density in grams/cubic centimeter.
 
double getX0 () const
 Get the radiation length in centimeter.
 
double getA () const
 Get the effective atomic mass of the material.
 
double getZ () const
 Get the effective atomic number of the material.
 
double getZOverA () const
 Get Z over A ratio.
 
double getIonization () const
 Dummy method.
 
StiElossCalculatorgetElossCalculator () const
 Get Eloss calculator.
 
void set (const string &name, double z, double a, double density, double radLength, double ionization)
 
void set (const string &name, double z, double a, double density, double X0)
 
- Public Member Functions inherited from Named
void setName (const string &newName)
 Set the name of the object.
 
const string & getName () const
 Get the name of the object.
 
bool isName (const string &aName) const
 Determine whether name equals given name.
 

Protected Attributes

double _z
 Effective Z.
 
double _a
 Effective A.
 
double _density
 g/cm^3
 
double _ionization
 Effective ionization (in eV)
 
double _zOverA
 zOverA
 
double _x0
 radiation length in cm.
 
StiElossCalculator_eloss
 Keep Energy loss calculator.
 
- Protected Attributes inherited from Named
string _name
 

Additional Inherited Members

- Protected Member Functions inherited from Named
 Named (const string &aName=" ")
 Only derived class are Named.
 

Detailed Description

Definition at line 15 of file StiMaterial.h.

Member Function Documentation

void StiMaterial::set ( const string &  name,
double  z,
double  a,
double  density,
double  radLength,
double  ionization 
)

Set all material attributes.

Parameters
namename given to the material
effectivemass number of the material
effectiveatomic mass of the material
densityof the material in g/cm^3
radiationlength in g/cm^2 -> _x0 as calculated is in cm.
ionizationpotential in eV.

Definition at line 50 of file StiMaterial.cxx.

References _a, _density, _eloss, _ionization, _x0, _z, _zOverA, and Named::setName().


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