Belle II Software  release-08-01-10
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 25 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 48 of file TOPGeoHoneycombPanel.h.

58  : TOPGeoBase(name),
59  m_width(width), m_length(length), m_minThickness(minThickness),
60  m_maxThickness(maxThickness), m_radius(radius), m_edgeWidth(edgeWidth),
61  m_y(y), m_N(N), m_material(material), m_edgeMaterial(edgeMaterial)
62  {}
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:31
int m_N
number of flat surfaces to approximate curved surface
std::string m_material
material name
std::string m_edgeMaterial
material name of reinforced edge
float m_radius
radius of curved surface
float m_minThickness
minimal thickness
float m_y
y position of the flat surface in local (bar) frame
float m_maxThickness
maximal thickness
float m_edgeWidth
width of the reinforced edge

Member Function Documentation

◆ getEdgeMaterial()

const std::string& getEdgeMaterial ( ) const
inline

Returns material name of reinforced edge.

Returns
material name

Definition at line 116 of file TOPGeoHoneycombPanel.h.

◆ getEdgeWidth()

double getEdgeWidth ( ) const
inline

Returns width of the reinforced edge.

Returns
width

Definition at line 98 of file TOPGeoHoneycombPanel.h.

◆ getLength()

double getLength ( ) const
inline

Returns panel length.

Returns
length

Definition at line 74 of file TOPGeoHoneycombPanel.h.

◆ getMaterial()

const std::string& getMaterial ( void  ) const
inline

Returns material name.

Returns
material name

Definition at line 110 of file TOPGeoHoneycombPanel.h.

◆ getMaxThickness()

double getMaxThickness ( ) const
inline

Returns panel maximal thickness.

Returns
thickness

Definition at line 86 of file TOPGeoHoneycombPanel.h.

◆ getMinThickness()

double getMinThickness ( ) const
inline

Returns panel minimal thickness.

Returns
thickness

Definition at line 80 of file TOPGeoHoneycombPanel.h.

◆ getName()

const std::string& getName ( void  ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

◆ getRadius()

double getRadius ( ) const
inline

Returns radius of curved surface.

Returns
radius

Definition at line 92 of file TOPGeoHoneycombPanel.h.

◆ getWidth()

double getWidth ( ) const
inline

Returns panel width.

Returns
width

Definition at line 68 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 104 of file TOPGeoHoneycombPanel.h.

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 45 of file TOPGeoBase.h.


The documentation for this class was generated from the following files: