 |
Belle II Software
release-05-02-19
|
14 #include <geometry/dbobjects/GeoMaterial.h>
15 #include <geometry/dbobjects/GeoComponent.h>
25 class GeoConfiguration:
public TObject {
36 GeoConfiguration(
const std::string& name,
double width,
double height,
double length,
const std::string& material): TObject(),
std::vector< GeoComponent > m_components
list of components
std::string m_globalMaterial
material of the global volume
double m_globalWidth
half width of the global volume
double m_globalHeight
half height of the global volume
configuration of the geometry
std::string m_name
name of the detector configuration
double getGlobalWidth() const
get the half width of the global volume, that is length in + and - x direction.
ClassDef(GeoConfiguration, 1)
Add ROOT reflection info.
std::vector< GeoMaterial > m_materials
list of Materials
const std::string & getName() const
get the name of the detector
const std::vector< GeoComponent > & getComponents() const
get list of components
void addComponent(const GeoComponent &component)
add a component to the list of components
const std::string & getGlobalMaterial() const
get the material of the global volume
double getGlobalLength() const
get the half length of the global volume, that is length in + and - z direction.
Abstract base class for different kinds of events.
const std::vector< GeoMaterial > & getMaterials() const
get List of Materials
double m_globalLength
half length of the global volume
GeoConfiguration()=default
empty constructor for ROOT
void addMaterial(const GeoMaterial &material)
add a material to the list of materials
double getGlobalHeight() const
get the half height of the global volume, that is length in + and - y direction.