17static ResonanceBackgroundRegion1d *resonanceBackground1dParse( Construction::Settings
const &a_construction, HAPI::Node
const &a_node, SetupInfo &a_setupInfo, Suite *a_parent );
37 std::string name( child.name( ) );
39 if( name ==
"resonanceRegion" ) {
40 m_resonances = a_node.attribute_as_string(
"href" ); }
71 std::string attributes;
78 m_background.toXMLList_func( a_writeInfo, indent2,
false,
false );
97 m_resolvedRegion( resonanceBackground1dParse( a_construction, a_node.child(
GIDI_resolvedRegionChars ), a_setupInfo, nullptr ) ),
98 m_unresolvedRegion( resonanceBackground1dParse( a_construction, a_node.child(
GIDI_unresolvedRegionChars ), a_setupInfo, nullptr ) ),
99 m_fastRegion( resonanceBackground1dParse( a_construction, a_node.child(
GIDI_fastRegionChars ), a_setupInfo, nullptr ) ) {
108 delete m_resolvedRegion;
109 delete m_unresolvedRegion;
121 throw Exception(
"ResonanceBackground1d::domainMin: not implemented" );
132 throw Exception(
"ResonanceBackground1d::domainMax: not implemented" );
145 throw Exception(
"ResonanceBackground1d::evaluate: not implemented" );
163 m_resolvedRegion->toXMLList_func( a_writeInfo, indent2,
false,
false );
164 m_unresolvedRegion->toXMLList_func( a_writeInfo, indent2,
false,
false );
165 m_fastRegion->toXMLList_func( a_writeInfo, indent2,
false,
false );
184 m_function1d(
data1dParse( a_construction, a_node.first_child( ), a_setupInfo, nullptr ) ) {
204 throw Exception(
"ResonanceBackgroundRegion1d::domainMin: not implemented" );
215 throw Exception(
"ResonanceBackgroundRegion1d::domainMax: not implemented" );
228 throw Exception(
"ResonanceBackgroundRegion1d::evaluate: not implemented" );
246 if( m_function1d !=
nullptr ) m_function1d->toXMLList_func( a_writeInfo, indent2,
false,
false );
265 std::string name( a_node.
name( ) );
267 if( name ==
"" )
return(
nullptr );
#define GIDI_resonanceBackground1dChars
#define GIDI_resolvedRegionChars
#define GIDI_fastRegionChars
#define GIDI_unresolvedRegionChars
#define GIDI_resonancesChars
double evaluate(double a_x1) const
ResonanceBackground1d(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *a_parent)
void toXMLList_func(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, bool a_embedded, bool a_inRegions) const
double evaluate(double a_x1) const
void toXMLList_func(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, bool a_embedded, bool a_inRegions) const
ResonanceBackgroundRegion1d(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *a_parent)
~ResonanceBackgroundRegion1d()
ResonancesWithBackground1d(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *a_parent)
void toXMLList_func(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent, bool a_embedded, bool a_inRegions) const
~ResonancesWithBackground1d()
std::string const & moniker() const
void addNodeEnder(std::string const &a_moniker)
std::string incrementalIndent(std::string const &indent)
void addNodeStarter(std::string const &indent, std::string const &a_moniker, std::string const &a_attributes="")
std::string addAttribute(std::string const &a_name, std::string const &a_value) const
Functions::Function1dForm * data1dParse(Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, Suite *parent)
@ resonancesWithBackground1d
@ resonanceBackgroundRegion1d