 |
Belle II Software
release-05-01-25
|
15 #include <geometry/dbobjects/GeoMaterialProperty.h>
16 #include <geometry/dbobjects/GeoMaterialComponent.h>
24 class GeoMaterial:
public TObject {
void addComponent(const GeoMaterialComponent &component)
add a component to the material.
std::vector< GeoMaterialComponent > m_components
components of this material
void setName(const std::string &name)
set the name of the material
double m_temperature
temperature of the material
Class to represent a material informaion in the Database.
void setTemperature(double temperature)
set the temperature of the material (in default framework units
int getState() const
get the state of the material
double m_density
density of the material
void addProperty(const GeoMaterialProperty &property)
add a property to the material
int m_state
Geant4 state of the material.
std::string m_name
name of the material
std::vector< GeoMaterialProperty > m_properties
properties of this material
void setState(int state)
set the state of the material
Abstract base class for different kinds of events.
const std::vector< GeoMaterialProperty > & getProperties() const
get all properties
void setPressure(double pressure)
set the pressure of the material (in default framework units
const std::string & getName() const
get the name of the material
double getDensity() const
get the density of the material (in default framework units
double m_pressure
pressure of the material
std::vector< GeoMaterialComponent > & getComponents()
get all components
double getPressure() const
get the pressure of the material (in default framework units
double getTemperature() const
get the temperature of the material (in default framework units
GeoMaterial()=default
default constructor
void setDensity(double density)
set the density of the material (in default framework units
ClassDef(GeoMaterial, 1)
reflection info for ROOT
bool hasProperties() const
check if the material has at least one property