12#include <geometry/dbobjects/GeoMaterial.h>
13#include <geometry/dbobjects/GeoComponent.h>
34 GeoConfiguration(
const std::string& name,
double width,
double height,
double length,
const std::string& material): TObject(),
Describe one component of the Geometry.
configuration of the geometry
const std::vector< GeoMaterial > & getMaterials() const
get List of Materials
ClassDef(GeoConfiguration, 1)
Add ROOT reflection info.
double m_globalLength
half length of the global volume
void addMaterial(const GeoMaterial &material)
add a material to the list of materials
const std::string & getName() const
get the name of the detector
void addComponent(const GeoComponent &component)
add a component to the list of components
double m_globalWidth
half width of the global volume
double getGlobalWidth() const
get the half width of the global volume, that is length in + and - x direction.
const std::string & getGlobalMaterial() const
get the material of the global volume
std::vector< GeoMaterial > m_materials
list of Materials
GeoConfiguration()=default
empty constructor for ROOT
double getGlobalHeight() const
get the half height of the global volume, that is length in + and - y direction.
const std::vector< GeoComponent > & getComponents() const
get list of components
double m_globalHeight
half height of the global volume
std::string m_globalMaterial
material of the global volume
double getGlobalLength() const
get the half length of the global volume, that is length in + and - z direction.
std::string m_name
name of the detector configuration
std::vector< GeoComponent > m_components
list of components
GeoConfiguration(const std::string &name, double width, double height, double length, const std::string &material)
Construct new geometry configuration.
Class to represent a material informaion in the Database.
Abstract base class for different kinds of events.