9#include <arich/dbobjects/ARICHGeoMirrors.h>
32 if (
m_nMirrors == 0) { B2INFO(
"ARICHGeoMirrors: no mirrors will be placed");
return true;}
43 B2INFO(
"ARICHGeoMirrors: no optical properties are specified for mirrors! (no photons will be reflected)");
51 cout <<
" mirror plate:" << endl;
56 cout <<
" number of plates: " <<
getNMirrors() << endl;
57 cout <<
" nominal phi angle of 1st plate: " <<
getStartAngle() << endl;
58 cout <<
" nominal radius at which plates are placed: " <<
getRadius() <<
" " <<
s_unitName << endl;
61 cout <<
" installed plates " << endl;
64 for (
unsigned imir = 1; imir <
getNMirrors() + 1; imir++) {
65 cout << setw(3) << imir <<
" ";
69 for (
unsigned imir = 1; imir <
getNMirrors() + 1; imir++) {
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
bool isConsistent() const override
Consistency check of geometry parameters.
void initializeDefault()
Initializes default mirror position parameters (assuming plate position on the regular m_nMirrors-sid...
double m_radius
nominal radius at which mirror plates are placed
std::string m_material
material of mirror plates
void print(const std::string &title="Mirror configuration parameters") const override
Print the content of the class.
double m_plateWidth
width of mirror plate
double getZPosition() const
Get nominal Z position of mirror plates (center point in ARICH local frame)
unsigned getNMirrors() const
Get number of mirror plates.
double getPlateWidth() const
Get width of mirror plate.
double m_plateLength
length of mirror plate
std::vector< bool > m_installed
vector of installed/not installed flags of all mirror plates
GeoOpticalSurface m_surface
optical surface of mirror plates
std::vector< ROOT::Math::XYZVector > m_point
vector of points on the reflective surface of all mirror plates
const std::string & getMaterial() const
Get material name of mirror plates.
double m_startAngle
phi angle of the center of the 1st mirror plate
double getPlateLength() const
Get length of mirror plate.
std::vector< ROOT::Math::XYZVector > m_normVector
vector of normal vectors of all mirror plates
double getRadius() const
Get nominal radius at which mirror plates are placed (center of plate)
double getStartAngle() const
Get phi angle of position of the first mirror plate.
bool isInstalled(unsigned mirID) const
Check if i-th mirror plate is installed.
double getPlateThickness() const
Get thickness of mirror plate.
double m_plateThickness
thickness of mirror plate
unsigned m_nMirrors
number of mirror plates (slots)
bool hasProperties() const
check if the material has at least one property
Abstract base class for different kinds of events.