Bayeux  3.4.1
Core Foundation library for SuperNEMO
genbb_utils.h
Go to the documentation of this file.
1 /* Author(s): Francois Mauger <mauger@lpccaen.in2p3.fr>
3  * Creation date: 2010-09-28
4  * Last modified: 2013-05-07
5  *
6  * License:
7  * Copyright 2007-2013 F. Mauger
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 3 of the License, or (at
12  * your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22  *
23  * Description:
24  *
25  * Utilities related to the decay0/genbb generator
26  *
27  */
28 
29 #ifndef GENBB_HELP_GENBB_UTILS_H
30 #define GENBB_HELP_GENBB_UTILS_H
31 
32 // Standard library:
33 #include <string>
34 #include <vector>
35 #include <map>
36 
38 namespace genbb
39 {
40 
42  class utils
43  {
44  public:
45 
48  {
52  };
53 
54  static const double DEFAULT_ENERGY_RANGE_MIN;
55 
56  static const double DEFAULT_ENERGY_RANGE_MAX;
57 
58  static const std::vector<std::string> & get_dbd_nuclides();
59 
60  static const std::vector<std::string> & get_background_nuclides();
61 
62  static const std::map<int, std::string> & get_dbd_modes();
63 
64  static const std::vector<int> & get_dbd_modes_with_energy_range();
65 
66  };
67 
68 } // end of namespace genbb
69 
70 #endif // GENBB_HELP_GENBB_UTILS_H
71 
72 // Local Variables: --
73 // mode: c++ --
74 // End: --
Double beta decay type.
Definition: genbb_utils.h:50
static const std::vector< std::string > & get_background_nuclides()
decay_type
Decay type.
Definition: genbb_utils.h:47
static const std::vector< int > & get_dbd_modes_with_energy_range()
Background decay type.
Definition: genbb_utils.h:51
static const double DEFAULT_ENERGY_RANGE_MAX
Definition: genbb_utils.h:56
Top-level namespace of the Bayeux/genbb_help module library.
Definition: alpha_decay.h:51
Invalid decay type.
Definition: genbb_utils.h:49
static const std::vector< std::string > & get_dbd_nuclides()
Utility class.
Definition: genbb_utils.h:42
static const double DEFAULT_ENERGY_RANGE_MIN
Definition: genbb_utils.h:54
static const std::map< int, std::string > & get_dbd_modes()