Belle II Software
release-08-01-10
|
Represent an optical finish of a surface. More...
#include <GeoOpticalSurface.h>
Public Member Functions | |
GeoOpticalSurface ()=default | |
empty constructor for ROOT | |
GeoOpticalSurface (const std::string &name, int model, int finish, int type, double value) | |
real constructor | |
void | setName (const std::string &name) |
set name of the optical surface | |
void | setModel (int model) |
set model for the surface | |
void | setFinish (int finish) |
set finish of the surface | |
void | setType (int type) |
set type of the surface | |
void | setValue (double value) |
set value for the surface condition | |
void | addProperty (const GeoMaterialProperty &property) |
add a property to the material | |
const std::string & | getName () const |
get name of the optical surface | |
int | getModel () const |
get model for the surface | |
int | getFinish () const |
get finish of the surface | |
int | getType () const |
get type of the surface | |
double | getValue () const |
get value for the surface condition | |
const std::vector< GeoMaterialProperty > & | getProperties () const |
get all properties | |
bool | hasProperties () const |
check if the material has at least one property More... | |
Private Member Functions | |
ClassDef (GeoOpticalSurface, 1) | |
Add ROOT reflection info. | |
Private Attributes | |
std::string | m_name |
name of the optical surface | |
int | m_model |
model for the surface | |
int | m_finish |
finish of the surface | |
int | m_type |
type of the surface | |
double | m_value |
value for the surface condition | |
std::vector< GeoMaterialProperty > | m_properties |
properties of this material | |
Represent an optical finish of a surface.
Definition at line 21 of file GeoOpticalSurface.h.
|
inline |
check if the material has at least one property
Definition at line 54 of file GeoOpticalSurface.h.