11#include <top/dbobjects/TOPGeoBase.h>
12#include <top/dbobjects/TOPGeoHoneycombPanel.h>
13#include <top/dbobjects/TOPGeoSideRails.h>
14#include <top/dbobjects/TOPGeoEndPlate.h>
15#include <top/dbobjects/TOPGeoPrismEnclosure.h>
16#include <top/dbobjects/TOPGeoColdPlate.h>
47 TOPGeoQBB(
double width,
double length,
double prismPosition,
48 const std::string& material,
49 const std::string& name =
"TOPQBB"):
TOPGeoBase(name),
228 virtual void print(
const std::string& title =
"QBB geometry parameters")
const override;
Base class for geometry parameters.
Geometry parameters of cold plate (simplified)
Geometry parameters of forward end plate (simplified)
double getThickness() const
Returns thickness.
Geometry parameters of honeycomb panel.
Geometry parameters of prism enclosure (simplified)
double getBackThickness() const
Returns back wall thickness.
Geometry parameters of Quartz Bar Box (mother class)
double getWidth() const
Returns full width.
TOPGeoPrismEnclosure m_prismEnclosure
prism enclosure
TOPGeoQBB(double width, double length, double prismPosition, const std::string &material, const std::string &name="TOPQBB")
Useful constructor.
std::string m_material
material inside QBB
ClassDefOverride(TOPGeoQBB, 2)
ClassDef.
const TOPGeoSideRails & getSideRails() const
Returns side rails.
TOPGeoHoneycombPanel m_outerPanel
outer honeycomb panel
void setOuterPanel(const TOPGeoHoneycombPanel &outerPanel)
Sets outer honeycomb panel.
TOPGeoSideRails m_sideRails
side rails
void setColdPlate(const TOPGeoColdPlate &coldPlate)
Sets forward cold plate.
void setPrismEnclosure(const TOPGeoPrismEnclosure &prismEnclosure)
Sets prism enclosure.
const TOPGeoHoneycombPanel & getOuterPanel() const
Returns outer honeycomb panel.
double getSideRailsLength() const
Returns side rails length.
void setSideRails(const TOPGeoSideRails &sideRails)
Sets side rails.
float m_prismPosition
position of prism-bar joint wrt QBB back
const TOPGeoEndPlate & getForwardEndPlate() const
Returns forward end plate.
TOPGeoHoneycombPanel m_innerPanel
inner honeycomb panel
TOPGeoEndPlate m_endPlate
forward end plate
const TOPGeoColdPlate & getColdPlate() const
Returns cold plate.
const TOPGeoPrismEnclosure & getPrismEnclosure() const
Returns prism enclosure.
double getPrismPosition() const
Returns the position of prism-bar joint wrt QBB back.
TOPGeoColdPlate m_coldPlate
cold plate
const std::string & getMaterial() const
Returns the name of material inside QBB.
TOPGeoQBB()
Default constructor.
void setInnerPanel(const TOPGeoHoneycombPanel &innerPanel)
Sets inner honeycomb panel.
void setEndPlate(const TOPGeoEndPlate &endPlate)
Sets forward end plate.
float m_length
full length
const TOPGeoHoneycombPanel & getInnerPanel() const
Returns inner honeycomb panel.
double getLength() const
Returns full length.
double getPanelWidth() const
Returns panel width used in x-y contours of honeycomb panels.
Geometry parameters of side rails (simplified)
double getThickness() const
Returns thickness.
void printPrismEnclosureContour() const
Print prism enclosure contour (polygon) - for debugging.
std::vector< std::pair< double, double > > getBackPlateContour() const
Returns prism enclosure back plate x-y contour.
bool isConsistent() const override
Check for consistency of data members.
std::vector< std::pair< double, double > > getPrismEnclosureContour() const
Returns prism enclosure wall x-y contour.
static double s_unit
conversion unit for length
void printInnerPanelContour() const
Print inner honeycomb panel contour (polygon) - for debugging.
void printBackwardContour() const
Print backward contour (polygon) - for debugging.
void printOuterPanelContour() const
Print outer honeycomb panel contour (polygon) - for debugging.
virtual void print(const std::string &title="QBB geometry parameters") const override
Print the content of the class.
std::vector< std::pair< double, double > > getFrontPlateContour() const
Returns prism enclosure front plate x-y contour.
void printFrontPlateContour() const
Print prism enclosure front plate contour (polygon) - for debugging.
std::vector< std::pair< double, double > > getOuterPanelContour() const
Returns outer honeycomb panel x-y contour.
void printForwardContour() const
Print forward contour (polygon) - for debugging.
std::vector< std::pair< double, double > > getForwardContour() const
Returns forward x-y contour.
std::vector< std::pair< double, double > > getBackwardContour() const
Returns backward x-y contour.
std::vector< std::pair< double, double > > getInnerPanelContour() const
Returns inner honeycomb panel x-y contour.
void printBackPlateContour() const
Print prism enclosure back plate contour (polygon) - for debugging.
Abstract base class for different kinds of events.