Class holding all parameters for an VXD geometry component.
More...
#include <GeoVXDComponents.h>
|
| | VXDGeoComponent (const std::string &material="", const std::string &color="", double width=0, double width2=0, double length=0, double height=0) |
| | Constructor.
|
| |
| G4LogicalVolume * | getVolume () const |
| | get the pointer to the logical volume, NULL if not yet created
|
| |
| void | setVolume (G4LogicalVolume *volume) |
| | set the pointer to the logical volume
|
| |
| const std::string & | getMaterial () const |
| | get the name of the Material for the component
|
| |
| const std::string & | getColor () const |
| | get 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
|
| |
| double | getLength () const |
| | get the length of the component
|
| |
| void | setLength (double length) |
| | set the length of the component
|
| |
| double & | getHeight () |
| | get the height of the component
|
| |
| double | getHeight () const |
| | get the height of the component
|
| |
|
| G4LogicalVolume * | m_volume |
| | Pointer to the Logical volume if already created
|
| |
| std::string | m_material |
| | transient member, owned by Geant4
|
| |
| std::string | m_color |
| | Name of the color of the component.
|
| |
| double | m_width |
| | width of the component
|
| |
| double | m_width2 |
| | forward width of the component, 0 for recangular
|
| |
| double | m_length |
| | length of the component
|
| |
| double | m_height |
| | height of the component
|
| |
Class holding all parameters for an VXD geometry component.
Definition at line 62 of file GeoVXDComponents.h.
◆ VXDGeoComponent()
| VXDGeoComponent |
( |
const std::string & |
material = "", |
|
|
const std::string & |
color = "", |
|
|
double |
width = 0, |
|
|
double |
width2 = 0, |
|
|
double |
length = 0, |
|
|
double |
height = 0 |
|
) |
| |
|
inline |
Constructor.
Definition at line 65 of file GeoVXDComponents.h.
66 :
std::string m_material
transient member, owned by Geant4
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_height
height of the component
G4LogicalVolume * m_volume
Pointer to the Logical volume if already created
◆ 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 |
◆ getVolume()
| G4LogicalVolume * getVolume |
( |
| ) |
const |
|
inline |
get the pointer to the logical volume, NULL if not yet created
Definition at line 70 of file GeoVXDComponents.h.
◆ getWidth()
| double getWidth |
( |
| ) |
const |
|
inline |
◆ getWidth2()
| double getWidth2 |
( |
| ) |
const |
|
inline |
get the forward width of the component, 0 for rectangular
Definition at line 82 of file GeoVXDComponents.h.
◆ setLength()
| void setLength |
( |
double |
length | ) |
|
|
inline |
◆ setVolume()
| void setVolume |
( |
G4LogicalVolume * |
volume | ) |
|
|
inline |
◆ setWidth()
| void setWidth |
( |
double |
width | ) |
|
|
inline |
set the width of the component.
This will automatically set width2 to zero
Definition at line 80 of file GeoVXDComponents.h.
◆ m_color
◆ m_height
◆ m_length
◆ m_material
transient member, owned by Geant4
Name of the material of the component
Definition at line 95 of file GeoVXDComponents.h.
◆ m_volume
| G4LogicalVolume* m_volume |
|
private |
◆ m_width
◆ m_width2
The documentation for this class was generated from the following file: