9#include <top/dbobjects/TOPGeoPMT.h>
39 if (col == 0)
return 0;
41 if (row == 0)
return 0;
103 cout <<
" reflective edge: " << endl;
double getSizeZ() const
Returns full size in z.
unsigned getNumColumns() const
Returns number of pixel columns.
unsigned m_numColumns
number of pixel columns
float m_wallThickness
side wall thickness
float m_sensSizeX
sensitive volume (photo-cathode) size in x
float m_sizeX
full size in x
double getReflEdgeThickness() const
Returns reflective edge thickness.
double getDx() const
Returns pixel size in x.
const std::string & getSensMaterial() const
Returns sensitive material name.
float m_botThickness
bottom thickness
std::string m_winMaterial
window material
double getWinThickness() const
Returns entrance window thickness.
double getBotThickness() const
Returns bottom thickness.
unsigned m_numRows
number of pixel rows
double getDy() const
Returns pixel size in y.
GeoOpticalSurface m_reflEdgeSurface
reflective edge optical surface
const std::string & getWallMaterial() const
Returns wall (casing) material name.
double getReflEdgeWidth() const
Returns reflective edge width.
const std::string & getFillMaterial() const
Returns fill (inside) material name.
double getSensSizeX() const
Returns sensitive volume (photo-cathode) size in x.
float m_sizeZ
full size in z
float m_sensSizeY
sensitive volume (photo-cathode) size in y
double getSizeX() const
Returns full size in x.
float m_sizeY
full size in y
float m_sensThickness
sensitive volume (photo-cathode) thickness
double getSizeY() const
Returns full size in y.
std::string m_botMaterial
bottom material
double getWallThickness() const
Returns wall thickness.
double getSensThickness() const
Returns sensitive volume (photo-cathode) thickness.
std::string m_sensMaterial
sensitive material
const std::string & getWinMaterial() const
Returns entrance window material name.
unsigned getNumRows() const
Returns number of pixel rows.
float m_reflEdgeWidth
reflective edge width
const std::string & getBotMaterial() const
Returns bottom material name.
double getSensSizeY() const
Returns sensitive volume (photo-cathode) size in y.
float m_reflEdgeThickness
reflective edge thickness
float m_winThickness
window thickness
bool isConsistent() const override
Check for consistency of data members.
static double s_unit
conversion unit for length
double getX(unsigned col) const
Returns x coordinate of pixel center.
double getY(unsigned row) const
Returns y coordinate of pixel center.
void print(const std::string &title="MCP-PMT geometry parameters") const override
Print the content of the class.
virtual void printSurface(const GeoOpticalSurface &surface) const
Print the content of optical surface.
virtual void print(const std::string &title) const
Print the content of the class.
unsigned getPixelColumn(double x) const
Converts x-coordinate to pixel column (1-based)
static std::string s_unitName
conversion unit name
unsigned getPixelRow(double y) const
Converts y-coordinate to pixel row (1-based)
unsigned getPixelID(double x, double y) const
Converts x and y coordinates to PMT pixel ID (1-based)
Abstract base class for different kinds of events.