69 #include <momemta/ParameterSet.h> 70 #include <momemta/Module.h> 79 double mass = parameters.get<
double>(
"mass");
80 double width = parameters.get<
double>(
"width");
83 if(parameters.get<
bool>(
"propagator_in_me",
true))
84 *jacobian *= mass*width;
86 *jacobian /= mass*width;
93 std::shared_ptr<double> s = produce<double>(
"s");
94 std::shared_ptr<double> jacobian = produce<double>(
"jacobian");
101 .Attr(
"width:double")
102 .Attr(
"propagator_in_me:bool=true");
Use the Narrow Width Approximation (NWA) to reduce the dimensionality of the integration.
Parent class for all the modules.
A class encapsulating a lua table.
Module(PoolPtr pool, const std::string &name)
Constructor.