gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
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, const std::string blockname, const int blockindex)
 
Par::Tags tag () const
 
std::string name () const
 
std::vector< intshape () const
 
std::string blockname () const
 
int blockindex () const
 

Private Attributes

const Par::Tags my_tag
 
const std::string my_name
 
const std::vector< intmy_shape
 
const std::string my_blockname
 
const int my_blockname_index
 

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,
const std::string  blockname,
const int  blockindex 
)
inline

Definition at line 41 of file subspectrum_contents.hpp.

Member Function Documentation

◆ blockindex()

int Gambit::SpectrumParameter::blockindex ( ) const
inline

Definition at line 54 of file subspectrum_contents.hpp.

References my_blockname_index.

◆ blockname()

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

Definition at line 53 of file subspectrum_contents.hpp.

References my_blockname.

53 { return my_blockname; }

◆ name()

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

Definition at line 50 of file subspectrum_contents.hpp.

References my_name.

50 { return my_name; }

◆ shape()

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

Definition at line 51 of file subspectrum_contents.hpp.

References my_shape.

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

51 { 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 49 of file subspectrum_contents.hpp.

References my_tag.

49 { return my_tag; }

Member Data Documentation

◆ my_blockname

const std::string Gambit::SpectrumParameter::my_blockname
private

Definition at line 37 of file subspectrum_contents.hpp.

Referenced by blockname().

◆ my_blockname_index

const int Gambit::SpectrumParameter::my_blockname_index
private

Definition at line 38 of file subspectrum_contents.hpp.

Referenced by blockindex().

◆ 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: