#include <ReweightUserHooks.h>
|
virtual double | biasSelectionBy (const Pythia8::SigmaProcess *sigmaProcessPtr, const Pythia8::PhaseSpace *phaseSpacePtr, bool inEvent) |
|
virtual bool | canBiasSelection () |
|
| RapReweightUserHook (const std::string &_yLabsigma_func, double _yLab_power, const std::string &_yCMsigma_func, double _yCM_power, double _pTHatMin, double _pTHatMax) |
|
virtual | ~RapReweightUserHook () |
|
Definition at line 62 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 |
virtual RapReweightUserHook::~RapReweightUserHook |
( |
| ) |
|
|
inlinevirtual |
virtual double RapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlinevirtual |
Definition at line 80 of file ReweightUserHooks.h.
References JetChargeProducer_cfi::exp, cmsBatch::log, and funct::pow().
84 if ((sigmaProcessPtr->nFinal() == 2)) {
85 double x1 = phaseSpacePtr->x1();
86 double x2 = phaseSpacePtr->x2();
87 double yLab = 0.5*
log(x1/x2);
88 double yCM = 0.5*
log( phaseSpacePtr->tHat() / phaseSpacePtr->uHat() );
89 double pTHat = phaseSpacePtr->pTHat();
91 double sigmaCM =
yCMsigma.Eval(pTHat);
Power< A, B >::type pow(const A &a, const B &b)
virtual bool RapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlinevirtual |
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 |