#include <ReweightUserHooks.h>
|
std::vector< double > | p |
|
std::function< double(double)> | sigma |
|
Definition at line 27 of file ReweightUserHooks.h.
PtHatEmpReweightUserHook::PtHatEmpReweightUserHook |
( |
const std::string & |
tuneName = "" | ) |
|
|
inline |
Definition at line 29 of file ReweightUserHooks.h.
References log, p, funct::pow(), sigma, and x.
30 if (tuneName ==
"CP5")
31 p = {7377.94700788, 8.38168461349, -4.70983112392, -0.0310148108446, -0.028798537937, 925.335472326};
34 p = {5.3571961909810e+13,
40 sigma = [
this](
double x) ->
double {
42 pow(1 - 2 *
x / (13000. +
p[5]),
p[1])) *
static std::vector< std::string > checklist log
std::function< double(double)> sigma
Power< A, B >::type pow(const A &a, const B &b)
PtHatEmpReweightUserHook::~PtHatEmpReweightUserHook |
( |
| ) |
|
|
inlineoverride |
double PtHatEmpReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 50 of file ReweightUserHooks.h.
References sigma.
54 if ((sigmaProcessPtr->nFinal() == 2)) {
55 selBias = 1.0 /
sigma(phaseSpacePtr->pTHat());
std::function< double(double)> sigma
bool PtHatEmpReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
std::vector<double> PtHatEmpReweightUserHook::p |
|
private |
std::function<double(double)> PtHatEmpReweightUserHook::sigma |
|
private |