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

Geometry parameters of MCP-PMT. More...

#include <TOPGeoPMT.h>

Inheritance diagram for TOPGeoPMT:
Collaboration diagram for TOPGeoPMT:

Public Member Functions

 TOPGeoPMT ()
 Default constructor.
 
 TOPGeoPMT (double sizeX, double sizeY, double sizeZ, const std::string &name="TOPPMT")
 Useful constructor. More...
 
void setWallThickness (double thickness)
 Sets wall thickness. More...
 
void setWallMaterial (const std::string &material)
 Sets casing material. More...
 
void setFillMaterial (const std::string &material)
 Sets inside material. More...
 
void setSensVolume (double sizeX, double sizeY, double thickness, const std::string &material)
 Sets sensitive volume (photo-cathode) More...
 
void setNumPixels (unsigned numColumns, unsigned numRows)
 Sets number of pixel rows and columns. More...
 
void setWindow (double thickness, const std::string &material)
 Sets entrance window. More...
 
void setBottom (double thickness, const std::string &material)
 Sets bottom. More...
 
void setReflEdge (double width, double thickness, const GeoOpticalSurface &surf)
 Sets reflective edge. More...
 
double getSizeX () const
 Returns full size in x. More...
 
double getSizeY () const
 Returns full size in y. More...
 
double getSizeZ () const
 Returns full size in z. More...
 
double getWallThickness () const
 Returns wall thickness. More...
 
const std::string & getWallMaterial () const
 Returns wall (casing) material name. More...
 
const std::string & getFillMaterial () const
 Returns fill (inside) material name. More...
 
double getSensSizeX () const
 Returns sensitive volume (photo-cathode) size in x. More...
 
double getSensSizeY () const
 Returns sensitive volume (photo-cathode) size in y. More...
 
double getSensThickness () const
 Returns sensitive volume (photo-cathode) thickness. More...
 
unsigned getNumColumns () const
 Returns number of pixel columns. More...
 
unsigned getNumRows () const
 Returns number of pixel rows. More...
 
unsigned getNumPixels () const
 Returns number of pixels. More...
 
const std::string & getSensMaterial () const
 Returns sensitive material name. More...
 
double getWinThickness () const
 Returns entrance window thickness. More...
 
const std::string & getWinMaterial () const
 Returns entrance window material name. More...
 
double getBotThickness () const
 Returns bottom thickness. More...
 
const std::string & getBotMaterial () const
 Returns bottom material name. More...
 
double getReflEdgeWidth () const
 Returns reflective edge width. More...
 
double getReflEdgeThickness () const
 Returns reflective edge thickness. More...
 
const GeoOpticalSurfacegetReflEdgeSurface () const
 Returns reflective edge optical surface. More...
 
unsigned getPixelColumn (double x) const
 Converts x-coordinate to pixel column (1-based) More...
 
unsigned getPixelRow (double y) const
 Converts y-coordinate to pixel row (1-based) More...
 
unsigned getPixelID (double x, double y) const
 Converts x and y coordinates to PMT pixel ID (1-based) More...
 
double getX (unsigned col) const
 Returns x coordinate of pixel center. More...
 
double getY (unsigned row) const
 Returns y coordinate of pixel center. More...
 
double getDx () const
 Returns pixel size in x. More...
 
double getDy () const
 Returns pixel size in y. More...
 
bool isConsistent () const override
 Check for consistency of data members. More...
 
void print (const std::string &title="MCP-PMT 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 (TOPGeoPMT, 1)
 ClassDef.
 

Private Attributes

float m_sizeX = 0
 full size in x
 
float m_sizeY = 0
 full size in y
 
float m_sizeZ = 0
 full size in z
 
float m_wallThickness = 0
 side wall thickness
 
std::string m_wallMaterial
 casing material
 
std::string m_fillMaterial
 inside material
 
float m_sensSizeX = 0
 sensitive volume (photo-cathode) size in x
 
float m_sensSizeY = 0
 sensitive volume (photo-cathode) size in y
 
float m_sensThickness = 0
 sensitive volume (photo-cathode) thickness
 
unsigned m_numColumns = 0
 number of pixel columns
 
unsigned m_numRows = 0
 number of pixel rows
 
std::string m_sensMaterial
 sensitive material
 
float m_winThickness = 0
 window thickness
 
std::string m_winMaterial
 window material
 
float m_botThickness = 0
 bottom thickness
 
std::string m_botMaterial
 bottom material
 
float m_reflEdgeWidth = 0
 reflective edge width
 
float m_reflEdgeThickness = 0
 reflective edge thickness
 
GeoOpticalSurface m_reflEdgeSurface
 reflective edge optical surface
 

Detailed Description

Geometry parameters of MCP-PMT.

Definition at line 24 of file TOPGeoPMT.h.

Constructor & Destructor Documentation

◆ TOPGeoPMT()

TOPGeoPMT ( double  sizeX,
double  sizeY,
double  sizeZ,
const std::string &  name = "TOPPMT" 
)
inline

Useful constructor.

Parameters
sizeXfull size in x
sizeYfull size in y
sizeZfull size in z
nameobject name

Definition at line 40 of file TOPGeoPMT.h.

41  :
42  TOPGeoBase(name), m_sizeX(sizeX), m_sizeY(sizeY), m_sizeZ(sizeZ)
43  {}
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:31
float m_sizeX
full size in x
Definition: TOPGeoPMT.h:307
float m_sizeZ
full size in z
Definition: TOPGeoPMT.h:309
float m_sizeY
full size in y
Definition: TOPGeoPMT.h:308

Member Function Documentation

◆ getBotMaterial()

const std::string& getBotMaterial ( ) const
inline

Returns bottom material name.

Returns
material name

Definition at line 225 of file TOPGeoPMT.h.

◆ getBotThickness()

double getBotThickness ( ) const
inline

Returns bottom thickness.

Returns
thickness

Definition at line 219 of file TOPGeoPMT.h.

◆ getDx()

double getDx ( ) const
inline

Returns pixel size in x.

Returns
pixel size in x

Definition at line 285 of file TOPGeoPMT.h.

◆ getDy()

double getDy ( ) const
inline

Returns pixel size in y.

Returns
pixel size in y

Definition at line 291 of file TOPGeoPMT.h.

◆ getFillMaterial()

const std::string& getFillMaterial ( ) const
inline

Returns fill (inside) material name.

Returns
material name

Definition at line 159 of file TOPGeoPMT.h.

◆ getName()

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

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

◆ getNumColumns()

unsigned getNumColumns ( ) const
inline

Returns number of pixel columns.

Returns
number of pixel columns

Definition at line 183 of file TOPGeoPMT.h.

◆ getNumPixels()

unsigned getNumPixels ( ) const
inline

Returns number of pixels.

Returns
number of pixels

Definition at line 195 of file TOPGeoPMT.h.

◆ getNumRows()

unsigned getNumRows ( ) const
inline

Returns number of pixel rows.

Returns
number of pixel rows

Definition at line 189 of file TOPGeoPMT.h.

◆ getReflEdgeSurface()

const GeoOpticalSurface& getReflEdgeSurface ( ) const
inline

Returns reflective edge optical surface.

Returns
optical surface

Definition at line 243 of file TOPGeoPMT.h.

◆ getReflEdgeThickness()

double getReflEdgeThickness ( ) const
inline

Returns reflective edge thickness.

Returns
thickness

Definition at line 237 of file TOPGeoPMT.h.

◆ getReflEdgeWidth()

double getReflEdgeWidth ( ) const
inline

Returns reflective edge width.

Returns
width

Definition at line 231 of file TOPGeoPMT.h.

◆ getSensMaterial()

const std::string& getSensMaterial ( ) const
inline

Returns sensitive material name.

Returns
material name

Definition at line 201 of file TOPGeoPMT.h.

◆ getSensSizeX()

double getSensSizeX ( ) const
inline

Returns sensitive volume (photo-cathode) size in x.

Returns
size in x

Definition at line 165 of file TOPGeoPMT.h.

◆ getSensSizeY()

double getSensSizeY ( ) const
inline

Returns sensitive volume (photo-cathode) size in y.

Returns
size in y

Definition at line 171 of file TOPGeoPMT.h.

◆ getSensThickness()

double getSensThickness ( ) const
inline

Returns sensitive volume (photo-cathode) thickness.

Returns
thickness

Definition at line 177 of file TOPGeoPMT.h.

◆ getSizeX()

double getSizeX ( ) const
inline

Returns full size in x.

Returns
size in x

Definition at line 129 of file TOPGeoPMT.h.

◆ getSizeY()

double getSizeY ( ) const
inline

Returns full size in y.

Returns
size in y

Definition at line 135 of file TOPGeoPMT.h.

◆ getSizeZ()

double getSizeZ ( ) const
inline

Returns full size in z.

Returns
size in z

Definition at line 141 of file TOPGeoPMT.h.

◆ getWallMaterial()

const std::string& getWallMaterial ( ) const
inline

Returns wall (casing) material name.

Returns
material name

Definition at line 153 of file TOPGeoPMT.h.

◆ getWallThickness()

double getWallThickness ( ) const
inline

Returns wall thickness.

Returns
wall thickness

Definition at line 147 of file TOPGeoPMT.h.

◆ getWinMaterial()

const std::string& getWinMaterial ( ) const
inline

Returns entrance window material name.

Returns
material name

Definition at line 213 of file TOPGeoPMT.h.

◆ getWinThickness()

double getWinThickness ( ) const
inline

Returns entrance window thickness.

Returns
thickness

Definition at line 207 of file TOPGeoPMT.h.

◆ setBottom()

void setBottom ( double  thickness,
const std::string &  material 
)
inline

Sets bottom.

Parameters
thicknessthickness
materialbottom material

Definition at line 106 of file TOPGeoPMT.h.

◆ setFillMaterial()

void setFillMaterial ( const std::string &  material)
inline

Sets inside material.

Parameters
materialinside material name

Definition at line 61 of file TOPGeoPMT.h.

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 45 of file TOPGeoBase.h.

◆ setNumPixels()

void setNumPixels ( unsigned  numColumns,
unsigned  numRows 
)
inline

Sets number of pixel rows and columns.

Parameters
numColumnsnumber of pixel columns
numRowsnumber of pixel rows

Definition at line 84 of file TOPGeoPMT.h.

◆ setReflEdge()

void setReflEdge ( double  width,
double  thickness,
const GeoOpticalSurface surf 
)
inline

Sets reflective edge.

Parameters
widthwidth
thicknessthickness
surfoptical surface

Definition at line 118 of file TOPGeoPMT.h.

◆ setSensVolume()

void setSensVolume ( double  sizeX,
double  sizeY,
double  thickness,
const std::string &  material 
)
inline

Sets sensitive volume (photo-cathode)

Parameters
sizeXsize in x
sizeYsize in y
thicknessthickness
materialsensitive material

Definition at line 70 of file TOPGeoPMT.h.

◆ setWallMaterial()

void setWallMaterial ( const std::string &  material)
inline

Sets casing material.

Parameters
materialcasing material name

Definition at line 55 of file TOPGeoPMT.h.

◆ setWallThickness()

void setWallThickness ( double  thickness)
inline

Sets wall thickness.

Parameters
thicknesswall thickness

Definition at line 49 of file TOPGeoPMT.h.

◆ setWindow()

void setWindow ( double  thickness,
const std::string &  material 
)
inline

Sets entrance window.

Parameters
thicknessthickness
materialwindow material

Definition at line 95 of file TOPGeoPMT.h.


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