#include <ReweightUserHooks.h>
|
virtual double | biasSelectionBy (const Pythia8::SigmaProcess *sigmaProcessPtr, const Pythia8::PhaseSpace *phaseSpacePtr, bool inEvent) |
|
virtual bool | canBiasSelection () |
|
| PtHatRapReweightUserHook (const std::string &_yLabsigma_func, double _yLab_power, const std::string &_yCMsigma_func, double _yCM_power, double _pTHatMin, double _pTHatMax, double _pt=15, double _power=4.5) |
|
virtual | ~PtHatRapReweightUserHook () |
|
Definition at line 76 of file ReweightUserHooks.h.
PtHatRapReweightUserHook::PtHatRapReweightUserHook |
( |
const std::string & |
_yLabsigma_func, |
|
|
double |
_yLab_power, |
|
|
const std::string & |
_yCMsigma_func, |
|
|
double |
_yCM_power, |
|
|
double |
_pTHatMin, |
|
|
double |
_pTHatMax, |
|
|
double |
_pt = 15 , |
|
|
double |
_power = 4.5 |
|
) |
| |
|
inline |
virtual PtHatRapReweightUserHook::~PtHatRapReweightUserHook |
( |
| ) |
|
|
inlinevirtual |
virtual double PtHatRapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlinevirtual |
Definition at line 95 of file ReweightUserHooks.h.
References create_public_lumi_plots::exp, log, funct::pow(), power, pt, yCM_power, yCMsigma, yLab_power, and yLabsigma.
99 if ((sigmaProcessPtr->nFinal() == 2)) {
100 double x1 = phaseSpacePtr->x1();
101 double x2 = phaseSpacePtr->x2();
102 double yLab = 0.5*
log(x1/x2);
103 double yCM = 0.5*
log( phaseSpacePtr->tHat() / phaseSpacePtr->uHat() );
104 double pTHat = phaseSpacePtr->pTHat();
106 double sigmaCM =
yCMsigma.Eval(pTHat);
static std::vector< std::string > checklist log
Power< A, B >::type pow(const A &a, const B &b)
virtual bool PtHatRapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlinevirtual |
double PtHatRapReweightUserHook::power |
|
private |
double PtHatRapReweightUserHook::pt |
|
private |
double PtHatRapReweightUserHook::pTHatMax |
|
private |
double PtHatRapReweightUserHook::pTHatMin |
|
private |
double PtHatRapReweightUserHook::yCM_power |
|
private |
TF1 PtHatRapReweightUserHook::yCMsigma |
|
private |
std::string PtHatRapReweightUserHook::yCMsigma_func |
|
private |
double PtHatRapReweightUserHook::yLab_power |
|
private |
TF1 PtHatRapReweightUserHook::yLabsigma |
|
private |
std::string PtHatRapReweightUserHook::yLabsigma_func |
|
private |