Typedef Documentation◆ p_int_string
Typedefs for pairs that we will use in maps. Definition at line 116 of file ini_functions.hpp. ◆ pair_ints
Definition at line 117 of file ini_functions.hpp. ◆ pair_string_ints
Definition at line 118 of file ini_functions.hpp. ◆ pair_strings
Definition at line 119 of file ini_functions.hpp. Function Documentation◆ add_MODSEL_disclaimer()
Add a disclaimer about the absence of a MODSEL block in a generated SLHAea object. Definition at line 75 of file mssm_slhahelp.cpp. Referenced by Gambit::DecayTable::getSLHAea(), Gambit::SMInputs::getSLHAea(), and Gambit::SubSpectrum::getSLHAea().
Here is the caller graph for this function:
![]() ◆ add_MSSM_spectrum_to_SLHAea()
Add an entire MSSM spectrum to an SLHAea object. Definition at line 772 of file mssm_slhahelp.cpp. References attempt_to_add_SLHA1_mixing(), Gambit::LogTags::debug, Gambit::Par::dimensionless, family_state_closest_to_mass_es(), family_state_mix_matrix(), cyclic_include_check::fs, gauge_es_from_mass_es(), Gambit::SubSpectrum::get(), Gambit::Models::partmap::get_antiparticle(), Gambit::SubSpectrum::GetScale(), Gambit::SubSpectrum::has(), Gambit::invalid_point(), LOCAL_INFO, M, Gambit::Par::mass1, Gambit::Par::mass2, mass_es_closest_to_family(), mass_es_from_gauge_es(), generate_raster_scan_settings::N, Gambit::Models::ParticleDB(), Gambit::Par::Pole_Mass, Gambit::Par::Pole_Mixing, Gambit::invalid_point_exception::raise(), Gambit::sgn(), Gambit::SLHAea_add(), Gambit::SLHAea_add_block(), Gambit::SLHAea_add_from_subspec(), Gambit::SLHAea_block_exists(), Gambit::SLHAea_check_block(), Gambit::SLHAea_delete_block(), and Gambit::utils_error(). Referenced by Gambit::SpecBit::MSSMSpec< MI >::add_to_SLHAea(), and Gambit::MSSMSimpleSpec::add_to_SLHAea(). 776 // Make sure to overwrite all entries if they exist already (from say a "hurriedly" copied SM subspectrum + unknown extra MSSM junk) 783 SLHAea_add_from_subspec(slha,LOCAL_INFO,mssmspec,Par::dimensionless,"tanbeta(mZ)","MINPAR",3,"# tanbeta(mZ)^DRbar"); 785 int sgnmu = sgn(mssmspec.get(Par::mass1,"Mu")); // Mu isn't at the input scale anymore, but sign(mu) doesn't change with running. 792 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::dimensionless,"tanbeta","HMIX",2,"tan(beta) = vu/vd DRbar"); 793 if (not mssmspec.has(Par::mass1,"vu")) utils_error().raise(LOCAL_INFO, "MSSM subspectrum does not contain vu!"); 794 if (not mssmspec.has(Par::mass1,"vd")) utils_error().raise(LOCAL_INFO, "MSSM subspectrum does not contain vd!"); 805 // Scale gY is in SU(5)/GUT normalisation internally; convert it to SM normalisation for SLHA output by multiplying by sqrt(3/5). 806 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::dimensionless,"g1","GAUGE",1,"g' = g1 = gY DRbar", true, sqrt(3./5.)); 807 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::dimensionless,"g2","GAUGE",2,"g = g2 DRbar"); 808 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::dimensionless,"g3","GAUGE",3,"g_s = g3 DRbar"); 810 const int pdg_codes[33] = {24,25,35,37,36,1000021,1000024,1000037,1000022,1000023,1000025,1000035,1000006,2000006,1000005,2000005,1000015,2000015,1000012,1000014,1000016,1000001,1000003, 823 slhahelp::attempt_to_add_SLHA1_mixing("STOPMIX", slha, "~u", mssmspec, 1.0, slha2_sfermions[0], slha2_sfermions[1], true); 824 slhahelp::attempt_to_add_SLHA1_mixing("SBOTMIX", slha, "~d", mssmspec, 1.0, slha2_sfermions[2], slha2_sfermions[3], true); 825 slhahelp::attempt_to_add_SLHA1_mixing("STAUMIX", slha, "~e-", mssmspec, 1.0, slha2_sfermions[4], slha2_sfermions[5], true); 831 SLHAea_add_from_subspec(slha, LOCAL_INFO, mssmspec, Par::Pole_Mass, std::pair<int, int>(pdg_codes[i],0), "MASS", comment); 837 double max_mixing; // Don't actually care about this; we're going to SLHA1 whether it is a good approximation or not. 840 SLHAea_add(slha, "MASS", pdg_codes[i+12], mssmspec.get(Par::Pole_Mass, slha2_sfermions[i]), slha1_sfermions[i], true); 849 SLHAea_add_from_subspec(slha, LOCAL_INFO, mssmspec, Par::Pole_Mass, std::pair<int, int>(pdg_codes[i],0), "MASS", comment); 861 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::Pole_Mixing, S[k].second, i, j, S[k].first, i, j, comment.str()); 872 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::Pole_Mixing, V.second, i, j, V.first, i, j, comment.str()); 878 utils_error().raise(LOCAL_INFO, "Unrecognised version of SLHA standard; only SLHA1 and SLHA2 are permitted."); 886 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::mass1,"M1","MSOFT",1,"bino mass parameter M1"); 887 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::mass1,"M2","MSOFT",2,"wino mass parameter M2"); 888 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::mass1,"M3","MSOFT",3,"gluino mass parameter M3"); 889 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::mass2,"mHd2","MSOFT",21,"d-type Higgs mass parameter mHd2"); 890 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec,Par::mass2,"mHu2","MSOFT",22,"u-type Higgs mass parameter mHu2"); 891 sspair M[5] = {sspair("MSL2","ml2"), sspair("MSE2","me2"), sspair("MSQ2","mq2"), sspair("MSU2","mu2"), sspair("MSD2","md2")}; 899 if (slha_version == 2) SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::mass2, M[k].second, i, j, M[k].first, i, j, comment.str()); 903 SLHAea_add(slha,"MSOFT",30+3*k+i+(k>1?4:0),sgn(entry)*sqrt(std::abs(entry)),"sqrt("+comment.str()+")", true); 908 // Yukawa and trilinear blocks. YU, YD and YE, plus [YU, YD and YE; SLHA1 only], or [TU, TD and TE; SLHA2 only]. 924 // SLHA2 says to output only diagonal of Yukawa matrices, since we should be in a basis in which they are diagonal. 925 // SLHA1 says to give only the 3,3 element, but we'll give the whole diagonal anyway, codes will ignore them if not 928 SLHAea_add_from_subspec(slha,LOCAL_INFO,mssmspec,Par::dimensionless,Y[k].second, i, i, Y[k].first, i, i, comment.str()); 934 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::mass1, T[k].second, i, i, A[k].first, i, i, comment.str(), true, invTii); // last argument is a rescaling factor 941 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::mass1, T[k].second, i, j, T[k].first, i, j, comment.str()); 947 msg << "Tried to ouput SLHA data, but SLHA version requested was invalid (should be 1 or 2, but received "<<slha_version<<")"; 956 if(it!=slha.end()) slha.erase(it); // TODO: format of this call is confusing, perhaps write a wrapper for it. 959 slha["ALPHA"][""] << asin(mssmspec.get(Par::Pole_Mixing, "h0", 2, 2)) << "# sin^-1(SCALARMIX(2,2))"; 961 // UMIX and VMIX blocks, plus some FlexibleSUSY-only extensions: PSEUDOSCALARMIX, SCALARMIX and CHARGEMIX. 962 sspair U[5] = {sspair("UMIX","~chi-"), sspair("VMIX","~chi+"), sspair("PSEUDOSCALARMIX","A0"), sspair("SCALARMIX","h0"), sspair("CHARGEMIX","H+")}; 970 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::Pole_Mixing, U[k].second, i, j, U[k].first, i, j, comment.str()); 981 SLHAea_add_from_subspec(slha, LOCAL_INFO,mssmspec, Par::Pole_Mixing, N.second, i, j, N.first, i, j, comment.str()); Definition: spectrum_helpers.hpp:55 Definition: spectrum_helpers.hpp:54 void 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... Definition: mssm_slhahelp.cpp:83 str 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 Definition: mssm_slhahelp.cpp:236 void SLHAea_add_block(SLHAstruct &, const str &name, const double scale=-1) Add a new block to an SLHAea object, with or without a scale. Definition: slhaea_helpers.cpp:85 void SLHAea_add(SLHAstruct &slha, const str &block, const int index, const double value, const str &comment="", const bool overwrite=false) Add an entry to an SLHAea object (if overwrite=false, only if it doesn't already exist) ... Definition: slhaea_helpers.cpp:188 Definition: spectrum_helpers.hpp:50 bool SLHAea_block_exists(SLHAstruct &slha, const str &block) Check if a block exists in an SLHAea object. Definition: slhaea_helpers.cpp:97 void SLHAea_delete_block(SLHAstruct &slha, const std::string &block) Delete an entire block from an SLHAea object, if it exists (actually just the first block matching th... Definition: slhaea_helpers.cpp:168 void SLHAea_add_from_subspec(SLHAstruct &slha, const str local_info, const SubSpectrum &subspec, const Par::Tags partype, const std::pair< int, int > &pdg_pair, const str &block, const str &comment, const bool error_if_missing=true, const double rescale=1.0) Add an entry from a subspectrum getter to an SLHAea object; SLHA index given by pdg code... Definition: slhaea_spec_helpers.cpp:36 bool SLHAea_check_block(SLHAstruct &slha, const str &block) Check if a block exists in an SLHAea object, add it if not. Definition: slhaea_helpers.cpp:105
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ attempt_to_add_SLHA1_mixing()
Simple helper function for for adding missing SLHA1 2x2 family mixing matrices to an SLHAea object. Definition at line 83 of file mssm_slhahelp.cpp. References family_state_mix_matrix(), LOCAL_INFO, mass_es_closest_to_family(), and Gambit::SLHAea_add_matrix(). Referenced by add_MSSM_spectrum_to_SLHAea(). 88 std::vector<double> matmix = slhahelp::family_state_mix_matrix(type, 3, s1, s2, spec, tol, LOCAL_INFO, pterror); 97 s1 = slhahelp::mass_es_closest_to_family(family_to_3gen.at(type)+"_1", spec, tol, LOCAL_INFO, pterror); 98 s2 = slhahelp::mass_es_closest_to_family(family_to_3gen.at(type)+"_2", spec, tol, LOCAL_INFO, pterror); std::vector< double > 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... Definition: mssm_slhahelp.cpp:585 str 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 co... Definition: mssm_slhahelp.cpp:526 void SLHAea_add_matrix(SLHAstruct &slha, const str &block, const std::vector< T > &matrix, const int rows, const int cols, const str &comment="", const bool overwrite=false) Add a whole matrix to an SLHAea object if it doesn't already exist. Definition: slhaea_helpers.hpp:90
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ family_state_closest_to_mass_es() [1/4]
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 get gauge_es with largest mixing to this mass_es get family states for the same generation as this gauge_es extractindex of mass-es and mass_ess_other from strings choose mass ordering for family state which matches mass ordering of mass_es subrtact 1 fgrom indices to deal with different indexing Definition at line 670 of file mssm_slhahelp.cpp. References gauge_es_from_mass_es(), and mass_es_from_gauge_es(). Referenced by add_MSSM_spectrum_to_SLHAea(), and family_state_closest_to_mass_es(). str 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 Definition: mssm_slhahelp.cpp:236 str 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 Definition: mssm_slhahelp.cpp:338 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37 const std::map< str, std::vector< str > > gauge_es_to_family_states Definition: mssm_slhahelp.cpp:41 const std::map< str, std::vector< str > > family_state_to_gauge_state Definition: mssm_slhahelp.cpp:40
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ family_state_closest_to_mass_es() [2/4]
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 Definition at line 710 of file mssm_slhahelp.cpp. References family_state_closest_to_mass_es(), and cyclic_include_check::fs. str 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... Definition: mssm_slhahelp.cpp:735
Here is the call graph for this function:
![]() ◆ family_state_closest_to_mass_es() [3/4]
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 Definition at line 722 of file mssm_slhahelp.cpp. References family_state_closest_to_mass_es(), and cyclic_include_check::fs. str 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... Definition: mssm_slhahelp.cpp:735
Here is the call graph for this function:
![]() ◆ family_state_closest_to_mass_es() [4/4]
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 Definition at line 735 of file mssm_slhahelp.cpp. References family_state_closest_to_mass_es(), cyclic_include_check::fs, Gambit::invalid_point(), LOCAL_INFO, Gambit::invalid_point_exception::raise(), and Gambit::utils_error(). virtual void raise(const std::string &) Raise the exception, i.e. throw it. Exact override of base method. Definition: exceptions.cpp:422 str 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... Definition: mssm_slhahelp.cpp:735 invalid_point_exception & invalid_point() Invalid point exceptions. Definition: standalone_error_handlers.cpp:83
Here is the call graph for this function:
![]() ◆ family_state_mix_matrix() [1/2]
Get the family mixing matrix and corresponding mass eigenstates, then check for interfamily mixing. Definition at line 555 of file mssm_slhahelp.cpp. References Gambit::invalid_point(), LOCAL_INFO, Gambit::invalid_point_exception::raise(), and Gambit::utils_error(). Referenced by Gambit::SpecBit::add_extra_MSSM_parameter_combinations(), add_MSSM_spectrum_to_SLHAea(), attempt_to_add_SLHA1_mixing(), Gambit::ColliderBit::get_sigma_ee_ll(), Gambit::PrecisionBit::GM2C_SUSY(), and Gambit::DecayBit::stau_1_decays_smallsplit(). std::vector< double > 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... Definition: mssm_slhahelp.cpp:585 virtual void raise(const std::string &) Raise the exception, i.e. throw it. Exact override of base method. Definition: exceptions.cpp:422 invalid_point_exception & invalid_point() Invalid point exceptions. Definition: standalone_error_handlers.cpp:83
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ family_state_mix_matrix() [2/2]
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 get mass_es using one of our routines need to turn type and family into a string should simplify the number of translations we do! get index of right family states (ie gauge states with same family as requested family state Put row 1 and row 2 into the same vector to return Definition at line 585 of file mssm_slhahelp.cpp. References Gambit::SubSpectrum::get(), identify_mass_ess_for_family(), LOCAL_INFO, Gambit::Par::Pole_Mixing, and Gambit::utils_error(). 601 catch (std::out_of_range&) { utils_error().raise(LOCAL_INFO, "Sfermion type or generation index not recognised; use type=~u,~d,~e-, gen=1,2,3."); } std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 sspair 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. Definition: mssm_slhahelp.cpp:371 Definition: spectrum_helpers.hpp:50 const std::map< p_int_string, std::vector< str > > type_family_to_gauge_states Definition: mssm_slhahelp.cpp:39 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37 const std::map< str, std::vector< str > > type_to_vec_of_gauge_es Definition: mssm_slhahelp.cpp:43
Here is the call graph for this function:
![]() ◆ gauge_es_from_mass_es() [1/5]
identifies gauge_es with largest mass_es content also fills largest max_mixing and full mass_composition passed in massstate to be set start with zero retrive type from the gauge_es string iterate over vector of strings for mass states Definition at line 262 of file mssm_slhahelp.cpp. References get_mixing_element(). Referenced by add_MSSM_spectrum_to_SLHAea(), family_state_closest_to_mass_es(), and gauge_es_from_mass_es(). double 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 m... Definition: mssm_slhahelp.cpp:121 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37 const std::map< str, std::vector< str > > type_to_vec_of_gauge_es Definition: mssm_slhahelp.cpp:43
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ gauge_es_from_mass_es() [2/5]
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 Definition at line 297 of file mssm_slhahelp.cpp. References gauge_es_from_mass_es(). str 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 Definition: mssm_slhahelp.cpp:338
Here is the call graph for this function:
![]() ◆ gauge_es_from_mass_es() [3/5]
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 Definition at line 311 of file mssm_slhahelp.cpp. References gauge_es_from_mass_es(). str 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 Definition: mssm_slhahelp.cpp:338
Here is the call graph for this function:
![]() ◆ gauge_es_from_mass_es() [4/5]
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 Definition at line 326 of file mssm_slhahelp.cpp. References gauge_es_from_mass_es(). str 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 Definition: mssm_slhahelp.cpp:338
Here is the call graph for this function:
![]() ◆ gauge_es_from_mass_es() [5/5]
as above but do test against tol internally Definition at line 338 of file mssm_slhahelp.cpp. References gauge_es_from_mass_es(), Gambit::invalid_point(), LOCAL_INFO, Gambit::invalid_point_exception::raise(), and Gambit::utils_error(). str 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 Definition: mssm_slhahelp.cpp:338 virtual void raise(const std::string &) Raise the exception, i.e. throw it. Exact override of base method. Definition: exceptions.cpp:422 invalid_point_exception & invalid_point() Invalid point exceptions. Definition: standalone_error_handlers.cpp:83
Here is the call graph for this function:
![]() ◆ get_gauge_admix_for_family_state()
returns admix of gauge eigenstate in the mass eigenstate closest to the given family state and stores mass eigenstate in mass_es types should match but getting both allows us to throw error throw error in gambit get mass_es using one of our routines extract info from strings via maps Definition at line 639 of file mssm_slhahelp.cpp. References Gambit::SubSpectrum::get(), LOCAL_INFO, mass_es_closest_to_family(), Gambit::Par::Pole_Mixing, and Gambit::utils_error(). std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 str 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 co... Definition: mssm_slhahelp.cpp:526 const std::map< str, pair_string_ints > familystate_label Definition: mssm_slhahelp.cpp:38 std::pair< str, pair_ints > pair_string_ints Definition: ini_functions.hpp:118 Definition: spectrum_helpers.hpp:50 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37
Here is the call graph for this function:
![]() ◆ get_gauge_comp_for_family_state()
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 extract info from strings via maps Definition at line 437 of file mssm_slhahelp.cpp. References get_Pole_Mixing_row(), and mass_es_closest_to_family(). str 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 co... Definition: mssm_slhahelp.cpp:526 const std::map< str, pair_string_ints > familystate_label Definition: mssm_slhahelp.cpp:38 std::pair< str, pair_ints > pair_string_ints Definition: ini_functions.hpp:118 std::vector< double > get_Pole_Mixing_row(str type, int mass_index, const SubSpectrum &mssm) Definition: mssm_slhahelp.cpp:61 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37
Here is the call graph for this function:
![]() ◆ get_gauge_comp_for_mass()
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 extract info using map Definition at line 147 of file mssm_slhahelp.cpp. References get_Pole_Mixing_row(). std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 std::vector< double > get_Pole_Mixing_row(str type, int mass_index, const SubSpectrum &mssm) Definition: mssm_slhahelp.cpp:61 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37
Here is the call graph for this function:
![]() ◆ get_mass_comp_for_gauge()
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 extract info from string via map Definition at line 105 of file mssm_slhahelp.cpp. References get_Pole_Mixing_col(). std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 std::vector< double > get_Pole_Mixing_col(str type, int gauge_index, const SubSpectrum &mssm) Definition: mssm_slhahelp.cpp:47 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36
Here is the call graph for this function:
![]() ◆ get_mixing_element()
routine to return mass state admixure for given gauge state in the end this is a trival routine but may help extract info from maps types should match but getting both allows us to throw error throw exception in gambit will need to add mssm object to cal method in gambit Definition at line 121 of file mssm_slhahelp.cpp. References Gambit::SubSpectrum::get(), LOCAL_INFO, Gambit::Par::Pole_Mixing, and Gambit::utils_error(). Referenced by gauge_es_from_mass_es(), and mass_es_from_gauge_es(). std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 Definition: spectrum_helpers.hpp:50 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ get_Pole_Mixing_col()
Definition at line 47 of file mssm_slhahelp.cpp. References Gambit::SubSpectrum::get(), and Gambit::Par::Pole_Mixing. Referenced by get_mass_comp_for_gauge(). Definition: spectrum_helpers.hpp:50 const std::map< str, std::vector< str > > type_to_vec_of_mass_es Definition: mssm_slhahelp.cpp:42
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ get_Pole_Mixing_row()
Mix_{row, col}. Iterate through column index with row index fixed Definition at line 61 of file mssm_slhahelp.cpp. References Gambit::SubSpectrum::get(), and Gambit::Par::Pole_Mixing. Referenced by get_gauge_comp_for_family_state(), and get_gauge_comp_for_mass(). Definition: spectrum_helpers.hpp:50 const std::map< str, std::vector< str > > type_to_vec_of_gauge_es Definition: mssm_slhahelp.cpp:43
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ identify_mass_ess_for_family()
identify the two mass eigenstate corresponding to the approximate family states, e.g. stops ("~u",3), smuons ("~mu", 2) etc Note: when there is family mixing there's no good definition ~t_1, ~t_2 etc if defined as the states you get from diagonalising a 2by2 mass (sub)matrix then extensive manipulations would be required So here we identify the mass eigenstates closest to the family ones which is a better defined question when there is family mixing prsesent and more useful here anyway returns a pair of strings labling the lighter one first need to turn type and family into a string need to simplify the number of translations we do. finds the mass_es with the largets mixing to passed gauge_es Definition at line 371 of file mssm_slhahelp.cpp. References LOCAL_INFO, mass_es_from_gauge_es(), and Gambit::utils_error(). Referenced by family_state_mix_matrix(). 380 catch (std::out_of_range&) { utils_error().raise(LOCAL_INFO, "Sfermion type or generation index not recognised; use type=~u,~d,~e-, gen=1,2,3."); } std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 str 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 Definition: mssm_slhahelp.cpp:236 const std::map< p_int_string, std::vector< str > > type_family_to_gauge_states Definition: mssm_slhahelp.cpp:39 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ init_family_state_to_gauge_state()maps directly from family string to left_right gauge_pairs helps us reuse other routines that take string arguments Definition at line 440 of file ini_functions.cpp. References family_state_to_gauge_state. const std::map< str, std::vector< str > > family_state_to_gauge_state Definition: mssm_slhahelp.cpp:40 ◆ init_familystate_label()
map to extract info from family state Definition at line 350 of file ini_functions.cpp. References familystate_label. const std::map< str, pair_string_ints > familystate_label Definition: mssm_slhahelp.cpp:38 std::pair< str, pair_ints > pair_string_ints Definition: ini_functions.hpp:118 ◆ init_gauge_es_to_family_states()maps directly from gauge_es string to familystates helps us reuse other routines that take string arguments Definition at line 470 of file ini_functions.cpp. References gauge_es_to_family_states. const std::map< str, std::vector< str > > gauge_es_to_family_states Definition: mssm_slhahelp.cpp:41 ◆ init_gauge_label_to_index_type()
map from gauge eigenstate strings to string, index pairs Definition at line 285 of file ini_functions.cpp. References gauge_label_to_index_type. const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 ◆ init_mass_label_to_index_type()
map from mass eigenstate strings to string, index pairs Definition at line 318 of file ini_functions.cpp. References mass_label_to_index_type. const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37 ◆ init_type_family_to_gauge_states()
map to obtain left_right gauge_pairs from state info helps us reuse other routiones with string arguments Definition at line 420 of file ini_functions.cpp. References type_family_to_gauge_states. const std::map< p_int_string, std::vector< str > > type_family_to_gauge_states Definition: mssm_slhahelp.cpp:39 ◆ init_type_to_vec_of_gauge_es()map from string representing type (ie up-squarks, down-squarks or charged sleptons) to appropriate set of gauge eigenstates Definition at line 513 of file ini_functions.cpp. References type_to_vec_of_gauge_es. 517 type_to_vec_of_gauge_es["~u"] = initVector<str>("~u_L", "~c_L", "~t_L", "~u_R", "~c_R", "~t_R"); 518 type_to_vec_of_gauge_es["~d"] = initVector<str>("~d_L", "~s_L", "~b_L", "~d_R", "~s_R", "~b_R"); 519 type_to_vec_of_gauge_es["~e-"] = initVector<str>("~e_L", "~mu_L", "~tau_L", "~e_R", "~mu_R", "~tau_R"); const std::map< str, std::vector< str > > type_to_vec_of_gauge_es Definition: mssm_slhahelp.cpp:43 ◆ init_type_to_vec_of_mass_es()map from string representing type (ie up-squarks, down-squarks or charged sleptons) to appropriate set of mass eigenstates Definition at line 499 of file ini_functions.cpp. References type_to_vec_of_mass_es. 505 type_to_vec_of_mass_es["~e-"] = initVector<str>("~e-_1", "~e-_2", "~e-_3", "~e-_4", "~e-_5", "~e-_6"); const std::map< str, std::vector< str > > type_to_vec_of_mass_es Definition: mssm_slhahelp.cpp:42 ◆ mass_es_closest_to_family() [1/5]
identify the mass eigenstate corresponding to family state takes string and returns only requested state I suspect this is the more useful one Definition at line 403 of file mssm_slhahelp.cpp. References LOCAL_INFO, mass_es_from_gauge_es(), and Gambit::utils_error(). Referenced by add_MSSM_spectrum_to_SLHAea(), Gambit::ColliderBit::ALEPH_Stau_Conservative_LLike(), attempt_to_add_SLHA1_mixing(), get_gauge_admix_for_family_state(), get_gauge_comp_for_family_state(), Gambit::ColliderBit::L3_Stau_Conservative_LLike(), and mass_es_closest_to_family(). 408 catch (std::out_of_range&) { utils_error().raise(LOCAL_INFO, "Unrecognised family state. ('"+familystate+"' was requested)"); }
const std::map< str, pair_string_ints > familystate_label Definition: mssm_slhahelp.cpp:38 str 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 Definition: mssm_slhahelp.cpp:236 std::pair< str, pair_ints > pair_string_ints Definition: ini_functions.hpp:118 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37 const std::map< str, std::vector< str > > family_state_to_gauge_state Definition: mssm_slhahelp.cpp:40
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ mass_es_closest_to_family() [2/5]
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 extract info from strings via maps Definition at line 458 of file mssm_slhahelp.cpp. References Gambit::SubSpectrum::get(), LOCAL_INFO, mass_es_closest_to_family(), Gambit::Par::Pole_Mixing, and Gambit::utils_error(). 468 catch (std::out_of_range&) { utils_error().raise(LOCAL_INFO, "Unrecognised family state. ('"+familystate+"' was requested)"); } std::pair< int, str > p_int_string Typedefs for pairs that we will use in maps. Definition: ini_functions.hpp:116 str 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 co... Definition: mssm_slhahelp.cpp:526 Definition: spectrum_helpers.hpp:50 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 const std::map< str, p_int_string > mass_label_to_index_type Definition: mssm_slhahelp.cpp:37 const std::map< str, std::vector< str > > type_to_vec_of_gauge_es Definition: mssm_slhahelp.cpp:43 const std::map< str, std::vector< str > > family_state_to_gauge_state Definition: mssm_slhahelp.cpp:40
Here is the call graph for this function:
![]() ◆ mass_es_closest_to_family() [3/5]
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 Definition at line 496 of file mssm_slhahelp.cpp. References mass_es_closest_to_family(). str 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 co... Definition: mssm_slhahelp.cpp:526
Here is the call graph for this function:
![]() ◆ mass_es_closest_to_family() [4/5]
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 Definition at line 510 of file mssm_slhahelp.cpp. References mass_es_closest_to_family(). str 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 co... Definition: mssm_slhahelp.cpp:526
Here is the call graph for this function:
![]() ◆ mass_es_closest_to_family() [5/5]
identifies the mass_es that is closest match to specified family does tol-test internally to check correctness of assumptions Definition at line 526 of file mssm_slhahelp.cpp. References Gambit::invalid_point(), LOCAL_INFO, mass_es_closest_to_family(), Gambit::invalid_point_exception::raise(), and Gambit::utils_error(). str 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 co... Definition: mssm_slhahelp.cpp:526 virtual void raise(const std::string &) Raise the exception, i.e. throw it. Exact override of base method. Definition: exceptions.cpp:422 invalid_point_exception & invalid_point() Invalid point exceptions. Definition: standalone_error_handlers.cpp:83
Here is the call graph for this function:
![]() ◆ mass_es_from_gauge_es() [1/5]
indentifies the state with largest gauge_es content also fills largest max_mixing and full gauge_composition passed in massstate to be set make sure this is zero to start retrive type from the gauge_es string iterate over vector of strings for mass states Definition at line 162 of file mssm_slhahelp.cpp. References get_mixing_element(). Referenced by Gambit::SpecBit::add_extra_MSSM_parameter_combinations(), add_MSSM_spectrum_to_SLHAea(), Gambit::ColliderBit::ALEPH_Selectron_Conservative_LLike(), Gambit::ColliderBit::ALEPH_Smuon_Conservative_LLike(), Gambit::DecayBit::check_first_sec_gen_mixing(), family_state_closest_to_mass_es(), Gambit::ColliderBit::get_sigma_ee_chi00(), Gambit::ColliderBit::get_sigma_ee_chipm(), Gambit::ColliderBit::get_sigma_ee_ll(), identify_mass_ess_for_family(), Gambit::ColliderBit::L3_Selectron_Conservative_LLike(), Gambit::ColliderBit::L3_Smuon_Conservative_LLike(), mass_es_closest_to_family(), mass_es_from_gauge_es(), Gambit::ColliderBit::OPAL_Chargino_All_Channels_Conservative_LLike(), Gambit::ColliderBit::OPAL_Chargino_Leptonic_Conservative_LLike(), and Gambit::ColliderBit::OPAL_Chargino_SemiLeptonic_Conservative_LLike(). double 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 m... Definition: mssm_slhahelp.cpp:121 const std::map< str, p_int_string > gauge_label_to_index_type Known maps filled at initialisation. Definition: mssm_slhahelp.cpp:36 const std::map< str, std::vector< str > > type_to_vec_of_mass_es Definition: mssm_slhahelp.cpp:42
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ mass_es_from_gauge_es() [2/5]
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 Definition at line 196 of file mssm_slhahelp.cpp. References mass_es_from_gauge_es(). str 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 Definition: mssm_slhahelp.cpp:236
Here is the call graph for this function:
![]() ◆ mass_es_from_gauge_es() [3/5]
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 Definition at line 210 of file mssm_slhahelp.cpp. References mass_es_from_gauge_es(). str 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 Definition: mssm_slhahelp.cpp:236
Here is the call graph for this function:
![]() ◆ mass_es_from_gauge_es() [4/5]
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 Definition at line 225 of file mssm_slhahelp.cpp. References mass_es_from_gauge_es(). str 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 Definition: mssm_slhahelp.cpp:236
Here is the call graph for this function:
![]() ◆ mass_es_from_gauge_es() [5/5]
as above but do test against tol internally Definition at line 236 of file mssm_slhahelp.cpp. References Gambit::invalid_point(), LOCAL_INFO, mass_es_from_gauge_es(), Gambit::invalid_point_exception::raise(), and Gambit::utils_error(). str 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 Definition: mssm_slhahelp.cpp:236 virtual void raise(const std::string &) Raise the exception, i.e. throw it. Exact override of base method. Definition: exceptions.cpp:422 invalid_point_exception & invalid_point() Invalid point exceptions. Definition: standalone_error_handlers.cpp:83
Here is the call graph for this function:
![]() Variable Documentation◆ family_state_to_gauge_state
Definition at line 40 of file mssm_slhahelp.cpp. Referenced by init_family_state_to_gauge_state(). ◆ familystate_label
Definition at line 38 of file mssm_slhahelp.cpp. Referenced by init_familystate_label(). ◆ gauge_es_to_family_states
Definition at line 41 of file mssm_slhahelp.cpp. Referenced by init_gauge_es_to_family_states(). ◆ gauge_label_to_index_type
Known maps filled at initialisation. Definition at line 36 of file mssm_slhahelp.cpp. Referenced by init_gauge_label_to_index_type(). ◆ mass_label_to_index_type
Definition at line 37 of file mssm_slhahelp.cpp. Referenced by init_mass_label_to_index_type(). ◆ type_family_to_gauge_states
Definition at line 39 of file mssm_slhahelp.cpp. Referenced by init_type_family_to_gauge_states(). ◆ type_to_vec_of_gauge_es
Definition at line 43 of file mssm_slhahelp.cpp. Referenced by init_type_to_vec_of_gauge_es(). ◆ type_to_vec_of_mass_es
Definition at line 42 of file mssm_slhahelp.cpp. Referenced by init_type_to_vec_of_mass_es(). |