gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
mssm_slhahelp.cpp File Reference

Definitions of routines to help users / Bits translate between SLHA2 sfermions and SLHA1 (or similar) sfermions. More...

Include dependency graph for mssm_slhahelp.cpp:

Go to the source code of this file.

Namespaces

 Gambit
 TODO: see if we can use this one:
 
 Gambit::slhahelp
 

Functions

std::vector< doubleGambit::slhahelp::get_Pole_Mixing_col (str type, int gauge_index, const SubSpectrum &mssm)
 
std::vector< doubleGambit::slhahelp::get_Pole_Mixing_row (str type, int mass_index, const SubSpectrum &mssm)
 
void Gambit::slhahelp::add_MODSEL_disclaimer (SLHAstruct &slha, const str &object)
 Add a disclaimer about the absence of a MODSEL block in a generated SLHAea object. More...
 
void Gambit::slhahelp::attempt_to_add_SLHA1_mixing (const str &block, SLHAstruct &slha, const str &type, const SubSpectrum &spec, double tol, str &s1, str &s2, bool pterror)
 Simple helper function for for adding missing SLHA1 2x2 family mixing matrices to an SLHAea object. More...
 
std::vector< doubleGambit::slhahelp::get_mass_comp_for_gauge (str gauge_es, const SubSpectrum &mssm)
 returns vector representing composition of requested gauge state in terms of the slha2 mass eigenstates (~u_1 ...~u_6 etc) which is just a column in the mixing matrix More...
 
double Gambit::slhahelp::get_mixing_element (str gauge_es, str mass_es, const SubSpectrum &mssm)
 routine to return mass state admixure for given gauge state in the end this is a trival routine but may help More...
 
std::vector< doubleGambit::slhahelp::get_gauge_comp_for_mass (str mass_es, const SubSpectrum &mssm)
 returns vector representing composition of requested mass eigenstate in terms of the slha2 gauge eigenstates (~u_L,~c_L,...~t_R etc) which is just a row in the mixing matrix just wraps get_Pole_Mixing_row after extracting info from string More...
 
str Gambit::slhahelp::mass_es_from_gauge_es (str gauge_es, double &max_mixing, std::vector< double > &gauge_composition, const SubSpectrum &mssm)
 indentifies the state with largest gauge_es content also fills largest max_mixing and full gauge_composition More...
 
str Gambit::slhahelp::mass_es_from_gauge_es (str gauge_es, double &max_mixing, const SubSpectrum &mssm)
 as above but doesn't fill a gauge_composition vector would have a slight efficiency saving if we didn't use wrapper and avoided skipped gauge_composition entirely but at the cost of a lot of code duplication More...
 
str Gambit::slhahelp::mass_es_from_gauge_es (str gauge_es, std::vector< double > &gauge_composition, const SubSpectrum &mssm)
 as above but doesn't fill max_mixing would have a slight efficiency saving if we didn't use wrapper and avoided skipped max_mixing entirely but at the cost of a lot of code duplication More...
 
str Gambit::slhahelp::mass_es_from_gauge_es (str gauge_es, const SubSpectrum &mssm)
 as above but doesn't fill max_mixing or gauge_composition would have a slight efficiency saving if we didn't use wrapper and avoided skipped max_mixing entirely but at the cost of a lot of code duplication More...
 
str Gambit::slhahelp::mass_es_from_gauge_es (str gauge_es, const SubSpectrum &mssm, double tol, str context, bool pterror)
 as above but do test against tol internally More...
 
str Gambit::slhahelp::gauge_es_from_mass_es (str mass_es, double &max_mixing, std::vector< double > &mass_composition, const SubSpectrum &mssm)
 identifies gauge_es with largest mass_es content also fills largest max_mixing and full mass_composition More...
 
str Gambit::slhahelp::gauge_es_from_mass_es (str mass_es, double &max_mixing, const SubSpectrum &mssm)
 as above but doesn't fill a gauge_composition vector would have a slight efficiency saving if we didn't use wrapper and avoided skipped gauge_composition entirely but at the cost of a lot of code duplication More...
 
str Gambit::slhahelp::gauge_es_from_mass_es (str mass_es, std::vector< double > &mass_composition, const SubSpectrum &mssm)
 as above but doesn't fill max_mixing would have a slight efficiency saving if we didn't use wrapper and avoided skipped max_mixing entirely but at the cost of a lot of code duplication More...
 
str Gambit::slhahelp::gauge_es_from_mass_es (str mass_es, const SubSpectrum &mssm)
 as above but doesn't fill max_mixing or gauge_composition would have a slight efficiency saving if we didn't use wrapper and avoided skipped max_mixing entirely but at the cost of a lot of code duplication More...
 
str Gambit::slhahelp::gauge_es_from_mass_es (str mass_es, const SubSpectrum &mssm, double tol, str context, bool pterror)
 as above but do test against tol internally More...
 
sspair Gambit::slhahelp::identify_mass_ess_for_family (str type, int family, const SubSpectrum &mssm)
 identify the two mass eigenstate corresponding to the approximate family states, e.g. More...
 
str Gambit::slhahelp::mass_es_closest_to_family (str familystate, const SubSpectrum &mssm)
 identify the mass eigenstate corresponding to family state takes string and returns only requested state I suspect this is the more useful one More...
 
std::vector< doubleGambit::slhahelp::get_gauge_comp_for_family_state (str familystate, str &mass_es, const SubSpectrum &mssm)
 returns vector with composition of closest the mass eigenstate to give family state in terms of gauge eigenstates and stores mass eigenstate in mass_es More...
 
str Gambit::slhahelp::mass_es_closest_to_family (str familystate, std::vector< double > &gauge_composition, std::vector< double > &off_family_mixing, const SubSpectrum &mssm)
 identifies the mass_es that is closest match to specified family state and fills mixture of the two gauge states with same family into std::vector gauge_composition also fills remaining off-family mixings into a second vector More...
 
str Gambit::slhahelp::mass_es_closest_to_family (str familystate, std::vector< double > &gauge_composition, const SubSpectrum &mssm)
 identifies the mass_es that is closest match to specified family state and fills mixture of the two gauge states with same family into std::vector gauge_composition More...
 
str Gambit::slhahelp::mass_es_closest_to_family (str familystate, double &sqr_sum_mix, const SubSpectrum &mssm)
 identifies the mass_es that is closest match to specified family state and fills sqr_sum_mix with the square sum of each of the two mixings into gauge_es of that family More...
 
str Gambit::slhahelp::mass_es_closest_to_family (str familystate, const SubSpectrum &mssm, double tol, str context, bool pterror)
 identifies the mass_es that is closest match to specified family does tol-test internally to check correctness of assumptions More...
 
std::vector< doubleGambit::slhahelp::family_state_mix_matrix (str type, int generation, str &mass_es1, str &mass_es2, const SubSpectrum &mssm, double tol, str context, bool pterror)
 Get the family mixing matrix and corresponding mass eigenstates, then check for interfamily mixing. More...
 
std::vector< doubleGambit::slhahelp::family_state_mix_matrix (str type, int family, str &mass_es1, str &mass_es2, const SubSpectrum &mssm)
 identifies the two mass_es which best matches specified family state storing them in strings and then returns the 2by2 mixing matrix for that family state in the form (Mix_{11}, Mix_{12}, Mix_{21}, Mix_{22}) It also stores the mixing elements for the gauge states that don't belong to the correct family for this state in a std::vector The latter should have entries which are zero in absense of family mixing More...
 
double Gambit::slhahelp::get_gauge_admix_for_family_state (str familystate, str gauge_es, str &mass_es, const SubSpectrum &mssm)
 returns admix of gauge eigenstate in the mass eigenstate closest to the given family state and stores mass eigenstate in mass_es More...
 
str Gambit::slhahelp::family_state_closest_to_mass_es (str mass_es, double &sum_sq_mix, std::vector< double > &mass_comp, const SubSpectrum &mssm)
 returns family state that best matches the given mass_es fills a double with the sum of the square mixings to gauge_es of the matching family and fills the mixing of the matching gauge_es into mass eigenstates More...
 
str Gambit::slhahelp::family_state_closest_to_mass_es (str mass_es, double &sum_sq_mix, const SubSpectrum &mssm)
 wrapper for overloaded version returns family state that best matches the given mass_es fills a double with the sum of the square mixings to gauge_es of the matching family More...
 
str Gambit::slhahelp::family_state_closest_to_mass_es (str mass_es, std::vector< double > &mass_comp, const SubSpectrum &mssm)
 wrapper for overloaded version returns family state that best matches the given mass_es and fills the mixing of the matching mass_es into gauge eigenstates More...
 
str Gambit::slhahelp::family_state_closest_to_mass_es (str mass_es, const SubSpectrum &mssm, double tol, str context, bool pterror)
 wrapper for overloaded version returns family state that best matches the given mass_es and fills the mixing of the matching mass_es into gauge eigenstates More...
 
void Gambit::slhahelp::add_MSSM_spectrum_to_SLHAea (const SubSpectrum &mssmspec, SLHAstruct &slha, int slha_version)
 Add an entire MSSM spectrum to an SLHAea object. More...
 

Variables

const std::map< str, p_int_string > Gambit::slhahelp::gauge_label_to_index_type = init_gauge_label_to_index_type()
 Known maps filled at initialisation. More...
 
const std::map< str, p_int_string > Gambit::slhahelp::mass_label_to_index_type = init_mass_label_to_index_type()
 
const std::map< str, pair_string_ints > Gambit::slhahelp::familystate_label = init_familystate_label()
 
const std::map< p_int_string, std::vector< str > > Gambit::slhahelp::type_family_to_gauge_states = init_type_family_to_gauge_states()
 
const std::map< str, std::vector< str > > Gambit::slhahelp::family_state_to_gauge_state = init_family_state_to_gauge_state()
 
const std::map< str, std::vector< str > > Gambit::slhahelp::gauge_es_to_family_states = init_gauge_es_to_family_states()
 
const std::map< str, std::vector< str > > Gambit::slhahelp::type_to_vec_of_mass_es = init_type_to_vec_of_mass_es()
 
const std::map< str, std::vector< str > > Gambit::slhahelp::type_to_vec_of_gauge_es = init_type_to_vec_of_gauge_es()
 

Detailed Description

Definitions of routines to help users / Bits translate between SLHA2 sfermions and SLHA1 (or similar) sfermions.


Authors:

Author
Peter Athron (peter.nosp@m..ath.nosp@m.ron@c.nosp@m.oepp.nosp@m..org..nosp@m.au)
Date
2015
Author
Pat Scott (p.sco.nosp@m.tt@i.nosp@m.mperi.nosp@m.al.a.nosp@m.c.uk)
Date
2015 Jul

Definition in file mssm_slhahelp.cpp.