#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.
References dqm-mbProfile::log, p, conifer::pow(), sigma, and x.
30 if (tuneName ==
"CP5" || tuneName ==
"CP5Run3")
31 p = {7377.94700788, 8.38168461349, -4.70983112392, -0.0310148108446, -0.028798537937, 925.335472326};
34 p = {5.3571961909810e+13,
40 const double ecms = (tuneName ==
"CP5Run3" ? 13600. : 13000.);
41 sigma = [
this, ecms](
double x) ->
double {
43 pow(1 - 2 *
x / (ecms +
p[5]),
p[1])) *
std::function< double(double)> sigma
◆ ~PtHatEmpReweightUserHook()
PtHatEmpReweightUserHook::~PtHatEmpReweightUserHook |
( |
| ) |
|
|
inlineoverride |
◆ biasSelectionBy()
double PtHatEmpReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 51 of file ReweightUserHooks.h.
References sigma.
55 if ((sigmaProcessPtr->nFinal() == 2)) {
56 selBias = 1.0 /
sigma(phaseSpacePtr->pTHat());
std::function< double(double)> sigma
◆ canBiasSelection()
bool PtHatEmpReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
std::vector<double> PtHatEmpReweightUserHook::p |
|
private |
◆ sigma
std::function<double(double)> PtHatEmpReweightUserHook::sigma |
|
private |