#include <ReweightUserHooks.h>
|
std::vector< double > | p |
|
std::function< double(double)> | sigma |
|
Definition at line 27 of file ReweightUserHooks.h.
◆ PtHatEmpReweightUserHook()
PtHatEmpReweightUserHook::PtHatEmpReweightUserHook |
( |
const std::string & |
tuneName = "" | ) |
|
|
inline |
Definition at line 29 of file ReweightUserHooks.h.
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])) *
References dqm-mbProfile::log, p, funct::pow(), sigma, and x.
◆ ~PtHatEmpReweightUserHook()
PtHatEmpReweightUserHook::~PtHatEmpReweightUserHook |
( |
| ) |
|
|
inlineoverride |
◆ biasSelectionBy()
double PtHatEmpReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 50 of file ReweightUserHooks.h.
54 if ((sigmaProcessPtr->nFinal() == 2)) {
55 selBias = 1.0 /
sigma(phaseSpacePtr->pTHat());
References sigma.
◆ canBiasSelection()
bool PtHatEmpReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
std::vector<double> PtHatEmpReweightUserHook::p |
|
private |
◆ sigma
std::function<double(double)> PtHatEmpReweightUserHook::sigma |
|
private |