Skip to content

Commit

Permalink
Update tests for the NMSSM to use a separate EWSB solver
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Harries committed Feb 28, 2017
1 parent 7be9c3c commit cbdc1ab
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_CMSSMMassWInput_spectrum.cpp
Expand Up @@ -19,6 +19,7 @@
#include "two_scale_running_precision.hpp"
#include "CMSSMMassWInput_two_scale_model.hpp"
#include "CMSSMMassWInput_input_parameters.hpp"
#include "CMSSMMassWInput_two_scale_ewsb_solver.hpp"
#include "CMSSMMassWInput_two_scale_high_scale_constraint.hpp"
#include "CMSSMMassWInput_two_scale_susy_scale_constraint.hpp"
#include "CMSSMMassWInput_two_scale_low_scale_constraint.hpp"
Expand Down Expand Up @@ -553,6 +554,9 @@ class CMSSMMassWInput_tester {

const double precision_goal = softsusy::TOLERANCE;

CMSSMMassWInput_ewsb_solver<Two_scale> ewsb_solver;
mssm.set_ewsb_solver(&ewsb_solver);

mssm.clear();
mssm.set_loops(2);
mssm.set_thresholds(2);
Expand Down
10 changes: 10 additions & 0 deletions test/test_NMSSM_ewsb.cpp
Expand Up @@ -10,6 +10,7 @@
#include "wrappers.hpp"
#include "ew_input.hpp"
#include "nmssmsoftsusy.h"
#include "NMSSM_two_scale_ewsb_solver.hpp"
#include "NMSSM_two_scale_model.hpp"

using namespace flexiblesusy;
Expand All @@ -23,6 +24,9 @@ BOOST_AUTO_TEST_CASE( test_NMSSM_ewsb_tree_level )
const double precision = 1.0e-5;
setup_NMSSM(m, s, input);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

// initial guess
m.set_Kappa(0.1);
m.set_vS(5000.);
Expand Down Expand Up @@ -120,6 +124,9 @@ BOOST_AUTO_TEST_CASE( test_NMSSM_one_loop_ewsb )
const double precision = 1.0e-5;
setup_NMSSM_const(m, s, input);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

// initial guess
m.set_Kappa(0.1);
m.set_vS(5000.);
Expand Down Expand Up @@ -239,6 +246,9 @@ BOOST_AUTO_TEST_CASE( test_NMSSM_two_loop_ewsb )
const double precision = 1.0e-5;
setup_NMSSM_const(m, s, input);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

// initial guess
m.set_Kappa(0.1);
m.set_vS(5000.);
Expand Down
4 changes: 4 additions & 0 deletions test/test_NMSSM_initial_guesser.cpp
Expand Up @@ -6,6 +6,7 @@
#include "test_legacy.hpp"
#include "test_NMSSM.hpp"

#include "NMSSM_two_scale_ewsb_solver.hpp"
#include "NMSSM_two_scale_model.hpp"
#include "NMSSM_two_scale_initial_guesser.hpp"
#include "SoftsusyNMSSM_parameter_point.hpp"
Expand All @@ -24,6 +25,9 @@ BOOST_AUTO_TEST_CASE( test_initial_guess )
m.set_thresholds(2);
SoftsusyNMSSM<Two_scale> snmssm;

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

// create NMSSM initial guesser
NMSSM_input_parameters input;
input.m0 = 250.; // avoids tree-level tachyons
Expand Down
4 changes: 4 additions & 0 deletions test/test_NMSSM_one_loop_spectrum.cpp
Expand Up @@ -8,6 +8,7 @@
#include "wrappers.hpp"
#include "conversion.hpp"
#include "nmssmsoftsusy.h"
#include "NMSSM_two_scale_ewsb_solver.hpp"
#include "NMSSM_two_scale_model.hpp"

using namespace flexiblesusy;
Expand Down Expand Up @@ -93,6 +94,9 @@ BOOST_AUTO_TEST_CASE( test_NMSSM_pole_masses )
NmssmSoftsusy s;
setup_NMSSM_const(m, s, input);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

ensure_tree_level_ewsb(m, s, input);

softsusy::numHiggsMassLoops = 1;
Expand Down
4 changes: 4 additions & 0 deletions test/test_NMSSM_self_energies.cpp
Expand Up @@ -8,6 +8,7 @@
#include "wrappers.hpp"
#include "conversion.hpp"
#include "nmssmsoftsusy.h"
#include "NMSSM_two_scale_ewsb_solver.hpp"
#include "NMSSM_two_scale_model.hpp"

using namespace flexiblesusy;
Expand All @@ -28,6 +29,9 @@ BOOST_AUTO_TEST_CASE( test_NMSSM_self_energy_neutral_higgs )
setup_NMSSM_const(m, s, input);
m.do_force_output(true);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

// initial guess
m.set_Kappa(0.1);
m.set_vS(5000.);
Expand Down
4 changes: 4 additions & 0 deletions test/test_NMSSM_spectrum.cpp
Expand Up @@ -14,6 +14,7 @@
#include "conversion.hpp"
#include "two_scale_solver.hpp"
#include "two_scale_running_precision.hpp"
#include "NMSSM_two_scale_ewsb_solver.hpp"
#include "NMSSM_two_scale_model.hpp"
#include "NMSSM_input_parameters.hpp"
#include "NMSSM_two_scale_high_scale_constraint.hpp"
Expand Down Expand Up @@ -136,6 +137,9 @@ class NMSSM_tester {
void test(const NMSSM_input_parameters& pp, const QedQcd& qedqcd = QedQcd()) {
setup_default_constaints(pp, qedqcd);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
mssm.set_ewsb_solver(&ewsb_solver);

mssm.clear();
mssm.set_loops(2);
mssm.set_thresholds(2);
Expand Down
4 changes: 4 additions & 0 deletions test/test_NMSSM_susy_scale_constraint.cpp
Expand Up @@ -11,6 +11,7 @@
#include "conversion.hpp"
#include "ew_input.hpp"
#include "nmssmsoftsusy.h"
#include "NMSSM_two_scale_ewsb_solver.hpp"
#include "NMSSM_two_scale_model.hpp"
#include "NMSSM_two_scale_susy_scale_constraint.hpp"

Expand All @@ -28,6 +29,9 @@ BOOST_AUTO_TEST_CASE( test_susy_scale_constraint )
NmssmSoftsusy s;
setup_NMSSM(m, s, input);

NMSSM_ewsb_solver<Two_scale> ewsb_solver;
m.set_ewsb_solver(&ewsb_solver);

// initial guess
m.set_Kappa(0.1);
m.set_vS(5000.);
Expand Down

0 comments on commit cbdc1ab

Please sign in to comment.