The Class for VXD geometry component.
More...
#include <VXDGeoComponentPar.h>
|
| | VXDGeoComponentPar (const std::string &material="", const std::string &color="", double width=0, double width2=0, double length=0, double height=0, double angle=0) |
| | Constructor.
|
| |
| | ~VXDGeoComponentPar () |
| | Destructor.
|
| |
| const std::string & | getMaterial () const |
| | get the name of the Material for the component
|
| |
| void | setMaterial (const std::string &material) |
| | set the name of the Material for the component
|
| |
| const std::string & | getColor () const |
| | get the name of the color for the component
|
| |
| void | setColor (const std::string &color) |
| | set the name of the color for the component
|
| |
| double | getWidth () const |
| | get the width of the component
|
| |
| void | setWidth (double width) |
| | set the width of the component.
|
| |
| double | getWidth2 () const |
| | get the forward width of the component, 0 for rectangular
|
| |
| void | setWidth2 (double width2) |
| | set the width2 of the component
|
| |
| double | getLength () const |
| | get the length of the component
|
| |
| void | setLength (double length) |
| | set the length of the component
|
| |
| double | getHeight () const |
| | get the height of the component
|
| |
| double & | getHeight () |
| | get the height of the component
|
| |
| void | setHeight (double height) |
| | set the height of the component
|
| |
| double | getAngle () const |
| | get the angle of the component
|
| |
| void | setAngle (double angle) |
| | set the angle of the component
|
| |
| const std::vector< VXDGeoPlacementPar > & | getSubComponents () const |
| | get sub components
|
| |
| void | setSubComponents (const std::vector< VXDGeoPlacementPar > &components) |
| | set sub components
|
| |
|
| std::string | m_material {""} |
| | Name of the material of the component.
|
| |
| std::string | m_color {""} |
| | Name of the color of the component.
|
| |
| double | m_width {0.} |
| | width of the component
|
| |
| double | m_width2 {0.} |
| | forward width of the component, 0 for recangular
|
| |
| double | m_length {0.} |
| | length of the component
|
| |
| double | m_height {0.} |
| | height of the component
|
| |
| double | m_angle {0.} |
| | angle of the component
|
| |
| std::vector< VXDGeoPlacementPar > | m_subComponents |
| | list of subcomponents
|
| |
The Class for VXD geometry component.
Definition at line 26 of file VXDGeoComponentPar.h.
◆ VXDGeoComponentPar()
| VXDGeoComponentPar |
( |
const std::string & |
material = "", |
|
|
const std::string & |
color = "", |
|
|
double |
width = 0, |
|
|
double |
width2 = 0, |
|
|
double |
length = 0, |
|
|
double |
height = 0, |
|
|
double |
angle = 0 |
|
) |
| |
|
inline |
Constructor.
Definition at line 30 of file VXDGeoComponentPar.h.
31 :
34 {}
std::string m_material
Name of the material of the component.
double m_width2
forward width of the component, 0 for recangular
double m_width
width of the component
std::string m_color
Name of the color of the component.
double m_length
length of the component
double m_angle
angle of the component
double m_height
height of the component
◆ ~VXDGeoComponentPar()
◆ getAngle()
| double getAngle |
( |
| ) |
const |
|
inline |
◆ getColor()
| const std::string & getColor |
( |
| ) |
const |
|
inline |
◆ getHeight() [1/2]
◆ getHeight() [2/2]
| double getHeight |
( |
| ) |
const |
|
inline |
◆ getLength()
| double getLength |
( |
| ) |
const |
|
inline |
◆ getMaterial()
| const std::string & getMaterial |
( |
| ) |
const |
|
inline |
◆ getSubComponents()
get sub components
Definition at line 69 of file VXDGeoComponentPar.h.
std::vector< VXDGeoPlacementPar > m_subComponents
list of subcomponents
◆ getWidth()
| double getWidth |
( |
| ) |
const |
|
inline |
◆ getWidth2()
| double getWidth2 |
( |
| ) |
const |
|
inline |
◆ setAngle()
| void setAngle |
( |
double |
angle | ) |
|
|
inline |
◆ setColor()
| void setColor |
( |
const std::string & |
color | ) |
|
|
inline |
◆ setHeight()
| void setHeight |
( |
double |
height | ) |
|
|
inline |
◆ setLength()
| void setLength |
( |
double |
length | ) |
|
|
inline |
◆ setMaterial()
| void setMaterial |
( |
const std::string & |
material | ) |
|
|
inline |
◆ setSubComponents()
◆ setWidth()
| void setWidth |
( |
double |
width | ) |
|
|
inline |
set the width of the component.
This will automatically set width2 to zero
Definition at line 49 of file VXDGeoComponentPar.h.
◆ setWidth2()
| void setWidth2 |
( |
double |
width2 | ) |
|
|
inline |
◆ m_angle
◆ m_color
◆ m_height
◆ m_length
◆ m_material
| std::string m_material {""} |
|
private |
◆ m_subComponents
◆ m_width
◆ m_width2
The documentation for this class was generated from the following file: