Belle II Software
release-08-01-10
|
configuration of the geometry More...
#include <GeoConfiguration.h>
Public Member Functions | |
GeoConfiguration ()=default | |
empty constructor for ROOT | |
GeoConfiguration (const std::string &name, double width, double height, double length, const std::string &material) | |
Construct new geometry configuration. More... | |
void | addMaterial (const GeoMaterial &material) |
add a material to the list of materials | |
void | addComponent (const GeoComponent &component) |
add a component to the list of components | |
const std::string & | getName () const |
get the name of the detector | |
double | getGlobalWidth () const |
get the half width of the global volume, that is length in + and - x direction. More... | |
double | getGlobalHeight () const |
get the half height of the global volume, that is length in + and - y direction. More... | |
double | getGlobalLength () const |
get the half length of the global volume, that is length in + and - z direction. More... | |
const std::string & | getGlobalMaterial () const |
get the material of the global volume | |
const std::vector< GeoMaterial > & | getMaterials () const |
get List of Materials | |
const std::vector< GeoComponent > & | getComponents () const |
get list of components | |
Private Member Functions | |
ClassDef (GeoConfiguration, 1) | |
Add ROOT reflection info. | |
Private Attributes | |
std::vector< GeoMaterial > | m_materials |
list of Materials | |
std::vector< GeoComponent > | m_components |
list of components | |
std::string | m_name |
name of the detector configuration | |
double | m_globalWidth {0} |
half width of the global volume | |
double | m_globalHeight {0} |
half height of the global volume | |
double | m_globalLength {0} |
half length of the global volume | |
std::string | m_globalMaterial |
material of the global volume | |
configuration of the geometry
Definition at line 23 of file GeoConfiguration.h.
|
inline |
Construct new geometry configuration.
name | name of the detector |
width | half width of the global volume |
height | half height of the global volume |
length | half length of the global volume |
material | material of the global volume |
Definition at line 34 of file GeoConfiguration.h.
|
inline |
get the half height of the global volume, that is length in + and - y direction.
Will be determined automatically to fit all volumes if set to non-positive value.
Definition at line 47 of file GeoConfiguration.h.
|
inline |
get the half length of the global volume, that is length in + and - z direction.
Will be determined automatically to fit all volumes if set to non-positive value.
Definition at line 50 of file GeoConfiguration.h.
|
inline |
get the half width of the global volume, that is length in + and - x direction.
Will be determined automatically to fit all volumes if set to non-positive value.
Definition at line 44 of file GeoConfiguration.h.