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