Belle II Software development
|
Geometry parameters of MCP-PMT array. More...
#include <TOPGeoPMTArray.h>
Public Member Functions | |
TOPGeoPMTArray () | |
Default constructor. | |
TOPGeoPMTArray (unsigned numColumns, unsigned numRows, double gapX, double gapY, const std::string &material, const TOPGeoPMT &pmt, const std::string &name="TOPPMTArray") | |
Full constructor. | |
void | setAirGap (double gap) |
Sets air gap for optically decoupled PMT's. | |
void | setDecoupledPMT (unsigned pmtID) |
Sets PMT as optically decoupled. | |
void | setSiliconeCookie (double thickness, const std::string &material) |
Sets silicone cookie. | |
void | setWavelengthFilter (double thickness, const std::string &material) |
Sets wavelength filter. | |
void | generateDecoupledPMTs (double fraction) |
Generate randomly a fraction of PMT's to be optically decoupled. | |
unsigned | getNumColumns () const |
Returns number of array columns. | |
unsigned | getNumRows () const |
Returns number of array rows. | |
unsigned | getSize () const |
Returns array size. | |
unsigned | getNumPixels () const |
Returns number of pixels. | |
unsigned | getNumPixelColumns () const |
Returns number of pixel columns. | |
unsigned | getNumPixelRows () const |
Returns number of pixel rows. | |
double | getDx () const |
Returns spacing in x (column width) | |
double | getDy () const |
Returns spacing in y (row height) | |
double | getGapX () const |
Returns gap between PMT's in x. | |
double | getGapY () const |
Returns gap between PMT's in y. | |
double | getCookieThickness () const |
Returns silicone cookie thickness. | |
const std::string & | getCookieMaterial () const |
Returns silicone cookie material. | |
double | getFilterThickness () const |
Returns wavelength filter thickness. | |
const std::string & | getFilterMaterial () const |
Returns wavelenght filter material. | |
double | getSizeX () const |
Returns array volume dimension in x. | |
double | getSizeY () const |
Returns array volume dimension in y. | |
double | getSizeZ () const |
Returns array volume dimension in z. | |
double | getX (unsigned col) const |
Returns x coordinate of column center. | |
double | getY (unsigned row) const |
Returns the y coordinate of row center. | |
const std::string & | getMaterial () const |
Returns material name into which PMT's are inserted. | |
const TOPGeoPMT & | getPMT () const |
Returns PMT geometry parameters. | |
unsigned | getPmtID (unsigned row, unsigned col) const |
Converts row and column numbers to PMT ID (1-based) | |
unsigned | getRow (unsigned pmtID) const |
Converts PMT ID to row number (1-based) | |
unsigned | getColumn (unsigned pmtID) const |
Converts PMT ID to column number (1-based) | |
int | getPixelID (double x, double y, unsigned pmtID) const |
Converts (digitizes) x, y and PMT ID to pixel ID (1-based) | |
int | getPixelID (unsigned pmtID, unsigned pmtPixelID) const |
Returns pixel ID (1-based) | |
double | getAirGap () const |
Returns air gap. | |
const std::vector< unsigned > & | getDecoupledPMTs () const |
Returns ID's of optically decoupled PMT's. | |
bool | isPMTDecoupled (unsigned pmtID) const |
Checks if PMT is optically decoupled. | |
bool | isConsistent () const override |
Check for consistency of data members. | |
void | print (const std::string &title="PMT array 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 (TOPGeoPMTArray, 3) | |
ClassDef. | |
Private Attributes | |
unsigned | m_numRows = 0 |
number of rows | |
unsigned | m_numColumns = 0 |
number of columns | |
float | m_dx = 0 |
spacing in x | |
float | m_dy = 0 |
spacing in y | |
float | m_gx = 0 |
gap between PMT's in x | |
float | m_gy = 0 |
gap between PMT's in y | |
std::string | m_material |
material name into which PMT's are inserted | |
TOPGeoPMT | m_pmt |
PMT geometry parameters. | |
float | m_airGap = 0 |
air gap thickness for decoupled PMT's | |
std::vector< unsigned > | m_decoupledPMTs |
ID's of decoupled PMT's. | |
float | m_cookieThickness = 0 |
silicone cookie thickness | |
std::string | m_cookieMaterial |
silicone cookie material | |
float | m_filterThickness = 0 |
wavelength filter thickness | |
std::string | m_filterMaterial |
wavelength filter material | |
Geometry parameters of MCP-PMT array.
Definition at line 24 of file TOPGeoPMTArray.h.
|
inline |
|
inline |
Full constructor.
numColumns | number of columns |
numRows | number of rows |
gapX | gap between PMT's in x |
gapY | gap between PMT's in y |
material | material name into which PMT's are inserted |
pmt | PMT geometry parameters |
name | object name |
Definition at line 43 of file TOPGeoPMTArray.h.
|
inline |
Returns air gap.
Definition at line 276 of file TOPGeoPMTArray.h.
|
inline |
Returns silicone cookie material.
Definition at line 166 of file TOPGeoPMTArray.h.
|
inline |
Returns silicone cookie thickness.
Definition at line 160 of file TOPGeoPMTArray.h.
|
inline |
Returns ID's of optically decoupled PMT's.
Definition at line 282 of file TOPGeoPMTArray.h.
|
inline |
Returns spacing in x (column width)
Definition at line 136 of file TOPGeoPMTArray.h.
|
inline |
Returns spacing in y (row height)
Definition at line 142 of file TOPGeoPMTArray.h.
|
inline |
Returns wavelenght filter material.
Definition at line 178 of file TOPGeoPMTArray.h.
|
inline |
Returns wavelength filter thickness.
Definition at line 172 of file TOPGeoPMTArray.h.
|
inline |
|
inline |
|
inline |
Returns material name into which PMT's are inserted.
Definition at line 225 of file TOPGeoPMTArray.h.
|
inlineinherited |
|
inline |
Returns number of array columns.
Definition at line 100 of file TOPGeoPMTArray.h.
|
inline |
Returns number of pixel columns.
Definition at line 124 of file TOPGeoPMTArray.h.
|
inline |
Returns number of pixel rows.
Definition at line 130 of file TOPGeoPMTArray.h.
|
inline |
Returns number of pixels.
Definition at line 118 of file TOPGeoPMTArray.h.
|
inline |
Returns number of array rows.
Definition at line 106 of file TOPGeoPMTArray.h.
|
inline |
Returns PMT geometry parameters.
Definition at line 231 of file TOPGeoPMTArray.h.
|
inline |
|
inline |
Returns array volume dimension in x.
Definition at line 184 of file TOPGeoPMTArray.h.
|
inline |
Returns array volume dimension in y.
Definition at line 190 of file TOPGeoPMTArray.h.
|
inline |
Returns array volume dimension in z.
Definition at line 196 of file TOPGeoPMTArray.h.
|
inline |
Returns x coordinate of column center.
col | valid column number (1-based) |
Definition at line 206 of file TOPGeoPMTArray.h.
|
inline |
Returns the y coordinate of row center.
row | valid row number (1-based) |
Definition at line 216 of file TOPGeoPMTArray.h.
|
inline |
Sets air gap for optically decoupled PMT's.
gap | gap thickness |
Definition at line 60 of file TOPGeoPMTArray.h.
|
inline |
Sets PMT as optically decoupled.
pmtID | ID of PMT to be set as decoupled (1-based) |
Definition at line 66 of file TOPGeoPMTArray.h.
|
inlineinherited |
Sets object name.
name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
inline |
Sets silicone cookie.
thickness | thickness |
material | material name |
Definition at line 73 of file TOPGeoPMTArray.h.
|
inline |
Sets wavelength filter.
thickness | thickness |
material | material name |
Definition at line 84 of file TOPGeoPMTArray.h.
|
private |
air gap thickness for decoupled PMT's
Definition at line 312 of file TOPGeoPMTArray.h.
|
private |
silicone cookie material
Definition at line 315 of file TOPGeoPMTArray.h.
|
private |
silicone cookie thickness
Definition at line 314 of file TOPGeoPMTArray.h.
|
private |
ID's of decoupled PMT's.
Definition at line 313 of file TOPGeoPMTArray.h.
|
private |
spacing in x
Definition at line 306 of file TOPGeoPMTArray.h.
|
private |
spacing in y
Definition at line 307 of file TOPGeoPMTArray.h.
|
private |
wavelength filter material
Definition at line 317 of file TOPGeoPMTArray.h.
|
private |
wavelength filter thickness
Definition at line 316 of file TOPGeoPMTArray.h.
|
private |
gap between PMT's in x
Definition at line 308 of file TOPGeoPMTArray.h.
|
private |
gap between PMT's in y
Definition at line 309 of file TOPGeoPMTArray.h.
|
private |
material name into which PMT's are inserted
Definition at line 310 of file TOPGeoPMTArray.h.
|
protectedinherited |
geometry object name
Definition at line 89 of file TOPGeoBase.h.
|
private |
number of columns
Definition at line 305 of file TOPGeoPMTArray.h.
|
private |
number of rows
Definition at line 304 of file TOPGeoPMTArray.h.
|
private |
PMT geometry parameters.
Definition at line 311 of file TOPGeoPMTArray.h.