Belle II Software
release-08-01-10
|
Component of a material. More...
#include <GeoMaterialComponent.h>
Public Member Functions | |
GeoMaterialComponent ()=default | |
default constructor | |
GeoMaterialComponent (const std::string &name, bool isElement, double fraction) | |
full constructor | |
void | setName (const std::string &name) |
set name of the component | |
void | setIselement (bool isElement) |
set true if the component is a chemical element, false if it is a composite material | |
void | setFraction (double fraction) |
set fraction of the component from the full materials | |
const std::string & | getName () const |
get name of the component | |
bool | getIselement () const |
get true if the component is a chemical element, false if it is a composite material | |
double | getFraction () const |
get fraction of the component from the full materials | |
Private Member Functions | |
ClassDef (GeoMaterialComponent, 1) | |
Add ROOT reflection info. | |
Private Attributes | |
std::string | m_name |
name of the component | |
bool | m_isElement |
true if the component is a chemical element, false if it is a composite material | |
double | m_fraction |
fraction of the component from the full materials | |
Component of a material.
Definition at line 19 of file GeoMaterialComponent.h.