#include <ReweightUserHooks.h>
|
double | biasSelectionBy (const Pythia8::SigmaProcess *sigmaProcessPtr, const Pythia8::PhaseSpace *phaseSpacePtr, bool inEvent) override |
|
bool | canBiasSelection () override |
|
| RapReweightUserHook (const std::string &_yLabsigma_func, double _yLab_power, const std::string &_yCMsigma_func, double _yCM_power, double _pTHatMin, double _pTHatMax) |
|
| ~RapReweightUserHook () override |
|
Definition at line 67 of file ReweightUserHooks.h.
◆ RapReweightUserHook()
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::~RapReweightUserHook |
( |
| ) |
|
|
inlineoverride |
◆ biasSelectionBy()
double RapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 89 of file ReweightUserHooks.h.
References JetChargeProducer_cfi::exp, dqm-mbProfile::log, funct::pow(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, 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);
Power< A, B >::type pow(const A &a, const B &b)
◆ canBiasSelection()
bool RapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
◆ pTHatMax
double RapReweightUserHook::pTHatMax |
|
private |
◆ pTHatMin
double RapReweightUserHook::pTHatMin |
|
private |
◆ yCM_power
double RapReweightUserHook::yCM_power |
|
private |
◆ yCMsigma
TF1 RapReweightUserHook::yCMsigma |
|
private |
◆ yCMsigma_func
std::string RapReweightUserHook::yCMsigma_func |
|
private |
◆ yLab_power
double RapReweightUserHook::yLab_power |
|
private |
◆ yLabsigma
TF1 RapReweightUserHook::yLabsigma |
|
private |
◆ yLabsigma_func
std::string RapReweightUserHook::yLabsigma_func |
|
private |