#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 58 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 76 of file ReweightUserHooks.h.
References JetChargeProducer_cfi::exp, cmsBatch::log, and funct::pow().
80 if ((sigmaProcessPtr->nFinal() == 2)) {
81 double x1 = phaseSpacePtr->x1();
82 double x2 = phaseSpacePtr->x2();
83 double yLab = 0.5*
log(x1/x2);
84 double yCM = 0.5*
log( phaseSpacePtr->tHat() / phaseSpacePtr->uHat() );
85 double pTHat = phaseSpacePtr->pTHat();
87 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 |