 |
Belle II Software
release-05-01-25
|
13 #include <top/dbobjects/TOPGeoBase.h>
14 #include <geometry/dbobjects/GeoOpticalSurface.h>
26 class TOPGeoPMT:
public TOPGeoBase {
42 TOPGeoPMT(
double sizeX,
double sizeY,
double sizeZ,
43 const std::string& name =
"TOPPMT"):
72 void setSensVolume(
double sizeX,
double sizeY,
double thickness,
73 const std::string& material)
97 void setWindow(
double thickness,
const std::string& material)
108 void setBottom(
double thickness,
const std::string& material)
120 void setReflEdge(
double width,
double thickness,
const GeoOpticalSurface& surf)
267 unsigned getPixelID(
double x,
double y)
const;
279 void print(
const std::string& title =
"MCP-PMT geometry parameters")
const override;
unsigned getNumColumns() const
Returns number of pixel columns.
double getSensSizeX() const
Returns sensitive volume (photo-cathode) size in x.
Geometry parameters of MCP-PMT.
const std::string & getFillMaterial() const
Returns fill (inside) material name.
double getSensThickness() const
Returns sensitive volume (photo-cathode) thickness.
std::string m_sensMaterial
sensitive material
const std::string & getBotMaterial() const
Returns bottom material name.
TOPGeoPMT()
Default constructor.
ClassDefOverride(TOPGeoPMT, 1)
ClassDef.
void setWindow(double thickness, const std::string &material)
Sets entrance window.
double getWallThickness() const
Returns wall thickness.
unsigned getPixelRow(double y) const
Converts y-coordinate to pixel row (1-based)
std::string m_winMaterial
window material
Base class for geometry parameters.
float m_botThickness
bottom thickness
const std::string & getWinMaterial() const
Returns entrance window material name.
std::string m_wallMaterial
casing material
float m_winThickness
window thickness
unsigned getNumPixels() const
Returns number of pixels.
double getSizeY() const
Returns full size in y.
double getSizeX() const
Returns full size in x.
float m_sensSizeY
sensitive volume (photo-cathode) size in y
unsigned getPixelID(double x, double y) const
Converts x and y coordinates to PMT pixel ID (1-based)
float m_wallThickness
side wall thickness
void setWallThickness(double thickness)
Sets wall thickness.
float m_sensThickness
sensitive volume (photo-cathode) thickness
GeoOpticalSurface m_reflEdgeSurface
reflective edge optical surface
void setBottom(double thickness, const std::string &material)
Sets bottom.
unsigned getPixelColumn(double x) const
Converts x-coordinate to pixel column (1-based)
double getBotThickness() const
Returns bottom thickness.
double getWinThickness() const
Returns entrance window thickness.
float m_sensSizeX
sensitive volume (photo-cathode) size in x
const GeoOpticalSurface & getReflEdgeSurface() const
Returns reflective edge optical surface.
Represent an optical finish of a surface.
void setWallMaterial(const std::string &material)
Sets casing material.
std::string m_fillMaterial
inside material
Abstract base class for different kinds of events.
void setNumPixels(unsigned numColumns, unsigned numRows)
Sets number of pixel rows and columns.
double getReflEdgeWidth() const
Returns reflective edge width.
static double s_unit
conversion unit for length
float m_reflEdgeWidth
reflective edge width
void setReflEdge(double width, double thickness, const GeoOpticalSurface &surf)
Sets reflective edge.
const std::string & getWallMaterial() const
Returns wall (casing) material name.
double getReflEdgeThickness() const
Returns reflective edge thickness.
unsigned m_numRows
number of pixel rows
bool isConsistent() const override
Check for consistency of data members.
float m_sizeY
full size in y
std::string m_botMaterial
bottom material
void print(const std::string &title="MCP-PMT geometry parameters") const override
Print the content of the class.
double getSizeZ() const
Returns full size in z.
double getSensSizeY() const
Returns sensitive volume (photo-cathode) size in y.
void setSensVolume(double sizeX, double sizeY, double thickness, const std::string &material)
Sets sensitive volume (photo-cathode)
unsigned m_numColumns
number of pixel columns
const std::string & getSensMaterial() const
Returns sensitive material name.
void setFillMaterial(const std::string &material)
Sets inside material.
float m_sizeZ
full size in z
unsigned getNumRows() const
Returns number of pixel rows.
float m_sizeX
full size in x
float m_reflEdgeThickness
reflective edge thickness