Belle II Software  release-08-01-10
TOPGeoFrontEnd Class Reference

Geometry parameters of board stack (front-end electronic module) More...

#include <TOPGeoFrontEnd.h>

Inheritance diagram for TOPGeoFrontEnd:
Collaboration diagram for TOPGeoFrontEnd:

Public Member Functions

 TOPGeoFrontEnd ()
 Default constructor.
 
void setFrontBoard (double width, double height, double thickness, double gap, double y, const std::string &material)
 Sets front board data. More...
 
void setHVBoard (double width, double length, double thickness, double gap, double y, const std::string &material)
 Sets HV board data. More...
 
void setBoardStack (double width, double height, double length, double gap, double y, const std::string &material, double spacerWidth, const std::string &spacerMaterial)
 Sets board stack data. More...
 
double getFrontBoardWidth () const
 Returns front board width. More...
 
double getFrontBoardHeight () const
 Returns front board height. More...
 
double getFrontBoardThickness () const
 Returns front board thickness. More...
 
double getFrontBoardGap () const
 Returns gap between front board and PMT array. More...
 
double getFrontBoardY () const
 Returns position of front board center in bar frame. More...
 
const std::string & getFrontBoardMaterial () const
 Returns front board material. More...
 
double getHVBoardWidth () const
 Returns HV board width. More...
 
double getHVBoardLength () const
 Returns HV board length. More...
 
double getHVBoardThickness () const
 Returns HV board thickness. More...
 
double getHVBoardGap () const
 Returns gap between HV board and front board. More...
 
double getHVBoardY () const
 Returns position of HV board center in bar frame. More...
 
const std::string & getHVBoardMaterial () const
 Returns HV board material. More...
 
double getBoardStackWidth () const
 Returns board stack width. More...
 
double getBoardStackHeight () const
 Returns board stack height. More...
 
double getBoardStackLength () const
 Returns board stack length. More...
 
double getBoardStackGap () const
 Returns gap between board stack and front board. More...
 
double getBoardStackY () const
 Returns position of board stack center in bar frame. More...
 
const std::string & getBoardStackMaterial () const
 Returns board stack material. More...
 
double getSpacerWidth () const
 Returns board stack spacer width. More...
 
const std::string & getSpacerMaterial () const
 Returns board stack spacer material. More...
 
bool isConsistent () const override
 Check for consistency of data members. More...
 
virtual void print (const std::string &title="Front-end 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 (TOPGeoFrontEnd, 1)
 ClassDef.
 

Private Attributes

float m_FBWidth = 0
 front board width
 
float m_FBHeight = 0
 front board height
 
float m_FBThickness = 0
 front board thickness
 
float m_FBGap = 0
 gap between front board and PMT array
 
float m_FBy = 0
 position of front board center in bar frame
 
std::string m_FBMaterial
 front board material
 
float m_HVWidth = 0
 HV board width.
 
float m_HVLength = 0
 HV board length.
 
float m_HVThickness = 0
 HV board thickness.
 
float m_HVGap = 0
 gap between HV board and front board
 
float m_HVy = 0
 position of HV board center in bar frame
 
std::string m_HVMaterial
 HV board material.
 
float m_BSWidth = 0
 board stack width
 
float m_BSHeight = 0
 board stack height
 
float m_BSLength = 0
 board stack length
 
float m_BSGap = 0
 gap between board stack and front board
 
float m_BSy = 0
 position of board stack center in bar frame
 
std::string m_BSMaterial
 board stack material
 
float m_spacerWidth = 0
 board stack spacer width
 
std::string m_spacerMaterial
 board stack spacer material
 

Detailed Description

Geometry parameters of board stack (front-end electronic module)

Definition at line 23 of file TOPGeoFrontEnd.h.

Member Function Documentation

◆ getBoardStackGap()

double getBoardStackGap ( ) const
inline

Returns gap between board stack and front board.

Returns
gap

Definition at line 195 of file TOPGeoFrontEnd.h.

195 {return m_BSGap / s_unit;}
float m_BSGap
gap between board stack and front board
static double s_unit
conversion unit for length
Definition: TOPGeoBase.h:86

◆ getBoardStackHeight()

double getBoardStackHeight ( ) const
inline

Returns board stack height.

Returns
height

Definition at line 183 of file TOPGeoFrontEnd.h.

◆ getBoardStackLength()

double getBoardStackLength ( ) const
inline

Returns board stack length.

Returns
length

Definition at line 189 of file TOPGeoFrontEnd.h.

◆ getBoardStackMaterial()

const std::string& getBoardStackMaterial ( ) const
inline

Returns board stack material.

Returns
material

Definition at line 207 of file TOPGeoFrontEnd.h.

◆ getBoardStackWidth()

double getBoardStackWidth ( ) const
inline

Returns board stack width.

Returns
width

Definition at line 177 of file TOPGeoFrontEnd.h.

◆ getBoardStackY()

double getBoardStackY ( ) const
inline

Returns position of board stack center in bar frame.

Returns
y

Definition at line 201 of file TOPGeoFrontEnd.h.

◆ getFrontBoardGap()

double getFrontBoardGap ( ) const
inline

Returns gap between front board and PMT array.

Returns
gap

Definition at line 121 of file TOPGeoFrontEnd.h.

◆ getFrontBoardHeight()

double getFrontBoardHeight ( ) const
inline

Returns front board height.

Returns
height

Definition at line 109 of file TOPGeoFrontEnd.h.

◆ getFrontBoardMaterial()

const std::string& getFrontBoardMaterial ( ) const
inline

Returns front board material.

Returns
material

Definition at line 133 of file TOPGeoFrontEnd.h.

◆ getFrontBoardThickness()

double getFrontBoardThickness ( ) const
inline

Returns front board thickness.

Returns
thickness

Definition at line 115 of file TOPGeoFrontEnd.h.

◆ getFrontBoardWidth()

double getFrontBoardWidth ( ) const
inline

Returns front board width.

Returns
width

Definition at line 103 of file TOPGeoFrontEnd.h.

◆ getFrontBoardY()

double getFrontBoardY ( ) const
inline

Returns position of front board center in bar frame.

Returns
y

Definition at line 127 of file TOPGeoFrontEnd.h.

◆ getHVBoardGap()

double getHVBoardGap ( ) const
inline

Returns gap between HV board and front board.

Returns
gap

Definition at line 158 of file TOPGeoFrontEnd.h.

◆ getHVBoardLength()

double getHVBoardLength ( ) const
inline

Returns HV board length.

Returns
length

Definition at line 146 of file TOPGeoFrontEnd.h.

◆ getHVBoardMaterial()

const std::string& getHVBoardMaterial ( ) const
inline

Returns HV board material.

Returns
material

Definition at line 170 of file TOPGeoFrontEnd.h.

◆ getHVBoardThickness()

double getHVBoardThickness ( ) const
inline

Returns HV board thickness.

Returns
thickness

Definition at line 152 of file TOPGeoFrontEnd.h.

◆ getHVBoardWidth()

double getHVBoardWidth ( ) const
inline

Returns HV board width.

Returns
width

Definition at line 140 of file TOPGeoFrontEnd.h.

◆ getHVBoardY()

double getHVBoardY ( ) const
inline

Returns position of HV board center in bar frame.

Returns
y

Definition at line 164 of file TOPGeoFrontEnd.h.

◆ getName()

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

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

◆ getSpacerMaterial()

const std::string& getSpacerMaterial ( ) const
inline

Returns board stack spacer material.

Returns
material

Definition at line 219 of file TOPGeoFrontEnd.h.

◆ getSpacerWidth()

double getSpacerWidth ( ) const
inline

Returns board stack spacer width.

Returns
width

Definition at line 213 of file TOPGeoFrontEnd.h.

◆ setBoardStack()

void setBoardStack ( double  width,
double  height,
double  length,
double  gap,
double  y,
const std::string &  material,
double  spacerWidth,
const std::string &  spacerMaterial 
)
inline

Sets board stack data.

Parameters
widthboard stack width
heightboard stack height
lengthboard stack length
gapgap between board stack and front board
yposition of board stack center in bar frame
materialboard stack material
spacerWidthspacer width
spacerMaterialspacer material

Definition at line 85 of file TOPGeoFrontEnd.h.

◆ setFrontBoard()

void setFrontBoard ( double  width,
double  height,
double  thickness,
double  gap,
double  y,
const std::string &  material 
)
inline

Sets front board data.

Parameters
widthfront board width
heightfront board height
thicknessfront board thickness
gapgap between front board and PMT array
yposition of front board center in bar frame
materialfront board material

Definition at line 41 of file TOPGeoFrontEnd.h.

◆ setHVBoard()

void setHVBoard ( double  width,
double  length,
double  thickness,
double  gap,
double  y,
const std::string &  material 
)
inline

Sets HV board data.

Parameters
widthHV board width
lengthHV board length
thicknessHV board thickness
gapgap between HV board and front board
yposition of HV board center in bar frame
materialHV board material

Definition at line 62 of file TOPGeoFrontEnd.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: