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