a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
OutputSLHAfromFH Class Reference

A class for outputting SUSY parameters to an SLHA file. More...

#include <OutputSLHAfromFH.h>

+ Inheritance diagram for OutputSLHAfromFH:

Detailed Description

A class for outputting SUSY parameters to an SLHA file.

Author
HEPfit Collaboration

Definition at line 24 of file OutputSLHAfromFH.h.

Public Member Functions

double computeThValue ()
 
 OutputSLHAfromFH (const StandardModel &SM_i)
 
- Public Member Functions inherited from ThObservable
double getBinMax ()
 A get method to get the maximum value of the bin. More...
 
double getBinMin ()
 A get method to get the minimum value of the bin. More...
 
const StandardModelgetModel ()
 A get method to get the model. More...
 
const std::vector< std::string > getParametersForObservable ()
 A get method to get the parameters for the specific observable. More...
 
void setBinMax (double max)
 A set method to set the maximum value of the bin. More...
 
void setBinMin (double min)
 A set method to set the minimum value of the bin. More...
 
void setParametersForObservable (std::vector< std::string > parametersForObservable_i)
 A set method to get the parameters for the specific observable. More...
 
 ThObservable (const StandardModel &SM_i)
 Constructor. More...
 
 ThObservable (const ThObservable &orig)
 The copy constructor. More...
 
virtual ~ThObservable ()
 The default destructor. More...
 

Private Attributes

const SUSYmySUSY
 
bool output
 

Additional Inherited Members

- Protected Attributes inherited from ThObservable
double max
 the bin maximum. More...
 
double min
 The bin minimum. More...
 
std::vector< std::string > parametersForObservable
 a vector of parameter namesfor the specific observable More...
 
const StandardModelSM
 A reference to an object of StandardMode class. More...
 

Constructor & Destructor Documentation

◆ OutputSLHAfromFH()

OutputSLHAfromFH::OutputSLHAfromFH ( const StandardModel SM_i)
inline

Definition at line 27 of file OutputSLHAfromFH.h.

28 : ThObservable(SM_i), output(true), mySUSY(static_cast<const SUSY*> (&SM_i))
29 {
30 if (mySUSY->isModelSUSY() == false)
31 throw std::runtime_error("\nERROR: The SUSY mass spectrum can only be computed in a SUSY model. Please check your observables list.\n");
32 };
bool isModelSUSY() const
Definition: Model.h:182
const SUSY * mySUSY
A base class for SUSY models.
Definition: SUSY.h:33
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:32

Member Function Documentation

◆ computeThValue()

double OutputSLHAfromFH::computeThValue ( )
inlinevirtual

Implements ThObservable.

Definition at line 34 of file OutputSLHAfromFH.h.

35 {
36 if (output) {
37 output = false;
38 (mySUSY->getMyFH()->OutputSLHA("output.slha"));
39 }
40
41 return 0.0;
42 };
FeynHiggsWrapper * getMyFH() const
Definition: SUSY.h:67

Member Data Documentation

◆ mySUSY

const SUSY* OutputSLHAfromFH::mySUSY
private

Definition at line 46 of file OutputSLHAfromFH.h.

◆ output

bool OutputSLHAfromFH::output
private

Definition at line 45 of file OutputSLHAfromFH.h.


The documentation for this class was generated from the following file: