11#include <top/dbobjects/TOPGeoBase.h>
48 double bottomThickness,
51 double frontThickness,
52 double extensionThickness,
53 const std::string& material,
54 const std::string& name =
"TOPPrismEnclosure"):
TOPGeoBase(name),
135 virtual void print(
const std::string& title =
"QBB prism enclosure geometry parameters")
const override;
Base class for geometry parameters.
Geometry parameters of prism enclosure (simplified)
float m_angle
angle of side wall
double getHeight() const
Returns height up to the side rails.
TOPGeoPrismEnclosure(double length, double height, double angle, double bottomThickness, double sideThickness, double backThickness, double frontThickness, double extensionThickness, const std::string &material, const std::string &name="TOPPrismEnclosure")
Full constructor.
std::string m_material
material name
float m_extensionThickness
extension plate thickness
ClassDefOverride(TOPGeoPrismEnclosure, 1)
ClassDef.
double getBackThickness() const
Returns back wall thickness.
float m_backThickness
back wall thickness
double getAngle() const
Returns angle of side wall.
double getBodyLength() const
Returns length w/o back and front plates.
float m_frontThickness
front wall thickness
TOPGeoPrismEnclosure()
Default constructor.
const std::string & getMaterial() const
Returns material name.
float m_bottomThickness
bottom thickness
double getBottomThickness() const
Returns bottom thickness.
double getExtensionThickness() const
Returns extension plate thickness.
float m_height
height up to the side rails
double getFrontThickness() const
Returns front wall thickness.
double getSideThickness() const
Returns side wall thickness.
float m_sideThickness
side wall thickness
double getLength() const
Returns full length.
bool isConsistent() const override
Check for consistency of data members.
static double s_unit
conversion unit for length
virtual void print(const std::string &title="QBB prism enclosure geometry parameters") const override
Print the content of the class.
Abstract base class for different kinds of events.