gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
Gambit::SpectrumParameter Class Reference

Simple class to contain information defining how some parameter in a SubSpectrum object can be accessed. More...

#include <subspectrum_contents.hpp>

Collaboration diagram for Gambit::SpectrumParameter:

Public Member Functions

 SpectrumParameter (const Par::Tags tag, const std::string label, const std::vector< int > shape)
 
Par::Tags tag () const
 
std::string name () const
 
std::vector< intshape () const
 

Private Attributes

const Par::Tags my_tag
 
const std::string my_name
 
const std::vector< intmy_shape
 

Detailed Description

Simple class to contain information defining how some parameter in a SubSpectrum object can be accessed.

Definition at line 30 of file subspectrum_contents.hpp.

Constructor & Destructor Documentation

◆ SpectrumParameter()

Gambit::SpectrumParameter::SpectrumParameter ( const Par::Tags  tag,
const std::string  label,
const std::vector< int shape 
)
inline

Definition at line 38 of file subspectrum_contents.hpp.

39  : my_tag(tag)
40  , my_name(label)
41  , my_shape(shape)
42  {}
const std::vector< int > my_shape

Member Function Documentation

◆ name()

std::string Gambit::SpectrumParameter::name ( ) const
inline

Definition at line 45 of file subspectrum_contents.hpp.

References my_name.

45 { return my_name; }

◆ shape()

std::vector<int> Gambit::SpectrumParameter::shape ( ) const
inline

Definition at line 46 of file subspectrum_contents.hpp.

References my_shape.

Referenced by Gambit::SubSpectrumContents::getName().

46 { return my_shape; }
const std::vector< int > my_shape
Here is the caller graph for this function:

◆ tag()

Par::Tags Gambit::SpectrumParameter::tag ( ) const
inline

Definition at line 44 of file subspectrum_contents.hpp.

References my_tag.

44 { return my_tag; }

Member Data Documentation

◆ my_name

const std::string Gambit::SpectrumParameter::my_name
private

Definition at line 34 of file subspectrum_contents.hpp.

Referenced by Gambit::SubSpectrumContents::getName(), and name().

◆ my_shape

const std::vector<int> Gambit::SpectrumParameter::my_shape
private

Definition at line 35 of file subspectrum_contents.hpp.

Referenced by shape().

◆ my_tag

const Par::Tags Gambit::SpectrumParameter::my_tag
private

Definition at line 33 of file subspectrum_contents.hpp.

Referenced by tag().


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