#include <ReweightUserHooks.h>
Definition at line 67 of file ReweightUserHooks.h.
RapReweightUserHook::RapReweightUserHook |
( |
const std::string & |
_yLabsigma_func, |
|
|
double |
_yLab_power, |
|
|
const std::string & |
_yCMsigma_func, |
|
|
double |
_yCM_power, |
|
|
double |
_pTHatMin, |
|
|
double |
_pTHatMax |
|
) |
| |
|
inline |
RapReweightUserHook::~RapReweightUserHook |
( |
| ) |
|
|
inlineoverride |
double RapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 89 of file ReweightUserHooks.h.
References funct::exp(), log, funct::pow(), yCM_power, yCMsigma, yLab_power, and yLabsigma.
93 if ((sigmaProcessPtr->nFinal() == 2)) {
94 double x1 = phaseSpacePtr->x1();
95 double x2 = phaseSpacePtr->x2();
96 double yLab = 0.5 *
log(x1 / x2);
97 double yCM = 0.5 *
log(phaseSpacePtr->tHat() / phaseSpacePtr->uHat());
98 double pTHat = phaseSpacePtr->pTHat();
100 double sigmaCM =
yCMsigma.Eval(pTHat);
static std::vector< std::string > checklist log
Exp< T >::type exp(const T &t)
Power< A, B >::type pow(const A &a, const B &b)
bool RapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
double RapReweightUserHook::pTHatMax |
|
private |
double RapReweightUserHook::pTHatMin |
|
private |
double RapReweightUserHook::yCM_power |
|
private |
TF1 RapReweightUserHook::yCMsigma |
|
private |
std::string RapReweightUserHook::yCMsigma_func |
|
private |
double RapReweightUserHook::yLab_power |
|
private |
TF1 RapReweightUserHook::yLabsigma |
|
private |
std::string RapReweightUserHook::yLabsigma_func |
|
private |