Belle II Software development
TOPGeoHoneycombPanel Class Reference

Geometry parameters of honeycomb panel. More...

#include <TOPGeoHoneycombPanel.h>

Inheritance diagram for TOPGeoHoneycombPanel:
TOPGeoBase

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

Protected Member Functions

void printUnderlined (const std::string &title) const
 Print the content of the class.
 
 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() [1/2]

Default constructor.

Definition at line 31 of file TOPGeoHoneycombPanel.h.

32 {}

◆ TOPGeoHoneycombPanel() [2/2]

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.

116{return m_edgeMaterial;}

◆ getEdgeWidth()

double getEdgeWidth ( ) const
inline

Returns width of the reinforced edge.

Returns
width

Definition at line 98 of file TOPGeoHoneycombPanel.h.

98{return m_edgeWidth / s_unit;}
static double s_unit
conversion unit for length
Definition: TOPGeoBase.h:86

◆ getLength()

double getLength ( ) const
inline

Returns panel length.

Returns
length

Definition at line 74 of file TOPGeoHoneycombPanel.h.

74{return m_length / s_unit;}

◆ getMaterial()

const std::string & getMaterial ( ) const
inline

Returns material name.

Returns
material name

Definition at line 110 of file TOPGeoHoneycombPanel.h.

110{return m_material;}

◆ getMaxThickness()

double getMaxThickness ( ) const
inline

Returns panel maximal thickness.

Returns
thickness

Definition at line 86 of file TOPGeoHoneycombPanel.h.

86{return m_maxThickness / s_unit;}

◆ getMinThickness()

double getMinThickness ( ) const
inline

Returns panel minimal thickness.

Returns
thickness

Definition at line 80 of file TOPGeoHoneycombPanel.h.

80{return m_minThickness / s_unit;}

◆ getName()

const std::string & getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

51{return m_name;}
std::string m_name
geometry object name
Definition: TOPGeoBase.h:89

◆ getRadius()

double getRadius ( ) const
inline

Returns radius of curved surface.

Returns
radius

Definition at line 92 of file TOPGeoHoneycombPanel.h.

92{return m_radius / s_unit;}

◆ getWidth()

double getWidth ( ) const
inline

Returns panel width.

Returns
width

Definition at line 68 of file TOPGeoHoneycombPanel.h.

68{return m_width / s_unit;}

◆ 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.

104{return m_y / s_unit;}

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 45 of file TOPGeoBase.h.

45{m_name = name;}

Member Data Documentation

◆ m_edgeMaterial

std::string m_edgeMaterial
private

material name of reinforced edge

Definition at line 152 of file TOPGeoHoneycombPanel.h.

◆ m_edgeWidth

float m_edgeWidth = 0
private

width of the reinforced edge

Definition at line 148 of file TOPGeoHoneycombPanel.h.

◆ m_length

float m_length = 0
private

length

Definition at line 144 of file TOPGeoHoneycombPanel.h.

◆ m_material

std::string m_material
private

material name

Definition at line 151 of file TOPGeoHoneycombPanel.h.

◆ m_maxThickness

float m_maxThickness = 0
private

maximal thickness

Definition at line 146 of file TOPGeoHoneycombPanel.h.

◆ m_minThickness

float m_minThickness = 0
private

minimal thickness

Definition at line 145 of file TOPGeoHoneycombPanel.h.

◆ m_N

int m_N = 0
private

number of flat surfaces to approximate curved surface

Definition at line 150 of file TOPGeoHoneycombPanel.h.

◆ m_name

std::string m_name
protectedinherited

geometry object name

Definition at line 89 of file TOPGeoBase.h.

◆ m_radius

float m_radius = 0
private

radius of curved surface

Definition at line 147 of file TOPGeoHoneycombPanel.h.

◆ m_width

float m_width = 0
private

width

Definition at line 143 of file TOPGeoHoneycombPanel.h.

◆ m_y

float m_y = 0
private

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

Definition at line 149 of file TOPGeoHoneycombPanel.h.


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