Belle II Software  release-05-02-19
TOPGeoHoneycombPanel Class Reference

Geometry parameters of honeycomb panel. More...

#include <TOPGeoHoneycombPanel.h>

Inheritance diagram for TOPGeoHoneycombPanel:
Collaboration diagram for TOPGeoHoneycombPanel:

Public Member Functions

 TOPGeoHoneycombPanel ()
 Default constructor.
 
 TOPGeoHoneycombPanel (double width, double length, double minThickness, double maxThickness, double radius, double edgeWidth, double y, int N, const std::string &material, const std::string &edgeMaterial, const std::string &name="TOPHoneycombPanel")
 Full constructor. More...
 
double getWidth () const
 Returns panel width. More...
 
double getLength () const
 Returns panel length. More...
 
double getMinThickness () const
 Returns panel minimal thickness. More...
 
double getMaxThickness () const
 Returns panel maximal thickness. More...
 
double getRadius () const
 Returns radius of curved surface. More...
 
double getEdgeWidth () const
 Returns width of the reinforced edge. More...
 
double getY () const
 Returns y position of the flat surface in local (bar) frame. More...
 
const std::string & getMaterial () const
 Returns material name. More...
 
const std::string & getEdgeMaterial () const
 Returns material name of reinforced edge. More...
 
void appendContour (std::vector< std::pair< double, double > > &contour, double y0, bool fromLeftToRight) const
 Appends curved surface to contour. More...
 
bool isConsistent () const override
 Check for consistency of data members. More...
 
virtual void print (const std::string &title="QBB honeycomb panel geometry parameters") const override
 Print the content of the class. More...
 
void setName (const std::string &name)
 Sets object name. More...
 
const std::string & getName () const
 Returns object name. More...
 
virtual void printSurface (const GeoOpticalSurface &surface) const
 Print the content of optical surface. More...
 
double getReflectivity (const GeoOpticalSurface &surface, double energy) const
 Returns reflectivity of optical surface at given photon energy. More...
 

Protected Member Functions

void printUnderlined (const std::string &title) const
 Print the content of the class. More...
 
 ClassDef (TOPGeoBase, 1)
 ClassDef.
 

Protected Attributes

std::string m_name
 geometry object name
 

Static Protected Attributes

static double s_unit = Unit::cm
 conversion unit for length
 
static std::string s_unitName
 conversion unit name
 

Private Member Functions

 ClassDefOverride (TOPGeoHoneycombPanel, 1)
 ClassDef.
 

Private Attributes

float m_width = 0
 width
 
float m_length = 0
 length
 
float m_minThickness = 0
 minimal thickness
 
float m_maxThickness = 0
 maximal thickness
 
float m_radius = 0
 radius of curved surface
 
float m_edgeWidth = 0
 width of the reinforced edge
 
float m_y = 0
 y position of the flat surface in local (bar) frame
 
int m_N = 0
 number of flat surfaces to approximate curved surface
 
std::string m_material
 material name
 
std::string m_edgeMaterial
 material name of reinforced edge
 

Detailed Description

Geometry parameters of honeycomb panel.

Definition at line 35 of file TOPGeoHoneycombPanel.h.

Constructor & Destructor Documentation

◆ TOPGeoHoneycombPanel()

TOPGeoHoneycombPanel ( double  width,
double  length,
double  minThickness,
double  maxThickness,
double  radius,
double  edgeWidth,
double  y,
int  N,
const std::string &  material,
const std::string &  edgeMaterial,
const std::string &  name = "TOPHoneycombPanel" 
)
inline

Full constructor.

Parameters
widthwidth
lengthlength
minThicknessminimal thickness
maxThicknessmaximal thickness
radiusradius of curved surface
edgeWidthwidth of the reinforced edge
yposition of the flat surface in local (bar) frame
Nnumber of flat surfaces for approximation of curved surface
materialmaterial name
edgeMaterialmaterial name of reinforced edge
namevolume name in Geant

Definition at line 58 of file TOPGeoHoneycombPanel.h.

60  : TOPGeoBase(name),
61  m_width(width), m_length(length), m_minThickness(minThickness),
62  m_maxThickness(maxThickness), m_radius(radius), m_edgeWidth(edgeWidth),
63  m_y(y), m_N(N), m_material(material), m_edgeMaterial(edgeMaterial)
64  {}
65 
70  double getWidth() const {return m_width / s_unit;}
71 

Member Function Documentation

◆ getEdgeMaterial()

const std::string& getEdgeMaterial ( ) const
inline

Returns material name of reinforced edge.

Returns
material name

Definition at line 126 of file TOPGeoHoneycombPanel.h.

◆ getEdgeWidth()

double getEdgeWidth ( ) const
inline

Returns width of the reinforced edge.

Returns
width

Definition at line 108 of file TOPGeoHoneycombPanel.h.

◆ getLength()

double getLength ( ) const
inline

Returns panel length.

Returns
length

Definition at line 84 of file TOPGeoHoneycombPanel.h.

◆ getMaterial()

const std::string& getMaterial ( ) const
inline

Returns material name.

Returns
material name

Definition at line 120 of file TOPGeoHoneycombPanel.h.

◆ getMaxThickness()

double getMaxThickness ( ) const
inline

Returns panel maximal thickness.

Returns
thickness

Definition at line 96 of file TOPGeoHoneycombPanel.h.

◆ getMinThickness()

double getMinThickness ( ) const
inline

Returns panel minimal thickness.

Returns
thickness

Definition at line 90 of file TOPGeoHoneycombPanel.h.

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 61 of file TOPGeoBase.h.

◆ getRadius()

double getRadius ( ) const
inline

Returns radius of curved surface.

Returns
radius

Definition at line 102 of file TOPGeoHoneycombPanel.h.

◆ getWidth()

double getWidth ( ) const
inline

Returns panel width.

Returns
width

Definition at line 78 of file TOPGeoHoneycombPanel.h.

◆ getY()

double getY ( ) const
inline

Returns y position of the flat surface in local (bar) frame.

Returns
y

Definition at line 114 of file TOPGeoHoneycombPanel.h.

◆ setName()

void setName ( const std::string &  name)
inlineinherited

Sets object name.

Parameters
nameobject name

Definition at line 55 of file TOPGeoBase.h.


The documentation for this class was generated from the following files:
Belle2::TOPGeoHoneycombPanel::m_maxThickness
float m_maxThickness
maximal thickness
Definition: TOPGeoHoneycombPanel.h:156
Belle2::TOPGeoHoneycombPanel::getWidth
double getWidth() const
Returns panel width.
Definition: TOPGeoHoneycombPanel.h:78
Belle2::TOPGeoHoneycombPanel::m_edgeMaterial
std::string m_edgeMaterial
material name of reinforced edge
Definition: TOPGeoHoneycombPanel.h:162
Belle2::TOPGeoHoneycombPanel::m_width
float m_width
width
Definition: TOPGeoHoneycombPanel.h:153
Belle2::TOPGeoHoneycombPanel::m_minThickness
float m_minThickness
minimal thickness
Definition: TOPGeoHoneycombPanel.h:155
Belle2::TOPGeoHoneycombPanel::m_y
float m_y
y position of the flat surface in local (bar) frame
Definition: TOPGeoHoneycombPanel.h:159
Belle2::TOPGeoBase::s_unit
static double s_unit
conversion unit for length
Definition: TOPGeoBase.h:96
Belle2::TOPGeoBase::TOPGeoBase
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:41
Belle2::TOPGeoHoneycombPanel::m_material
std::string m_material
material name
Definition: TOPGeoHoneycombPanel.h:161
Belle2::TOPGeoHoneycombPanel::m_N
int m_N
number of flat surfaces to approximate curved surface
Definition: TOPGeoHoneycombPanel.h:160
Belle2::TOPGeoHoneycombPanel::m_edgeWidth
float m_edgeWidth
width of the reinforced edge
Definition: TOPGeoHoneycombPanel.h:158
Belle2::TOPGeoHoneycombPanel::m_radius
float m_radius
radius of curved surface
Definition: TOPGeoHoneycombPanel.h:157
Belle2::TOPGeoHoneycombPanel::m_length
float m_length
length
Definition: TOPGeoHoneycombPanel.h:154