10#include <arich/dbobjects/ARICHGeoBase.h>
11#include <framework/gearbox/Unit.h>
22 cout << title <<
":" << endl;
30 cout <<
" Rotations; x-axis: " << rx <<
" y-axis: " << ry <<
" z-axis: " << rz <<
" (in rad)" << endl;
34 cout <<
" Optical surface: ";
36 cout <<
"not defined" << endl;
40 cout <<
", model: " << surface.
getModel();
41 cout <<
", finish: " << surface.
getFinish();
42 cout <<
", type: " << surface.
getType();
43 cout <<
", value: " << surface.
getValue();
47 cout <<
" - property: ";
48 cout <<
property.getName() <<
" [";
49 for (
const auto& value : property.getValues()) cout << value <<
", ";
51 for (
const auto& value : property.getEnergies()) cout << value /
Unit::eV <<
", ";
52 cout <<
"] eV" << endl;
55 cout <<
" - properties: None" << endl;
static double s_unit
conversion unit for length
virtual void printPlacement(double x, double y, double z, double rx, double ry, double rz) const
Print volume positioning parameters.
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
Represent an optical finish of a surface.
const std::string & getName() const
get name of the optical surface
int getFinish() const
get finish of the surface
const std::vector< GeoMaterialProperty > & getProperties() const
get all properties
double getValue() const
get value for the surface condition
int getType() const
get type of the surface
bool hasProperties() const
check if the material has at least one property
int getModel() const
get model for the surface
static const double eV
[electronvolt]
static const double cm
Standard units with the value = 1.
Abstract base class for different kinds of events.