Skip to content

Commit

Permalink
remove "using namespace softsusy" from header files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jul 27, 2016
1 parent e7e7a5e commit 4ed07e0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
1 change: 0 additions & 1 deletion templates/high_scale_spectrum_generator.hpp.in
Expand Up @@ -41,7 +41,6 @@
#include <limits>

namespace flexiblesusy {
using namespace softsusy;

#define MODELPARAMETER(p) model.get_##p()

Expand Down
1 change: 0 additions & 1 deletion templates/low_scale_spectrum_generator.hpp.in
Expand Up @@ -41,7 +41,6 @@
#include <limits>

namespace flexiblesusy {
using namespace softsusy;

#define MODELPARAMETER(p) model.get_##p()

Expand Down
Expand Up @@ -43,7 +43,6 @@
#include <limits>

namespace flexiblesusy {
using namespace softsusy;

#define MODELPARAMETER(p) model.get_##p()

Expand Down
Expand Up @@ -42,7 +42,6 @@
#include <limits>

namespace flexiblesusy {
using namespace softsusy;

#define MODELPARAMETER(p) model.get_##p()

Expand Down
10 changes: 4 additions & 6 deletions templates/standard_model_two_scale_initial_guesser.hpp.in
Expand Up @@ -22,15 +22,15 @@
#define @ModelName@_STANDARD_MODEL_TWO_SCALE_INITIAL_GUESSER_H

#include "@ModelName@_initial_guesser.hpp"
#include "standard_model_two_scale_low_scale_constraint.hpp"
#include "@ModelName@_two_scale_susy_scale_constraint.hpp"
#include "@ModelName@_two_scale_high_scale_constraint.hpp"
#include "standard_model_two_scale_low_scale_constraint.hpp"
#include "two_scale_initial_guesser.hpp"
#include "lowe.h"

#include <sstream>

namespace flexiblesusy {
using namespace softsusy;

class Two_scale;

Expand All @@ -43,8 +43,6 @@ class StandardModel;
template <class T>
class @ModelName@_standard_model_initial_guesser;



/**
* @class @ModelName@_standard_model_initial_guesser<Two_scale>
* @brief initial guesser for the @ModelName@ tower
Expand All @@ -55,7 +53,7 @@ class @ModelName@_standard_model_initial_guesser<Two_scale> : public Initial_gue
public:
@ModelName@_standard_model_initial_guesser(@ModelName@<Two_scale>*,
standard_model::StandardModel<Two_scale>*,
const QedQcd&,
const softsusy::QedQcd&,
const standard_model::Standard_model_low_scale_constraint<Two_scale>&,
const @ModelName@_susy_scale_constraint<Two_scale>&,
const @ModelName@_high_scale_constraint<Two_scale>&);
Expand All @@ -67,7 +65,7 @@ public:
private:
@ModelName@<Two_scale>* model; ///< pointer to model class
standard_model::StandardModel<Two_scale>* eft; ///< pointer to effective low energy model
QedQcd oneset; ///< Standard Model low-energy data
softsusy::QedQcd oneset; ///< Standard Model low-energy data
double mu_guess; ///< guessed DR-bar mass of up-quark
double mc_guess; ///< guessed DR-bar mass of charm-quark
double mt_guess; ///< guessed DR-bar mass of top-quark
Expand Down
Expand Up @@ -22,16 +22,16 @@
#define @ModelName@_STANDARD_MODEL_TWO_SCALE_INITIAL_GUESSER_H

#include "@ModelName@_initial_guesser.hpp"
#include "standard_model_two_scale_low_scale_constraint.hpp"
#include "@ModelName@_two_scale_susy_scale_constraint.hpp"
#include "standard_model_two_scale_low_scale_constraint.hpp"
#include "two_scale_initial_guesser.hpp"
#include "error.hpp"
#include "lowe.h"

#include <sstream>

namespace flexiblesusy {
using namespace softsusy;

class Two_scale;

template <class T>
class @ModelName@;
Expand All @@ -42,8 +42,6 @@ class StandardModel;
template <class T>
class @ModelName@_standard_model_initial_guesser;

class Two_scale;

/**
* @class @ModelName@_standard_model_initial_guesser<Two_scale>
* @brief initial guesser for the @ModelName@ tower
Expand All @@ -54,7 +52,7 @@ class @ModelName@_standard_model_initial_guesser<Two_scale> : public Initial_gue
public:
@ModelName@_standard_model_initial_guesser(@ModelName@<Two_scale>*,
standard_model::StandardModel<Two_scale>*,
const QedQcd&,
const softsusy::QedQcd&,
const standard_model::Standard_model_low_scale_constraint<Two_scale>&,
const @ModelName@_susy_scale_constraint<Two_scale>&);
virtual ~@ModelName@_standard_model_initial_guesser();
Expand All @@ -65,7 +63,7 @@ public:
private:
@ModelName@<Two_scale>* model; ///< pointer to model class
standard_model::StandardModel<Two_scale>* eft; ///< pointer to effective model class
QedQcd oneset; ///< Standard Model low-energy data
softsusy::QedQcd oneset; ///< Standard Model low-energy data
double mu_guess; ///< guessed DR-bar mass of up-quark
double mc_guess; ///< guessed DR-bar mass of charm-quark
double mt_guess; ///< guessed DR-bar mass of top-quark
Expand Down

0 comments on commit 4ed07e0

Please sign in to comment.