gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
SUSY_extras.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
17 
18 #pragma once
19 
20 #define MODULE ColliderBit
21 
22  // Get Monte Carlo event generator based on SLHA file input
23  #define CAPABILITY HardScatteringSim
24 
25  #define FUNCTION getPythia_SLHA
26  START_FUNCTION(Py8Collider_defaultversion)
27  NEEDS_MANAGER(RunMC, MCLoopInfo)
28  NEEDS_CLASSES_FROM(Pythia, default)
29  ALLOW_MODELS(ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
30  DEPENDENCY(SLHAFileNameAndContent, pair_str_SLHAstruct)
31  #undef FUNCTION
32 
33  #undef CAPABILITY
34 
35 
36 
37 
40 
42  #define CAPABILITY PIDPairCrossSectionsMap
43 
44  #ifdef HAVE_PYBIND11
45  #define FUNCTION getPIDPairCrossSectionsMap_xsecBE
50  NEEDS_MANAGER(RunMC, MCLoopInfo)
51  DEPENDENCY(ActivePIDPairs, vec_PID_pair)
52  DEPENDENCY(SLHA1Spectrum, SLHAstruct)
55  ALLOW_MODELS(ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
56  BACKEND_REQ(xsecBE_import_slha_string, (), void, (std::string&))
57  BACKEND_REQ(xsecBE_set_parameters, (), void, (PyDict&))
58  BACKEND_REQ(xsecBE_get_xsection, (), PyDict, (iipair&))
59  #undef FUNCTION
60  #endif
61 
63  #define FUNCTION getPIDPairCrossSectionsMap_prospino
65  NEEDS_MANAGER(RunMC, MCLoopInfo)
66  DEPENDENCY(ActivePIDPairs, vec_PID_pair)
67  DEPENDENCY(SLHA1Spectrum, SLHAstruct)
71  BACKEND_REQ(prospino_run, (libprospino), map_str_dbl, (const PID_pair&, const Options&))
72  BACKEND_REQ(prospino_read_slha1_input, (libprospino), void, (const SLHAstruct&))
73  #undef FUNCTION
74 
75  #ifdef HAVE_PYBIND11
76  #define FUNCTION getPIDPairCrossSectionsMap_salami
81  NEEDS_MANAGER(RunMC, MCLoopInfo)
82  DEPENDENCY(ActivePIDPairs, vec_PID_pair)
83  DEPENDENCY(SLHA1Spectrum, SLHAstruct)
86  ALLOW_MODELS(ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
87  BACKEND_REQ(salami_import_slha_string, (), void, (std::string&))
88  BACKEND_REQ(salami_set_parameters, (), void, (PyDict&))
89  BACKEND_REQ(salami_get_xsection, (), PyDict, (iipair&, double&, double&))
90  // Needs Prospino to get LO cross-section
91  BACKEND_REQ(prospino_run_alloptions, (libprospino), map_str_dbl, (const PID_pair&, const int&, const int&, const int&, const double&, const int&, const bool&))
92  BACKEND_REQ(prospino_read_slha1_input, (libprospino), void, (const SLHAstruct&))
93  #undef FUNCTION
94  #endif
95 
96  #undef CAPABILITY
97 
99 
102  #define CAPABILITY SLHAFileNameAndContent
104 
106  #define FUNCTION getNextSLHAFileNameAndContent
109  #undef FUNCTION
110 
113  #define FUNCTION getAndReplaceSLHAContent
115  ALLOW_MODELS(ColliderBit_SLHA_scan_model)
116  #undef FUNCTION
117 
118  #undef CAPABILITY
119 
121 
124  #define CAPABILITY SLHAFileElements
126  #define FUNCTION getSLHAFileElements
128  ALLOW_MODELS(ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
129  DEPENDENCY(SLHAFileNameAndContent, pair_str_SLHAstruct)
130  #undef FUNCTION
131  #undef CAPABILITY
132 
134 
137  #define CAPABILITY SLHA1Spectrum
139  #define FUNCTION getSLHA1Spectrum
143  ALLOW_MODELS(ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
144  MODEL_CONDITIONAL_DEPENDENCY(SLHAFileNameAndContent, pair_str_SLHAstruct, ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
146  #undef FUNCTION
147  #undef CAPABILITY
148 
149  #define CAPABILITY SLHA2Spectrum
151  #define FUNCTION getSLHA2Spectrum
153  ALLOW_MODELS(MSSM63atQ, MSSM63atMGUT)
154  ALLOW_MODELS(MSSM63atQ_mA, MSSM63atMGUT_mA)
155  ALLOW_MODELS(ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
156  MODEL_CONDITIONAL_DEPENDENCY(SLHAFileNameAndContent, pair_str_SLHAstruct, ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model)
157  MODEL_CONDITIONAL_DEPENDENCY(MSSM_spectrum, Spectrum, MSSM63atQ, MSSM63atMGUT, MSSM63atQ_mA, MSSM63atMGUT_mA)
158  #undef FUNCTION
159  #undef CAPABILITY
160 
162 
163  #define CAPABILITY susy_spectrum_scan_guide
165  #define FUNCTION calc_susy_spectrum_scan_guide
166  START_FUNCTION(double)
167  ALLOW_MODELS(MSSM63atQ, MSSM63atMGUT)
168  ALLOW_MODELS(MSSM63atQ_mA, MSSM63atMGUT_mA)
169  DEPENDENCY(SLHA_pseudonyms, mass_es_pseudonyms)
170  MODEL_CONDITIONAL_DEPENDENCY(MSSM_spectrum, Spectrum, MSSM63atQ, MSSM63atMGUT, MSSM63atQ_mA, MSSM63atMGUT_mA)
171  #undef FUNCTION
172  #undef CAPABILITY
173 
174 
175 #undef MODULE
std::map< PID_pair, PID_pair_xsec_container > map_PID_pair_PID_pair_xsec
ColliderBit_SLHA_file_model
MCLoopInfo ColliderBit_SLHA_scan_model DEPENDENCY(SLHAFileNameAndContent, pair_str_SLHAstruct) START_FUNCTION(map_PID_pair_PID_pair_xsec) NEEDS_MANAGER(RunMC
Cross-sections for weighting events by production process.
START_FUNCTION(Py8Collider_defaultversion) NEEDS_MANAGER(RunMC
MSSM63atMGUT ColliderBit_SLHA_scan_model MSSM63atQ_mA
MCLoopInfo ColliderBit_SLHA_scan_model MCLoopInfo SLHAstruct ALLOW_MODELS(MSSM63atQ, MSSM63atMGUT) ALLOW_MODELS(MSSM63atQ_mA
MSSM63atMGUT ColliderBit_SLHA_scan_model MODEL_CONDITIONAL_DEPENDENCY(SLHAFileNameAndContent, pair_str_SLHAstruct, ColliderBit_SLHA_file_model, ColliderBit_SLHA_scan_model) MODEL_CONDITIONAL_DEPENDENCY(MSSM_spectrum
MSSM63atMGUT ColliderBit_SLHA_scan_model MSSM63atMGUT
MSSM63atMGUT ColliderBit_SLHA_scan_model MSSM63atQ
SLHAea::Coll SLHAstruct
Less confusing name for SLHAea container class.
MCLoopInfo NEEDS_CLASSES_FROM(Pythia, default) ALLOW_MODELS(ColliderBit_SLHA_file_model
MCLoopInfo ColliderBit_SLHA_scan_model MCLoopInfo SLHAstruct MSSM63atMGUT_mA libprospino
Definition: SUSY_extras.hpp:72
std::map< std::string, double > map_str_dbl
Shorthand for a string-to-double map.
#define START_CAPABILITY
Registers the current CAPABILITY of the current MODULE.
MSSM63atMGUT ColliderBit_SLHA_scan_model Spectrum
std::pair< int, int > iipair
Shorthand for a pair of integers.
Definition: util_types.hpp:68
MCLoopInfo ColliderBit_SLHA_scan_model MCLoopInfo SLHAstruct MSSM63atMGUT_mA BACKEND_REQ(prospino_run,(libprospino), map_str_dbl,(const PID_pair &, const Options &)) BACKEND_REQ(prospino_read_slha1_input
std::vector< PID_pair > vec_PID_pair
#define NEEDS_MANAGER(...)
Indicates that the current FUNCTION of the current MODULE must be managed by another function (in the...