16 #ifndef GENVTX_TUBE_VG_H 17 #define GENVTX_TUBE_VG_H 1 61 void set_bulk (
double skin_thickness_);
89 void tree_dump (std::ostream & out_ = std::clog,
90 const std::string & title_ =
"",
91 const std::string & indent_ =
"",
92 bool inherit_ =
false)
const;
101 virtual void initialize(const ::datatools::properties &,
106 virtual void reset();
122 void _set_defaults_ ();
133 double _skin_thickness_;
134 double _sum_weight_[4];
144 #endif // GENVTX_TUBE_VG_H
const geomtools::tube & get_tube() const
bool has_logical() const
Check logical.
Top-level namespace of the Bayeux/genvtx module library.
Definition: box_model_vg.h:32
void set_surface(int surface_mask_)
bool has_tube_safe() const
void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
void set_bulk(double skin_thickness_)
virtual bool is_initialized() const
Check initialization status.
void set_surface_mask(int surface_mask_)
void reset_logical()
Reset logical.
virtual void reset()
Reset.
void set_skin_thickness(double skin_thickness_)
static const int MODE_BULK
Definition: tube_vg.h:47
void set_skin_skip(double skin_skip_)
virtual ~tube_vg()
Destructor.
void set_logical(const geomtools::logical_volume &)
Set logical.
bool has_tube_ref() const
const geomtools::tube & get_tube_ref() const
const geomtools::tube & get_tube_safe() const
void set_tube_ref(const geomtools::tube &tube_)
virtual void initialize(const ::datatools::properties &, ::datatools::service_manager &, ::genvtx::vg_dict_type &)
Initialization.
virtual void _shoot_vertex(::mygsl::rng &random_, ::geomtools::vector_3d &vertex_)
Randomize vertex.
static const int MODE_SURFACE
Definition: tube_vg.h:48
The base interface class for all vertex generator classes.
Definition: i_vertex_generator.h:59
#define GENVTX_VG_REGISTRATION_INTERFACE(GENVTX_CLASS_NAME)
Definition: vg_macros.h:46
static const int MODE_DEFAULT
Definition: tube_vg.h:49
std::map< std::string, vg_entry_type > vg_dict_type
Definition: vg_tools.h:125
A vertex generator based on the geometry of a 3D tube.
Definition: tube_vg.h:42
static const int MODE_INVALID
Definition: tube_vg.h:46
void set_tube(const geomtools::tube &tube_)
Pseudo random number generator.
Definition: rng.h:53