9#include <arich/dbobjects/ARICHGeoHAPD.h>
32 else {chX = -1; chY = -1;
return;}
36 else {chX = -1; chY = -1;
return;}
38 if (chX + 1 >
int(
m_nPadX) || chY + 1 > int(
m_nPadY) || chX < 0 || chY < 0) {
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.
static std::string s_unitName
conversion unit name
double m_moduleSizeZ
HAPD module Z size (HAPD + FEB height)
double getSizeZ() const
Returns HAPD size in z.
const std::string & getFEBMaterial() const
Returns FEB material name.
double m_APDSizeY
APD Y size.
double getChipGap() const
Returns gap between APD chips.
bool isConsistent() const override
Check consistency of geometry parameters.
std::string m_febMaterial
material of FEB
void print(const std::string &title="HAPD module geometry parameters") const override
Print the content of the class.
double getPadSize() const
Returns APD pad size.
double m_chipGap
gap between APD chips
std::string m_wallMaterial
material of HAPD side walls
double m_HAPDSizeZ
HAPD Z size.
std::string m_fillMaterial
material that fills the HAPD
unsigned getNumPadsY() const
Returns number of Y pads.
double m_FEBSizeZ
FEB Z size.
unsigned m_nPadX
number of pads in X
unsigned getChipID(double x, double y) const
Returns APD chip ID from from local x,y position.
double getAPDSizeZ() const
Returns APD size in z.
std::string m_winMaterial
material of HAPD window
double getWinRefIndex() const
Returns window refractive index.
double getWinThickness() const
Returns window thickness.
const std::string & getAPDMaterial() const
Returns APD material name.
double m_winRefIndex
window refractive index
void getXYChannel(double x, double y, int &chX, int &chY) const
Returns X and Y channel number from local x,y position.
double m_APDSizeX
APD X size.
double m_FEBSizeX
FEB X size.
const std::string & getWallMaterial() const
Returns wall (casing) material name.
const std::string & getFillMaterial() const
Returns fill (inside) material name.
unsigned getNumPadsX() const
Returns number of X pads.
double getSizeX() const
Returns HAPD size in x.
double getSizeY() const
Returns HAPD size in y.
double getFEBSizeY() const
Returns FEB size in y.
double getWallThickness() const
Returns wall thickness.
double getFEBSizeZ() const
Returns FEB size in z.
double m_wallThickness
HAPD side wall thickness.
GeoOpticalSurface m_apdSurface
optical surface of APD (for reflectivity)
double m_HAPDSizeX
HAPD X size.
const std::string & getWinMaterial() const
Returns window material name.
std::string m_apdMaterial
material of APD chips
double getModuleSizeZ() const
Returns module size in z (HAPD + FEB height)
double m_FEBSizeY
FEB Y size.
double getAPDSizeY() const
Returns APD size in y.
double getFEBSizeX() const
Returns FEB size in x.
void getXYChannelPos(int chX, int chY, double &x, double &y) const
Returns local x,y position from channel X,Y numbers.
double getAPDSizeX() const
Returns APD size in x.
double m_HAPDSizeY
HAPD Y size.
double m_APDSizeZ
APD Z size.
unsigned m_nPadY
number of pads in Y
double m_winThickness
HAPD window thickness.
Abstract base class for different kinds of events.