gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
DarkBit_utils.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
16 
17 
18 #ifndef __DarkBit_utils_hpp__
19 #define __DarkBit_utils_hpp__
20 
21 #include <vector>
22 #include <map>
23 
25 #include "gambit/cmake/cmake_variables.hpp"
27 
28 
29 namespace Gambit
30 {
31 
32  namespace DarkBit
33  {
34 
35  namespace DarkBit_utils
36  {
37 
38  // Functions
39 
40  // Convert between mass and flavour eigenstate identifiers
41  std::string str_flav_to_mass(std::string flav);
42  std::string str_mass_to_flav(std::string mass);
43 
44  // Helper function for recursively importing decays and decays of resulting final states into a process catalog
45  void ImportDecays(std::string pID, TH_ProcessCatalog &catalog,
46  std::set<std::string> &importedDecays,
47  const DecayTable* tbl, double minBranching,
48  std::vector<std::string> excludeDecays = std::vector<std::string>());
49 
58  template <int i>
59  double gamma3bdy_limits(double Eg, double M_DM, double m1, double m2);
60  }
61 
62  }
63 
64 }
65 
66 #endif // defined __DarkBit_utils_hpp__
void ImportDecays(std::string pID, TH_ProcessCatalog &catalog, std::set< std::string > &importedDecays, const DecayTable *tbl, double minBranching, std::vector< std::string > excludeDecays=std::vector< std::string >())
General small utility classes, typedefs, etc.
A container holding all annihilation and decay initial states relevant for DarkBit.
double gamma3bdy_limits(double Eg, double M_DM, double m1, double m2)
Calculate kinematical limits for three-body final states.
GAMBIT native decay table class.
Definition: decay_table.hpp:35
std::string str_flav_to_mass(std::string flav)
TODO: see if we can use this one:
Definition: Analysis.hpp:33
std::string str_mass_to_flav(std::string mass)