![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Information about the weighting of combined vertex generators. More...
#include <bayeux/genvtx/utils.h>
Public Types | |
| enum | weighting_type { WEIGHTING_NONE = 0, WEIGHTING_SURFACE = 1, WEIGHTING_VOLUME = 2, WEIGHTING_BULK = WEIGHTING_VOLUME, WEIGHTING_MASS = 3 } |
| Weighting type for combined vertex generators. More... | |
Public Member Functions | |
| void | invalidate () |
| Invalidate the weighting informations. More... | |
| bool | has_type () const |
| Check if a weighting type is present. More... | |
| bool | has_surface () const |
| Check for surface weigthing. More... | |
| bool | has_volume () const |
| Check for volume weigthing. More... | |
| bool | has_mass () const |
| Check for mass weigthing. More... | |
| bool | is_valid () const |
| Check the validity of weighting informations. More... | |
| double | get_surface () const |
| Return the associated surface. More... | |
| double | get_volume () const |
| Return the associated volume. More... | |
| double | get_mass () const |
| Return the associated mass. More... | |
| void | set_mass (double) |
| Set the associated mass. More... | |
| void | set_value (double) |
| Set the reference weighting value. More... | |
| void | set_type (int) |
| Set the weighting type. More... | |
| int | get_type () const |
| Return the weighting type. More... | |
| double | get_value () const |
| Return the reference weighting value. More... | |
| weight_info () | |
| Default constructor. More... | |
| void | dump (std::ostream &=std::clog, const std::string &title_="") const |
| Print. More... | |
Information about the weighting of combined vertex generators.
| genvtx::weight_info::weight_info | ( | ) |
Default constructor.
| void genvtx::weight_info::dump | ( | std::ostream & | = std::clog, |
| const std::string & | title_ = "" |
||
| ) | const |
Print.
| double genvtx::weight_info::get_mass | ( | ) | const |
Return the associated mass.
| double genvtx::weight_info::get_surface | ( | ) | const |
Return the associated surface.
| int genvtx::weight_info::get_type | ( | ) | const |
Return the weighting type.
| double genvtx::weight_info::get_value | ( | ) | const |
Return the reference weighting value.
| double genvtx::weight_info::get_volume | ( | ) | const |
Return the associated volume.
| bool genvtx::weight_info::has_mass | ( | ) | const |
Check for mass weigthing.
| bool genvtx::weight_info::has_surface | ( | ) | const |
Check for surface weigthing.
| bool genvtx::weight_info::has_type | ( | ) | const |
Check if a weighting type is present.
| bool genvtx::weight_info::has_volume | ( | ) | const |
Check for volume weigthing.
| void genvtx::weight_info::invalidate | ( | ) |
Invalidate the weighting informations.
| bool genvtx::weight_info::is_valid | ( | ) | const |
Check the validity of weighting informations.
| void genvtx::weight_info::set_mass | ( | double | ) |
Set the associated mass.
| void genvtx::weight_info::set_type | ( | int | ) |
Set the weighting type.
| void genvtx::weight_info::set_value | ( | double | ) |
Set the reference weighting value.
1.8.15