Mirror displacement parameters for ARICH.
More...
#include <ARICHGeoMirrorDisplacement.h>
|
std::string | m_name |
| geometry object name
|
|
Mirror displacement parameters for ARICH.
Definition at line 23 of file ARICHGeoMirrorDisplacement.h.
◆ ARICHGeoMirrorDisplacement()
◆ ~ARICHGeoMirrorDisplacement()
◆ getDisplacementElement()
Returns displacement parameters for given mirror plate.
- Returns
- position element
Definition at line 49 of file ARICHGeoMirrorDisplacement.h.
50 {
52 }
std::vector< ARICHPositionElement > m_elements
vector of positions elements for displacement
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inlineinherited |
Returns object name.
- Returns
- object name
Definition at line 49 of file ARICHGeoBase.h.
std::string m_name
geometry object name
◆ isConsistent()
virtual bool isConsistent |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ print()
void print |
( |
const std::string & |
title = "Mirror Displacement Parameters" | ) |
const |
|
inlinevirtual |
Print the content of the class.
- Parameters
-
Reimplemented from ARICHGeoBase.
Definition at line 54 of file ARICHGeoMirrorDisplacement.h.
55 {
57 int i = 1;
58 for (
auto el :
m_elements) { std::cout <<
"Mirror plate " << i++ << std::endl; el.print(); std::cout << std::endl;}
59 }
virtual void print(const std::string &title) const
Print the content of the class.
◆ printPlacement()
void printPlacement |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
rx, |
|
|
double |
ry, |
|
|
double |
rz |
|
) |
| const |
|
virtualinherited |
Print volume positioning parameters.
- 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.
26{
27
29 << endl;
30 cout << " Rotations; x-axis: " << rx << " y-axis: " << ry << " z-axis: " << rz << " (in rad)" << endl;
31}
static std::string s_unitName
conversion unit name
◆ printSurface()
Print the content of optical surface.
- Parameters
-
surface | optical surface parameters |
Definition at line 32 of file ARICHGeoBase.cc.
33{
34 cout << " Optical surface: ";
36 cout << "not defined" << endl;
37 return;
38 }
40 cout <<
", model: " << surface.
getModel();
41 cout <<
", finish: " << surface.
getFinish();
42 cout <<
", type: " << surface.
getType();
43 cout <<
", value: " << surface.
getValue();
44 cout << endl;
47 cout << " - property: ";
48 cout << property.getName() << " [";
49 for (const auto& value : property.getValues()) cout << value << ", ";
50 cout << "], @[";
51 for (
const auto& value : property.getEnergies()) cout << value /
Unit::eV <<
", ";
52 cout << "] eV" << endl;
53 }
54 } else {
55 cout << " - properties: None" << endl;
56 }
57
58}
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]
◆ setDisplacementElement()
Sets displacement parameters (element) for mirror plate.
- Parameters
-
id | mirror id |
pars | element displacement element |
Definition at line 40 of file ARICHGeoMirrorDisplacement.h.
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
◆ m_elements
◆ m_name
◆ s_unit
◆ s_unitName
The documentation for this class was generated from the following file: