Bayeux  3.4.1
Core Foundation library for SuperNEMO
ring_random_tools.h
Go to the documentation of this file.
1 /* Author(s) : Francois Mauger <mauger@lpccaen.in2p3.fr>
3  * Creation date: 2012-09-26
4  * Last modified: 2014-04-09
5  *
6  * License:
7  *
8  * Description:
9  *
10  * Algorithm to randomize points on the surface of a ring
11  *
12  * History:
13  *
14  *
15  */
16 
17 #ifndef GENVTX_RING_RANDOM_TOOLS_H
18 #define GENVTX_RING_RANDOM_TOOLS_H 1
19 
20 // Standard library:
21 #include <cmath>
22 
23 // Third party:
24 // - Bayeux/geomtools:
25 #include <geomtools/utils.h>
26 // - Bayeux/mygsl:
27 #include <mygsl/rng.h>
28 
29 namespace genvtx {
30 
33  double outer_radius_,
34  double inner_radius_ = 0.0,
35  double thickness_ = 0.0,
36  double theta1_ = 0.0,
37  double theta2_ = M_PI);
38 
39 } // end of namespace genvtx
40 
41 #endif // GENVTX_RING_RANDOM_TOOLS_H
42 
43 /*
44 ** Local Variables: --
45 ** mode: c++ --
46 ** c-file-style: "gnu" --
47 ** tab-width: 2 --
48 ** End: --
49 */
Top-level namespace of the Bayeux/genvtx module library.
Definition: box_model_vg.h:32
geomtools::vector_3d ring_random_surface(mygsl::rng &random_, double outer_radius_, double inner_radius_=0.0, double thickness_=0.0, double theta1_=0.0, double theta2_=M_PI)
CLHEP::Hep3Vector vector_3d
Alias for the CLHEP 3D-vector class.
Definition: clhep.h:63
Pseudo random number generator.
Definition: rng.h:53