Belle II Software development
|
Geometry parameters of HAPD. More...
#include <ARICHGeoMirrors.h>
Public Member Functions | |
ARICHGeoMirrors () | |
Default constructor. | |
bool | isConsistent () const override |
Consistency check of geometry parameters. | |
void | print (const std::string &title="Mirror configuration parameters") const override |
Print the content of the class. | |
void | setMirrorPlate (double thick, double width, double length, const std::string &material, const GeoOpticalSurface &surf) |
Set parameters of mirror plate. | |
void | setNMirrors (unsigned nmir) |
Set number of mirror plates (slots) | |
void | setRadius (double r) |
Set nominal radius at which mirror plates are placed (center of plate) | |
void | setStartAngle (double stang) |
Set phi angle of position of the first mirror plate. | |
void | setZPosition (double zPos) |
Set nominal Z position of mirror plates (center point in ARICH local frame) | |
double | getZPosition () const |
Get nominal Z position of mirror plates (center point in ARICH local frame) | |
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. | |
double | getPlateThickness () const |
Get thickness of mirror plate. | |
double | getPlateWidth () const |
Get width of mirror plate. | |
double | getPlateLength () const |
Get length of mirror plate. | |
unsigned | getNMirrors () const |
Get number of mirror plates. | |
void | setMirrorNormVector (unsigned mirID, double x, double y, double z) |
Set normal vector of the i-th mirror plate surface. | |
void | setMirrorPoint (unsigned mirID, double x, double y, double z) |
Set vector to the center point of the mirror plate reflective surface. | |
const std::string & | getMaterial () const |
Get material name of mirror plates. | |
const GeoOpticalSurface & | getMirrorSurface () const |
Returns mirror reflective optical surface. | |
const ROOT::Math::XYZVector & | getNormVector (const unsigned mirID) const |
Get normal vector of the i-th mirror plate surface. | |
const ROOT::Math::XYZVector & | getPoint (const unsigned mirID) const |
Get vector to the center point of the mirror plate reflective surface. | |
void | initializeDefault () |
Initializes default mirror position parameters (assuming plate position on the regular m_nMirrors-sided polygon, with radius m_radius and with the first mirror plate positioned at m_startAngle) | |
void | setInstalled (unsigned mirID, bool installed) |
Set mirror plate installed/not installed (only installed plates are placed) | |
bool | isInstalled (unsigned mirID) const |
Check if i-th mirror plate is installed. | |
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. | |
virtual void | printPlacement (double x, double y, double z, double rx, double ry, double rz) const |
Print volume positioning parameters. | |
Protected Member Functions | |
ClassDef (ARICHGeoBase, 2) | |
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 (ARICHGeoMirrors, 2) | |
ClassDef. | |
Private Attributes | |
std::vector< ROOT::Math::XYZVector > | m_normVector |
vector of normal vectors of all mirror plates | |
std::vector< ROOT::Math::XYZVector > | m_point |
vector of points on the reflective surface of all mirror plates | |
std::vector< bool > | m_installed |
vector of installed/not installed flags of all mirror plates | |
std::string | m_material |
material of mirror plates | |
double | m_z = 0 |
nominal Z position of mirror plates | |
double | m_radius = 0 |
nominal radius at which mirror plates are placed | |
double | m_startAngle = 0 |
phi angle of the center of the 1st mirror plate | |
double | m_plateThickness = 0 |
thickness of mirror plate | |
double | m_plateWidth = 0 |
width of mirror plate | |
double | m_plateLength = 0 |
length of mirror plate | |
unsigned | m_nMirrors = 0 |
number of mirror plates (slots) | |
GeoOpticalSurface | m_surface |
optical surface of mirror plates | |
Geometry parameters of HAPD.
Definition at line 30 of file ARICHGeoMirrors.h.
|
inline |
|
inline |
Get material name of mirror plates.
Definition at line 164 of file ARICHGeoMirrors.h.
|
inline |
Returns mirror reflective optical surface.
Definition at line 170 of file ARICHGeoMirrors.h.
|
inlineinherited |
|
inline |
Get number of mirror plates.
Definition at line 132 of file ARICHGeoMirrors.h.
|
inline |
Get normal vector of the i-th mirror plate surface.
mirID | mirror ID |
Definition at line 177 of file ARICHGeoMirrors.h.
|
inline |
Get length of mirror plate.
Definition at line 126 of file ARICHGeoMirrors.h.
|
inline |
Get thickness of mirror plate.
Definition at line 114 of file ARICHGeoMirrors.h.
|
inline |
Get width of mirror plate.
Definition at line 120 of file ARICHGeoMirrors.h.
|
inline |
Get vector to the center point of the mirror plate reflective surface.
mirID | mirror ID |
Definition at line 188 of file ARICHGeoMirrors.h.
|
inline |
Get nominal radius at which mirror plates are placed (center of plate)
Definition at line 102 of file ARICHGeoMirrors.h.
|
inline |
Get phi angle of position of the first mirror plate.
Definition at line 108 of file ARICHGeoMirrors.h.
|
inline |
Get nominal Z position of mirror plates (center point in ARICH local frame)
Definition at line 96 of file ARICHGeoMirrors.h.
void initializeDefault | ( | ) |
Initializes default mirror position parameters (assuming plate position on the regular m_nMirrors-sided polygon, with radius m_radius and with the first mirror plate positioned at m_startAngle)
Definition at line 18 of file ARICHGeoMirrors.cc.
|
overridevirtual |
Consistency check of geometry parameters.
Reimplemented from ARICHGeoBase.
Definition at line 30 of file ARICHGeoMirrors.cc.
|
inline |
Check if i-th mirror plate is installed.
mirID | mirror plate ID |
Definition at line 216 of file ARICHGeoMirrors.h.
|
overridevirtual |
Print the content of the class.
title | title to be printed |
Reimplemented from ARICHGeoBase.
Definition at line 48 of file ARICHGeoMirrors.cc.
|
virtualinherited |
Print volume positioning parameters.
x | x position |
y | y position |
z | z position |
rx | rotation around x-axis |
ry | rotation around y-axis |
rz | rotation around z-axis |
Definition at line 25 of file ARICHGeoBase.cc.
|
virtualinherited |
Print the content of optical surface.
surface | optical surface parameters |
Definition at line 32 of file ARICHGeoBase.cc.
|
inline |
Set mirror plate installed/not installed (only installed plates are placed)
mirID | mirror plate ID |
installed | true if installed |
Definition at line 205 of file ARICHGeoMirrors.h.
|
inline |
Set normal vector of the i-th mirror plate surface.
mirID | mirror ID |
x | x component |
y | y component |
z | z component |
Definition at line 141 of file ARICHGeoMirrors.h.
|
inline |
Set parameters of mirror plate.
thick | thickness |
width | width |
length | length |
material | material name |
surf | optical surface |
Definition at line 59 of file ARICHGeoMirrors.h.
|
inline |
Set vector to the center point of the mirror plate reflective surface.
mirID | mirror ID |
x | x component |
y | y component |
z | z component |
Definition at line 154 of file ARICHGeoMirrors.h.
|
inlineinherited |
Sets object name.
name | object name |
Definition at line 43 of file ARICHGeoBase.h.
|
inline |
Set number of mirror plates (slots)
nmir | number of mirror plates (slots) |
Definition at line 72 of file ARICHGeoMirrors.h.
|
inline |
Set nominal radius at which mirror plates are placed (center of plate)
r | radius of mirror placement |
Definition at line 78 of file ARICHGeoMirrors.h.
|
inline |
Set phi angle of position of the first mirror plate.
stang | phi angle of position of the first mirror plate |
Definition at line 84 of file ARICHGeoMirrors.h.
|
inline |
Set nominal Z position of mirror plates (center point in ARICH local frame)
zPos | Z position of mirror plates |
Definition at line 90 of file ARICHGeoMirrors.h.
|
private |
vector of installed/not installed flags of all mirror plates
Definition at line 227 of file ARICHGeoMirrors.h.
|
private |
material of mirror plates
Definition at line 229 of file ARICHGeoMirrors.h.
|
protectedinherited |
geometry object name
Definition at line 82 of file ARICHGeoBase.h.
|
private |
number of mirror plates (slots)
Definition at line 236 of file ARICHGeoMirrors.h.
|
private |
vector of normal vectors of all mirror plates
Definition at line 225 of file ARICHGeoMirrors.h.
|
private |
length of mirror plate
Definition at line 235 of file ARICHGeoMirrors.h.
|
private |
thickness of mirror plate
Definition at line 233 of file ARICHGeoMirrors.h.
|
private |
width of mirror plate
Definition at line 234 of file ARICHGeoMirrors.h.
|
private |
vector of points on the reflective surface of all mirror plates
Definition at line 226 of file ARICHGeoMirrors.h.
|
private |
nominal radius at which mirror plates are placed
Definition at line 231 of file ARICHGeoMirrors.h.
|
private |
phi angle of the center of the 1st mirror plate
Definition at line 232 of file ARICHGeoMirrors.h.
|
private |
optical surface of mirror plates
Definition at line 238 of file ARICHGeoMirrors.h.
|
private |
nominal Z position of mirror plates
Definition at line 230 of file ARICHGeoMirrors.h.
|
staticprotectedinherited |
conversion unit for length
Definition at line 83 of file ARICHGeoBase.h.
|
staticprotectedinherited |
conversion unit name
Definition at line 84 of file ARICHGeoBase.h.