gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
slhaea_spec_helpers.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
24 
25 #ifndef __slha_spec_helpers_hpp__
26 #define __slha_spec_helpers_hpp__
27 
33 
34 #include "SLHAea/slhaea.h"
35 
36 #include <boost/serialization/strong_typedef.hpp>
37 
38 namespace Gambit
39 {
41  class SubSpectrum;
42 
44  void SLHAea_add_from_subspec(SLHAstruct& slha /*modify*/, const str local_info, const SubSpectrum& subspec,
45  const Par::Tags partype, const std::pair<int, int>& pdg_pair, const str& block, const str& comment,
46  const bool error_if_missing = true, const double rescale = 1.0);
47 
49  void SLHAea_add_from_subspec(SLHAstruct& slha /*modify*/, const str local_info, const SubSpectrum& subspec,
50  const Par::Tags partype, const str& name, const str& block, const int slha_index,
51  const str& comment, const bool error_if_missing = true, const double rescale = 1.0);
52 
54  void SLHAea_add_from_subspec(SLHAstruct& slha /*modify*/, const str local_info, const SubSpectrum& subspec,
55  const Par::Tags partype, const str& name, const int index1, const int index2, const str& block,
56  const int slha_index1, const int slha_index2, const str& comment, const bool error_if_missing = true, const double rescale = 1.0);
57 
59  void add_SimpleSpec_to_SLHAea(const SubSpectrum&, SLHAstruct&, const SubSpectrumContents&);
60 
61 }
62 
63 #endif //defined __slhaea_spec_helpers_hpp__
64 
65 
66 
General small utility classes, typedefs, etc.
void add_SimpleSpec_to_SLHAea(const SubSpectrum &, SLHAstruct &, const SubSpectrumContents &)
Write a SimpleSpectrum to an SLHAea object.
SLHAea::Coll SLHAstruct
Less confusing name for SLHAea container class.
Nicer alias for SLHAea container class, and some convenient helper functions that add or retrieve the...
std::string str
Shorthand for a standard string.
Definition: Analysis.hpp:35
Base class for definining the required contents of SubSpectrum wrapper objects.
Exception objects required for standalone compilation.
Helpers for using the spectrum and subspectrum classes.
void SLHAea_add_from_subspec(SLHAstruct &slha, const str local_info, const SubSpectrum &subspec, const Par::Tags partype, const std::pair< int, int > &pdg_pair, const str &block, const str &comment, const bool error_if_missing=true, const double rescale=1.0)
Add an entry from a subspectrum getter to an SLHAea object; SLHA index given by pdg code...
TODO: see if we can use this one:
Definition: Analysis.hpp:33