 |
Belle II Software
release-05-01-25
|
16 #include <vxd/dbobjects/VXDGeoPlacementPar.h>
28 class VXDGeoComponentPar:
public TObject {
33 double width = 0,
double width2 = 0,
double length = 0,
double height = 0,
double angle = 0):
void setColor(const std::string &color)
set the name of the color for the component
~VXDGeoComponentPar()
Destructor.
void setWidth2(double width2)
set the width2 of the component
void setMaterial(const std::string &material)
set the name of the Material for the component
const std::vector< VXDGeoPlacementPar > & getSubComponents() const
get sub components
std::vector< VXDGeoPlacementPar > m_subComponents
list of subcomponents
void setLength(double length)
set the length of the component
std::string m_material
Name of the material of the component.
double m_angle
angle of the component
ClassDef(VXDGeoComponentPar, 5)
ClassDef, must be the last term before the closing {}.
double m_width
width of the component
void setSubComponents(const std::vector< VXDGeoPlacementPar > &components)
set sub components
double getLength() const
get the length of the component
std::string m_color
Name of the color of the component.
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.
const std::string & getColor() const
get the name of the color for the component
const std::string & getMaterial() const
get the name of the Material for the component
Abstract base class for different kinds of events.
double getWidth() const
get the width of the component
double getWidth2() const
get the forward width of the component, 0 for rectangular
double getHeight() const
get the height of the component
void setHeight(double height)
set the height of the component
double m_width2
forward width of the component, 0 for recangular
The Class for VXD geometry component.
void setWidth(double width)
set the width of the component.
void setAngle(double angle)
set the angle of the component
double getAngle() const
get the angle of the component
double m_length
length of the component
double m_height
height of the component