Belle II Software development
|
Base class with geometry data. More...
#include <RaytracerBase.h>
Classes | |
struct | BarSegment |
bar segment data in module local frame. More... | |
struct | Mirror |
spherical mirror data in module local frame. More... | |
struct | Prism |
prism data in module local frame. More... | |
Public Types | |
enum | EGeometry { c_Unified = 0 , c_Segmented = 1 } |
Treatement of quartz geometry. More... | |
enum | EOptics { c_SemiLinear = 0 , c_Exact = 1 } |
Treatement of spherical mirror optics. More... | |
Public Member Functions | |
RaytracerBase (int moduleID, EGeometry geometry=c_Unified, EOptics optics=c_SemiLinear) | |
Constructor. | |
int | getModuleID () const |
Returns slot ID. | |
EGeometry | getGeometry () const |
Returns quartz geometry treatement. | |
EOptics | getOptics () const |
Returns treatement of spherical mirror optics. | |
const std::vector< BarSegment > & | getBars () const |
Returns geometry data of bar segments. | |
const Mirror & | getMirror () const |
Returns geometry data of spherical mirror. | |
const Prism & | getPrism () const |
Returns geometry data of prism. | |
void | setMirrorCenter (double xc, double yc) |
Sets the mirror center-of-curvature. | |
Protected Attributes | |
int | m_moduleID = 0 |
slot ID | |
EGeometry | m_geometry = c_Unified |
quartz geometry | |
EOptics | m_optics = c_SemiLinear |
spherical mirror optics | |
std::vector< BarSegment > | m_bars |
geometry data of bar segments | |
Mirror | m_mirror |
spherical mirror geometry data | |
Prism | m_prism |
prism geometry data | |
Base class with geometry data.
Definition at line 27 of file RaytracerBase.h.
enum EGeometry |
Treatement of quartz geometry.
Enumerator | |
---|---|
c_Unified | single bar with average width and thickness |
c_Segmented | segmented bars |
Definition at line 33 of file RaytracerBase.h.
enum EOptics |
Treatement of spherical mirror optics.
Enumerator | |
---|---|
c_SemiLinear | semi-linear approximation |
c_Exact | exact optics |
Definition at line 41 of file RaytracerBase.h.
|
explicit |
Constructor.
moduleID | slot ID |
geometry | treatement of quartz geometry |
optics | treatement of spherical mirror optics |
Definition at line 78 of file RaytracerBase.cc.
|
inline |
Returns geometry data of bar segments.
Definition at line 161 of file RaytracerBase.h.
|
inline |
Returns quartz geometry treatement.
Definition at line 149 of file RaytracerBase.h.
|
inline |
Returns geometry data of spherical mirror.
Definition at line 167 of file RaytracerBase.h.
|
inline |
|
inline |
Returns treatement of spherical mirror optics.
Definition at line 155 of file RaytracerBase.h.
|
inline |
Returns geometry data of prism.
Definition at line 173 of file RaytracerBase.h.
void setMirrorCenter | ( | double | xc, |
double | yc | ||
) |
Sets the mirror center-of-curvature.
xc | center of curvature in x |
yc | center of curvature in y |
Definition at line 100 of file RaytracerBase.cc.
|
protected |
geometry data of bar segments
Definition at line 188 of file RaytracerBase.h.
quartz geometry
Definition at line 185 of file RaytracerBase.h.
|
protected |
spherical mirror geometry data
Definition at line 189 of file RaytracerBase.h.
|
protected |
slot ID
Definition at line 184 of file RaytracerBase.h.
|
protected |
spherical mirror optics
Definition at line 186 of file RaytracerBase.h.
|
protected |
prism geometry data
Definition at line 190 of file RaytracerBase.h.